Home
last modified time | relevance | path

Searched refs:pub_len (Results 1 – 5 of 5) sorted by relevance

/freebsd/crypto/openssl/test/
H A Dacvp_test.c151 const unsigned char *pub, size_t pub_len, in ecdsa_create_pkey() argument
165 pub, pub_len) > 0) in ecdsa_create_pkey()
190 tst->pub, tst->pub_len, tst->pass))) in ecdsa_pub_verify_test()
286 tst->pub, tst->pub_len, 1))) in ecdsa_sigver_test()
375 size_t priv_len = 0, pub_len = 0; in dsa_keygen_test() local
388 &pub, &pub_len))) in dsa_keygen_test()
390 test_output_memory("y", pub, pub_len); in dsa_keygen_test()
455 const unsigned char *pub, size_t pub_len, in dsa_create_pkey() argument
499 || !TEST_ptr(BN_bin2bn(pub, pub_len, pub_bn)) in dsa_create_pkey()
633 NULL, 0, 0, 0, 0, tst->pub, tst->pub_len, in dsa_sigver_test()
[all …]
H A Dtls-provider.c671 size_t priv_len = 0, pub_len = 0; in xor_import()
687 sizeof(pubkey), &pub_len))) in xor_import()
694 if (pub_len > 0) { in xor_import()
695 memcpy(key->pubkey, pubkey, pub_len); in xor_import()
665 size_t priv_len = 0, pub_len = 0; xor_import() local
H A Dacvp_test.inc23 size_t pub_len;
40 size_t pub_len;
272 size_t pub_len;
924 size_t pub_len;
/freebsd/crypto/openssl/providers/implementations/encode_decode/
H A Dencode_key2text.c497 size_t priv_len = 0, pub_len = 0; in ec_to_text() local
537 pub_len = EC_KEY_key2buf(ec, EC_KEY_get_conv_form(ec), &pub, NULL); in ec_to_text()
538 if (pub_len == 0) in ec_to_text()
549 && !print_labeled_buf(out, "pub:", pub, pub_len)) in ec_to_text()
/freebsd/contrib/wpa/src/crypto/
H A Dcrypto_openssl.c1021 size_t pub_len = OSSL_PARAM_UNMODIFIED; in dh5_init()
1044 NULL, 0, &pub_len) < 0 || in dh5_init()
1045 pub_len == OSSL_PARAM_UNMODIFIED || in dh5_init()
1047 !(pubkey = wpabuf_alloc(pub_len)) || in dh5_init()
1051 wpabuf_put(pubkey, pub_len), in dh5_init()
1052 pub_len, NULL) != 1) { in dh5_init()
3731 size_t pub_len = OSSL_PARAM_UNMODIFIED; in crypto_ec_key_get_pubkey_point() local
3737 NULL, 0, &pub_len) < 0 || in crypto_ec_key_get_pubkey_point()
3738 pub_len == OSSL_PARAM_UNMODIFIED || in crypto_ec_key_get_pubkey_point()
3739 !(buf = wpabuf_alloc(pub_len)) || in crypto_ec_key_get_pubkey_point()
[all …]