HomeSort by: relevance | last modified time | path
    Searched refs:pub_key2 (Results 1 - 6 of 6) sorted by relevancy

  /src/crypto/external/apache2/openssl/dist/crypto/dsa/
dsa_key.c 81 BIGNUM *pub_key2 = BN_new(); local
83 if (pub_key2 == NULL)
93 if (!ossl_dsa_generate_public_key(ctx, dsa, dsa->priv_key, pub_key2))
96 if (BN_num_bytes(pub_key2) > (int)sizeof(bytes))
98 len = BN_bn2bin(pub_key2, bytes);
100 if (BN_bin2bn(bytes, len, pub_key2) != NULL)
101 ret = !BN_cmp(dsa->pub_key, pub_key2);
106 BN_free(pub_key2);
  /src/crypto/external/apache2/openssl/dist/crypto/ec/
ec_key.c 258 EC_POINT *pub_key2 = NULL; local
267 if ((pub_key2 = EC_POINT_new(eckey->group)) == NULL)
271 if (!EC_POINT_mul(eckey->group, pub_key2, eckey->priv_key, NULL, NULL, ctx))
274 if (BN_num_bytes(pub_key2->X) > (int)sizeof(bytes))
276 len = BN_bn2bin(pub_key2->X, bytes);
278 && BN_bin2bn(bytes, len, pub_key2->X) == NULL)
280 ret = !EC_POINT_cmp(eckey->group, eckey->pub_key, pub_key2, ctx);
285 EC_POINT_free(pub_key2);
  /src/crypto/external/bsd/openssl.old/dist/test/
dhtest.c 34 const BIGNUM *pub_key2, *priv_key2; local
96 DH_get0_key(dh, &pub_key2, &priv_key2);
97 if (!TEST_ptr_eq(pub_key2, NULL)
102 if (!TEST_ptr_eq(DH_get0_pub_key(dh), pub_key2)
113 DH_get0_key(dh, &pub_key2, &priv_key2);
114 if (!TEST_ptr(pub_key2)
119 if (!TEST_ptr_eq(DH_get0_pub_key(dh), pub_key2)
124 TEST_uint_eq(BN_get_word(pub_key2), 3331L);
  /src/external/mpl/dhcp/bind/dist/lib/dns/
openssldh_link.c 190 const BIGNUM *pub_key1 = NULL, *pub_key2 = NULL; local
204 DH_get0_key(dh2, &pub_key2, &priv_key2);
209 BN_cmp(pub_key1, pub_key2) != 0)
  /src/crypto/external/apache2/openssl/dist/test/
dhtest.c 43 const BIGNUM *pub_key2, *priv_key2; local
110 DH_get0_key(dh, &pub_key2, &priv_key2);
111 if (!TEST_ptr_eq(pub_key2, NULL)
116 if (!TEST_ptr_eq(DH_get0_pub_key(dh), pub_key2)
  /src/crypto/external/bsd/openssl/dist/test/
dhtest.c 43 const BIGNUM *pub_key2, *priv_key2; local
110 DH_get0_key(dh, &pub_key2, &priv_key2);
111 if (!TEST_ptr_eq(pub_key2, NULL)
116 if (!TEST_ptr_eq(DH_get0_pub_key(dh), pub_key2)

Completed in 34 milliseconds