Lines Matching defs:public_key
54 EC_POINT *public_key = NULL;
69 public_key = EC_POINT_new(group);
70 if (public_key == NULL ||
71 !EC_POINT_mul(group, public_key, private_key, NULL, NULL, bn_ctx)) {
77 group, public_key, POINT_CONVERSION_UNCOMPRESSED, NULL, 0, bn_ctx);
81 EC_POINT_point2oct(group, public_key, POINT_CONVERSION_UNCOMPRESSED, ptr,
90 EC_POINT_free(public_key);
178 uint8_t public_key[32];
179 X25519_keypair(public_key, (uint8_t *)ctx->data);
180 return CBB_add_bytes(out, public_key, sizeof(public_key));