/external/boringssl/src/crypto/ec/ |
ec_test.cc | 110 const EC_POINT *pub_key = EC_KEY_get0_public_key(key.get()); local 111 if (pub_key == NULL) { 122 pub_key, x.get(), y.get(), NULL)) {
|
ec_key.c | 158 EC_POINT_free(r->pub_key); 183 if (src->pub_key && src->group) { 184 EC_POINT_free(dest->pub_key); 185 dest->pub_key = EC_POINT_dup(src->pub_key, src->group); 186 if (dest->pub_key == NULL) { 266 return key->pub_key; 269 int EC_KEY_set_public_key(EC_KEY *key, const EC_POINT *pub_key) { 270 EC_POINT_free(key->pub_key); 271 key->pub_key = EC_POINT_dup(pub_key, key->group) 422 EC_POINT *pub_key = NULL; local [all...] |
internal.h | 329 EC_POINT *pub_key; member in struct:ec_key_st
|
/external/boringssl/src/crypto/dh/ |
dh_impl.c | 184 BIGNUM *pub_key = NULL, *priv_key = NULL; local 202 if (dh->pub_key == NULL) { 203 pub_key = BN_new(); 204 if (pub_key == NULL) { 208 pub_key = dh->pub_key; 235 if (!BN_mod_exp_mont(pub_key, dh->g, &local_priv, dh->p, ctx, mont)) { 239 dh->pub_key = pub_key; 248 if (dh->pub_key == NULL) [all...] |
/external/boringssl/src/crypto/ecdsa/ |
ecdsa.c | 145 const EC_POINT *pub_key; local 154 (pub_key = EC_KEY_get0_public_key(eckey)) == NULL || 212 if (!EC_POINT_mul(group, point, u1, pub_key, u2, ctx)) {
|
/external/boringssl/src/include/openssl/ |
dsa.h | 347 BIGNUM *pub_key; /* y public key */ member in struct:dsa_st
|
dh.h | 166 /* DH_check_pub_key checks the suitability of |pub_key| as a public key for the 170 OPENSSL_EXPORT int DH_check_pub_key(const DH *dh, const BIGNUM *pub_key, 230 int (*compute_key)(DH *dh, uint8_t *out, const BIGNUM *pub_key); 238 BIGNUM *pub_key; /* g^x */ member in struct:dh_st
|
/external/boringssl/src/crypto/dsa/ |
dsa_impl.c | 366 if (!BN_mod_exp2_mont(&t1, dsa->g, &u1, dsa->pub_key, &u2, dsa->p, ctx, 397 BIGNUM *pub_key = NULL, *priv_key = NULL; local 419 pub_key = dsa->pub_key; 420 if (pub_key == NULL) { 421 pub_key = BN_new(); 422 if (pub_key == NULL) { 430 if (!BN_mod_exp(pub_key, dsa->g, &prk, dsa->p, ctx)) { 435 dsa->pub_key = pub_key; [all...] |
/external/boringssl/src/crypto/evp/ |
p_dsa_asn1.c | 114 dsa->pub_key = ASN1_INTEGER_to_BN(public_key, NULL); 115 if (dsa->pub_key == NULL) { 192 * SEQUENCE {pub_key, priv_key}. */ 243 dsa->pub_key = BN_new(); 244 if (dsa->pub_key == NULL) { 254 if (!BN_mod_exp(dsa->pub_key, dsa->g, dsa->priv_key, dsa->p, ctx)) { 374 return BN_cmp(b->pkey.dsa->pub_key, a->pkey.dsa->pub_key) == 0; 397 const BIGNUM *priv_key, *pub_key; local 404 pub_key = NULL [all...] |
p_ec_asn1.c | 243 EC_POINT *pub_key; local 247 pub_key = EC_POINT_new(group); 248 if (pub_key == NULL) { 252 if (!EC_POINT_copy(pub_key, EC_GROUP_get0_generator(group))) { 253 EC_POINT_free(pub_key); 258 if (!EC_POINT_mul(group, pub_key, priv_key, NULL, NULL, NULL)) { 259 EC_POINT_free(pub_key); 263 if (EC_KEY_set_public_key(eckey, pub_key) == 0) { 264 EC_POINT_free(pub_key); 268 EC_POINT_free(pub_key); [all...] |
/external/wpa_supplicant_8/src/crypto/ |
crypto_openssl.c | 554 publen = BN_num_bytes(dh->pub_key); 563 BN_bn2bin(dh->pub_key, wpabuf_put(pubkey, publen)); 598 dh->pub_key = BN_bin2bn(wpabuf_head(publ), wpabuf_len(publ), NULL); 599 if (dh->pub_key == NULL) 616 BIGNUM *pub_key; local 625 pub_key = BN_bin2bn(wpabuf_head(peer_public), wpabuf_len(peer_public), 627 if (pub_key == NULL) 635 keylen = DH_compute_key(wpabuf_mhead(res), pub_key, dh); 639 BN_clear_free(pub_key); 644 BN_clear_free(pub_key); [all...] |
/external/conscrypt/src/main/native/ |
org_conscrypt_NativeCrypto.cpp | 3486 jbyteArray pub_key = bignumToArray(env, dh->pub_key, "pub_key"); local [all...] |
/prebuilts/sdk/tools/lib/ |
signapk.jar | |