1 year ago
#327185
CPPDev
Can anyone explain what are these parameters for this function?
int EC_POINT_set_compressed_coordinates_GFp (const EC_GROUP *group, EC_POINT *p, const BIGNUM *x, int y_bit, BN_CTX *ctx);
I just want to set the randomly generated ECDH public key as the X9.62 compressed coordinate of a point over GFp for group P-256 , assuming 0 as the y-bit.
but that randomly generated ECDH public key is in hex string(already converted to some format to hex string)?
encryption
openssl
cryptography
ecdsa
ecdh
0 Answers
Your Answer