Home
last modified time | relevance | path

Searched refs:priv_len (Results 1 – 14 of 14) sorted by relevance

/third_party/openssl/crypto/dh/
Ddh_backend.c51 long priv_len; in ossl_dh_params_fromdata() local
59 && (!OSSL_PARAM_get_long(param_priv_len, &priv_len) in ossl_dh_params_fromdata()
60 || !DH_set_length(dh, priv_len))) in ossl_dh_params_fromdata()
/third_party/node/deps/openssl/openssl/crypto/dh/
Ddh_backend.c51 long priv_len; in ossl_dh_params_fromdata() local
59 && (!OSSL_PARAM_get_long(param_priv_len, &priv_len) in ossl_dh_params_fromdata()
60 || !DH_set_length(dh, priv_len))) in ossl_dh_params_fromdata()
/third_party/openssl/test/
Dacvp_test.c121 size_t priv_len = 0, pubx_len = 0, puby_len = 0; in ecdsa_keygen_test() local
129 &priv_len)) in ecdsa_keygen_test()
138 test_output_memory("d", priv, priv_len); in ecdsa_keygen_test()
143 OPENSSL_clear_free(priv, priv_len); in ecdsa_keygen_test()
375 size_t priv_len = 0, pub_len = 0; in dsa_keygen_test() local
386 &priv, &priv_len)) in dsa_keygen_test()
391 test_output_memory("x", priv, priv_len); in dsa_keygen_test()
393 OPENSSL_clear_free(priv, priv_len); in dsa_keygen_test()
400 OPENSSL_clear_free(priv, priv_len); in dsa_keygen_test()
896 const unsigned char *priv, size_t priv_len, in dh_create_pkey() argument
[all …]
Dtls-provider.c665 size_t priv_len = 0, pub_len = 0; in xor_import() local
678 sizeof(privkey), &priv_len)) in xor_import()
684 if (priv_len > 0) { in xor_import()
685 memcpy(key->privkey, privkey, priv_len); in xor_import()
Devp_pkey_provided_test.c551 static const long priv_len = 224; in test_fromdata_dh_named_group() local
560 priv_len)) in test_fromdata_dh_named_group()
762 static const long priv_len = 224; in test_fromdata_dh_fips186_4() local
772 priv_len)) in test_fromdata_dh_fips186_4()
Dacvp_test.inc926 size_t priv_len;
/third_party/openssl/providers/implementations/encode_decode/
Dencode_key2text.c496 size_t priv_len = 0, pub_len = 0; in ec_to_text() local
524 priv_len = EC_KEY_priv2buf(ec, &priv); in ec_to_text()
525 if (priv_len == 0) in ec_to_text()
545 && !print_labeled_buf(out, "priv:", priv, priv_len)) in ec_to_text()
553 OPENSSL_clear_free(priv, priv_len); in ec_to_text()
/third_party/node/deps/openssl/openssl/providers/implementations/encode_decode/
Dencode_key2text.c496 size_t priv_len = 0, pub_len = 0; in ec_to_text() local
524 priv_len = EC_KEY_priv2buf(ec, &priv); in ec_to_text()
525 if (priv_len == 0) in ec_to_text()
545 && !print_labeled_buf(out, "priv:", priv, priv_len)) in ec_to_text()
553 OPENSSL_clear_free(priv, priv_len); in ec_to_text()
/third_party/openssl/doc/man7/
DEVP_PKEY-DH.pod122 =item "priv_len" (B<OSSL_PKEY_PARAM_DH_PRIV_LEN>) <integer>
178 int priv_len = 2 * 112;
184 /* "priv_len" is optional */
185 params[1] = OSSL_PARAM_construct_int("priv_len", &priv_len);
/third_party/node/deps/openssl/openssl/providers/implementations/keymgmt/
Ddh_kmgmt.c70 int priv_len; member
559 if (p != NULL && !OSSL_PARAM_get_int(p, &gctx->priv_len)) in dh_gen_common_set_params()
772 if (gctx->priv_len > 0) in dh_gen()
773 DH_set_length(dh, (long)gctx->priv_len); in dh_gen()
/third_party/openssl/providers/implementations/keymgmt/
Ddh_kmgmt.c70 int priv_len; member
556 if (p != NULL && !OSSL_PARAM_get_int(p, &gctx->priv_len)) in dh_gen_common_set_params()
769 if (gctx->priv_len > 0) in dh_gen()
770 DH_set_length(dh, (long)gctx->priv_len); in dh_gen()
/third_party/libcoap/src/
Dcoap_tinydtls.c1102 const uint8_t *priv_data, size_t priv_len, in asn1_derive_keys() argument
1108 priv_len, asn1_verify_privkey); in asn1_derive_keys()
1122 test = get_asn1_tag(COAP_ASN1_IDENTIFIER, priv_data, priv_len, in asn1_derive_keys()
/third_party/mesa3d/src/freedreno/vulkan/
Dmsm_kgsl.h1377 uint64_t priv_len; member
Dtu_kgsl.c117 .priv_len = sizeof(import_dmabuf), in tu_bo_init_dmabuf()