/third_party/node/deps/openssl/openssl/crypto/ec/ |
H A D | ec_ameth.c | 287 size_t privlen = 0, publen = 0; in do_EC_KEY_print() local 297 publen = EC_KEY_key2buf(x, EC_KEY_get_conv_form(x), &pub, NULL); in do_EC_KEY_print() 298 if (publen == 0) in do_EC_KEY_print() 328 if (publen != 0) { in do_EC_KEY_print() 331 if (ASN1_buf_print(bp, pub, publen, off + 4) == 0) in do_EC_KEY_print()
|
H A D | ec_asn1.c | 1025 size_t privlen = 0, publen = 0; in i2d_ECPrivateKey() local 1068 publen = EC_KEY_key2buf(a, a->conv_form, &pub, NULL); in i2d_ECPrivateKey() 1070 if (publen == 0) { in i2d_ECPrivateKey() 1077 ASN1_STRING_set0(priv_key->publicKey, pub, publen); in i2d_ECPrivateKey()
|
/third_party/openssl/crypto/ec/ |
H A D | ec_ameth.c | 287 size_t privlen = 0, publen = 0; in do_EC_KEY_print() local 297 publen = EC_KEY_key2buf(x, EC_KEY_get_conv_form(x), &pub, NULL); in do_EC_KEY_print() 298 if (publen == 0) in do_EC_KEY_print() 328 if (publen != 0) { in do_EC_KEY_print() 331 if (ASN1_buf_print(bp, pub, publen, off + 4) == 0) in do_EC_KEY_print()
|
H A D | ec_asn1.c | 1025 size_t privlen = 0, publen = 0; in i2d_ECPrivateKey() local 1068 publen = EC_KEY_key2buf(a, a->conv_form, &pub, NULL); in i2d_ECPrivateKey() 1070 if (publen == 0) { in i2d_ECPrivateKey() 1077 ASN1_STRING_set0(priv_key->publicKey, pub, publen); in i2d_ECPrivateKey()
|
/third_party/node/deps/openssl/openssl/crypto/x509/ |
H A D | x_pubkey.c | 135 size_t publen; 154 publen = *in - in_saved; 155 if (!ossl_assert(publen > 0)) { 185 size_t slen = publen; 192 tmpbuf = OPENSSL_memdup(in_saved, publen);
|
/third_party/openssl/crypto/x509/ |
H A D | x_pubkey.c | 135 size_t publen; 154 publen = *in - in_saved; 155 if (!ossl_assert(publen > 0)) { 185 size_t slen = publen; 192 tmpbuf = OPENSSL_memdup(in_saved, publen);
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/ |
H A D | crypto_openssl.c | 754 size_t publen, privlen; in dh5_init() local 779 publen = BN_num_bytes(dh->pub_key); in dh5_init() 780 pubkey = wpabuf_alloc(publen); in dh5_init() 788 BN_bn2bin(dh->pub_key, wpabuf_put(pubkey, publen)); in dh5_init() 803 size_t publen, privlen; in dh5_init() 829 publen = BN_num_bytes(pub_key); in dh5_init() 830 pubkey = wpabuf_alloc(publen); in dh5_init() 838 BN_bn2bin(pub_key, wpabuf_put(pubkey, publen)); in dh5_init()
|
/third_party/mbedtls/programs/test/ |
H A D | benchmark.c | 1194 size_t params_len, publen, seclen; in main() local 1217 CHECK_AND_CONTINUE(mbedtls_ecdh_make_public(&ecdh_cli, &publen, buf_cli, in main() 1245 CHECK_AND_CONTINUE(mbedtls_ecdh_make_public(&ecdh_cli, &publen, buf_cli, in main()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/ |
H A D | crypto_openssl.c | 827 size_t publen, privlen; in dh5_init() local 852 publen = BN_num_bytes(dh->pub_key); in dh5_init() 853 pubkey = wpabuf_alloc(publen); in dh5_init() 861 BN_bn2bin(dh->pub_key, wpabuf_put(pubkey, publen)); in dh5_init() 876 size_t publen, privlen; in dh5_init() 902 publen = BN_num_bytes(pub_key); in dh5_init() 903 pubkey = wpabuf_alloc(publen); in dh5_init() 911 BN_bn2bin(pub_key, wpabuf_put(pubkey, publen)); in dh5_init()
|
/third_party/node/deps/openssl/openssl/crypto/evp/ |
H A D | p_lib.c | 1380 size_t publen) in EVP_PKEY_set1_encoded_public_key() 1388 (unsigned char *)pub, publen); in EVP_PKEY_set1_encoded_public_key() 1390 if (publen > INT_MAX) in EVP_PKEY_set1_encoded_public_key() 1393 if (evp_pkey_asn1_ctrl(pkey, ASN1_PKEY_CTRL_SET1_TLS_ENCPT, publen, in EVP_PKEY_set1_encoded_public_key() 1379 EVP_PKEY_set1_encoded_public_key(EVP_PKEY *pkey, const unsigned char *pub, size_t publen) EVP_PKEY_set1_encoded_public_key() argument
|
/third_party/openssl/crypto/evp/ |
H A D | p_lib.c | 1377 size_t publen) in EVP_PKEY_set1_encoded_public_key() 1385 (unsigned char *)pub, publen); in EVP_PKEY_set1_encoded_public_key() 1387 if (publen > INT_MAX) in EVP_PKEY_set1_encoded_public_key() 1390 if (evp_pkey_asn1_ctrl(pkey, ASN1_PKEY_CTRL_SET1_TLS_ENCPT, publen, in EVP_PKEY_set1_encoded_public_key() 1376 EVP_PKEY_set1_encoded_public_key(EVP_PKEY *pkey, const unsigned char *pub, size_t publen) EVP_PKEY_set1_encoded_public_key() argument
|
/third_party/node/deps/openssl/openssl/include/openssl/ |
H A D | evp.h | 1454 const unsigned char *pub, size_t publen);
|
/third_party/openssl/include/openssl/ |
H A D | evp.h | 1452 const unsigned char *pub, size_t publen);
|