Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for _goboringcrypto_EC_POINT_oct2point (0.36 sec)

  1. src/crypto/internal/boring/ecdh.go

    	}
    	defer C._goboringcrypto_EC_GROUP_free(group)
    	key := C._goboringcrypto_EC_POINT_new(group)
    	if key == nil {
    		return nil, fail("EC_POINT_new")
    	}
    	ok := C._goboringcrypto_EC_POINT_oct2point(group, key, (*C.uint8_t)(unsafe.Pointer(&bytes[0])), C.size_t(len(bytes)), nil) != 0
    	if !ok {
    		C._goboringcrypto_EC_POINT_free(key)
    		return nil, errors.New("point not on curve")
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 20 17:51:31 UTC 2023
    - 6.2K bytes
    - Viewed (0)
Back to top