谁能解释一下这个函数的这些参数是什么?
int EC_POINT_set_compressed_coordinates_GFp (const EC_GROUP *group, EC_POINT *p, const BIGNUM *x, int y_bit, BN_CTX *ctx);
我只想将随机生成的 ECDH 公钥设置为 X9.62 压缩的 组 P-256 的 GFp 上的点的坐标,假设 y 位为 0。
但是随机生成的 ECDH 公钥是十六进制字符串(已经转换为某种十六进制字符串格式)?
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)?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论