Lines Matching defs:privkey
101 opensslecdsa_generate_public_key(const EC_GROUP *group, const BIGNUM *privkey) {
106 if (EC_POINT_mul(group, pubkey, privkey, NULL, NULL, NULL) != 1) {
287 BIGNUM *privkey = NULL;
300 privkey = BN_bin2bn(key, key_len, NULL);
301 if (privkey == NULL) {
304 if (!EC_KEY_set_private_key(eckey, privkey)) {
308 pubkey = opensslecdsa_generate_public_key(group, privkey);
340 BN_clear_free(privkey);
630 const BIGNUM *privkey = NULL;
638 privkey = EC_KEY_get0_private_key(eckey);
639 if (privkey == NULL) {
644 BN_bn2bin_fixed(privkey, buf, buflen);