HomeSort by relevance Sort by last modified time
    Searched defs:pub_key (Results 1 - 15 of 15) sorted by null

  /external/openssl/crypto/dsa/
dsa_key.c 80 BIGNUM *pub_key=NULL,*priv_key=NULL; local
95 if (dsa->pub_key == NULL)
97 if ((pub_key=BN_new()) == NULL) goto err;
100 pub_key=dsa->pub_key;
115 if (!BN_mod_exp(pub_key,dsa->g,prk,dsa->p,ctx)) goto err;
119 dsa->pub_key=pub_key;
123 if ((pub_key != NULL) && (dsa->pub_key == NULL)) BN_free(pub_key)
    [all...]
dsa_ameth.c 119 if (!(dsa->pub_key = ASN1_INTEGER_to_BN(public_key, NULL)))
218 * SEQUENCE {pub_key, priv_key}
266 if (!(dsa->pub_key = BN_new()))
277 if (!BN_mod_exp(dsa->pub_key, dsa->g, dsa->priv_key, dsa->p, ctx))
410 if (BN_cmp(b->pkey.dsa->pub_key,a->pkey.dsa->pub_key) != 0)
437 const BIGNUM *priv_key, *pub_key; local
445 pub_key = x->pub_key;
447 pub_key = NULL
    [all...]
dsa.h 152 BIGNUM *pub_key; /* y public key */ member in struct:dsa_st
  /external/openssl/crypto/dh/
dh_key.c 66 static int compute_key(unsigned char *key, const BIGNUM *pub_key, DH *dh);
79 int DH_compute_key(unsigned char *key, const BIGNUM *pub_key, DH *dh)
81 return dh->meth->compute_key(key, pub_key, dh);
108 BIGNUM *pub_key=NULL,*priv_key=NULL; local
122 if (dh->pub_key == NULL)
124 pub_key=BN_new();
125 if (pub_key == NULL) goto err;
128 pub_key=dh->pub_key;
158 if (!dh->meth->bn_mod_exp(dh, pub_key, dh->g, prk, dh->p, ctx, mont)) goto err
    [all...]
dh_ameth.c 110 if (!(dh->pub_key = ASN1_INTEGER_to_BN(public_key, NULL)))
137 ASN1_INTEGER *pub_key = NULL; local
151 pub_key = BN_to_ASN1_INTEGER(dh->pub_key, NULL);
152 if (!pub_key)
155 penclen = i2d_ASN1_INTEGER(pub_key, &penc);
157 ASN1_INTEGER_free(pub_key);
325 BIGNUM *priv_key, *pub_key; local
333 pub_key = x->pub_key;
    [all...]
dh.h 102 int (*compute_key)(unsigned char *key,const BIGNUM *pub_key,DH *dh);
124 BIGNUM *pub_key; /* g^x */ member in struct:dh_st
195 int DH_check_pub_key(const DH *dh,const BIGNUM *pub_key, int *codes);
197 int DH_compute_key(unsigned char *key,const BIGNUM *pub_key,DH *dh);
  /external/openssl/crypto/ecdsa/
ecs_ossl.c 359 const EC_POINT *pub_key; local
363 (pub_key = EC_KEY_get0_public_key(eckey)) == NULL || sig == NULL)
443 if (!EC_POINT_mul(group, point, u1, pub_key, u2, ctx))
  /external/openssl/crypto/ec/
ec_key.c 82 ret->pub_key = NULL;
126 if (r->pub_key != NULL)
127 EC_POINT_free(r->pub_key);
161 if (src->pub_key && src->group)
163 if (dest->pub_key)
164 EC_POINT_free(dest->pub_key);
165 dest->pub_key = EC_POINT_new(src->group);
166 if (dest->pub_key == NULL)
168 if (!EC_POINT_copy(dest->pub_key, src->pub_key))
238 EC_POINT *pub_key = NULL; local
    [all...]
ec_ameth.c 269 EC_POINT *pub_key; local
273 pub_key = EC_POINT_new(group);
274 if (pub_key == NULL)
279 if (!EC_POINT_copy(pub_key, EC_GROUP_get0_generator(group)))
281 EC_POINT_free(pub_key);
286 if (!EC_POINT_mul(group, pub_key, priv_key, NULL, NULL, NULL))
288 EC_POINT_free(pub_key);
292 if (EC_KEY_set_public_key(eckey, pub_key) == 0)
294 EC_POINT_free(pub_key);
298 EC_POINT_free(pub_key);
433 BIGNUM *pub_key=NULL, *order=NULL; local
    [all...]
ec_lcl.h 240 EC_POINT *pub_key; member in struct:ec_key_st
  /external/chromium/net/socket/
dns_cert_provenance_checker.cc 273 SECKEYPublicKey* pub_key = NULL; local
279 priv_key = SECKEY_CreateECPrivateKey(&ec_der_params, &pub_key, NULL);
322 SECItem* pub_key_serialized = SECKEY_EncodeDERSubjectPublicKeyInfo(pub_key);
330 SECKEY_DestroyPublicKey(pub_key);
  /external/wpa_supplicant_8/src/crypto/
crypto_openssl.c 437 publen = BN_num_bytes(dh->pub_key);
446 BN_bn2bin(dh->pub_key, wpabuf_put(pubkey, publen));
464 BIGNUM *pub_key; local
473 pub_key = BN_bin2bn(wpabuf_head(peer_public), wpabuf_len(peer_public),
475 if (pub_key == NULL)
483 keylen = DH_compute_key(wpabuf_mhead(res), pub_key, dh);
487 BN_free(pub_key);
492 BN_free(pub_key);
  /external/openssl/include/openssl/
dh.h 102 int (*compute_key)(unsigned char *key,const BIGNUM *pub_key,DH *dh);
124 BIGNUM *pub_key; /* g^x */ member in struct:dh_st
195 int DH_check_pub_key(const DH *dh,const BIGNUM *pub_key, int *codes);
197 int DH_compute_key(unsigned char *key,const BIGNUM *pub_key,DH *dh);
dsa.h 152 BIGNUM *pub_key; /* y public key */ member in struct:dsa_st
  /external/openssl/ssl/
s3_clnt.c 2553 EVP_PKEY *pub_key; local
    [all...]

Completed in 273 milliseconds