Home
last modified time | relevance | path

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

/openssl/crypto/dh/
H A Ddh_backend.c45 long priv_len; in ossl_dh_params_fromdata() local
53 && (!OSSL_PARAM_get_long(param_priv_len, &priv_len) in ossl_dh_params_fromdata()
54 || !DH_set_length(dh, priv_len))) in ossl_dh_params_fromdata()
/openssl/test/
H A Dacvp_test.c166 test_output_memory("d", priv, priv_len); in ecdsa_keygen_test()
171 OPENSSL_clear_free(priv, priv_len); in ecdsa_keygen_test()
492 size_t priv_len = 0, pub_len = 0; in eddsa_keygen_test() local
506 test_output_memory("d", priv, priv_len); in eddsa_keygen_test()
511 OPENSSL_clear_free(priv, priv_len); in eddsa_keygen_test()
559 size_t priv_len = 0, pub_len = 0; in dsa_keygen_test() local
579 OPENSSL_clear_free(priv, priv_len); in dsa_keygen_test()
586 OPENSSL_clear_free(priv, priv_len); in dsa_keygen_test()
1193 size_t priv_len = 0, pub_len = 0; in dh_safe_prime_keygen_test() local
1211 test_output_memory("x", priv, priv_len); in dh_safe_prime_keygen_test()
[all …]
H A Devp_pkey_provided_test.c949 static const long priv_len = 224; in test_fromdata_dh_named_group() local
958 priv_len)) in test_fromdata_dh_named_group()
1163 static const long priv_len = 224; in test_fromdata_dh_fips186_4() local
1173 priv_len)) in test_fromdata_dh_fips186_4()
H A Dtls-provider.c1006 size_t priv_len = 0, pub_len = 0; in xor_import() local
1019 sizeof(privkey), &priv_len)) in xor_import()
1025 if (priv_len > 0) { in xor_import()
1026 memcpy(key->privkey, privkey, priv_len); in xor_import()
H A Dacvp_test.inc1076 size_t priv_len;
/openssl/providers/implementations/encode_decode/
H A Dencode_key2text.c497 size_t priv_len = 0, pub_len = 0; in ec_to_text() local
526 priv_len = EC_KEY_priv2buf(ec, &priv); in ec_to_text()
527 if (priv_len == 0) in ec_to_text()
548 && !print_labeled_buf(out, "priv:", priv, priv_len)) in ec_to_text()
556 OPENSSL_clear_free(priv, priv_len); in ec_to_text()
/openssl/doc/man7/
H A DEVP_PKEY-DH.pod123 =item "priv_len" (B<OSSL_PKEY_PARAM_DH_PRIV_LEN>) <integer>
180 int priv_len = 2 * 112;
186 /* "priv_len" is optional */
187 params[1] = OSSL_PARAM_construct_int("priv_len", &priv_len);
/openssl/providers/implementations/keymgmt/
H A Ddh_kmgmt.c71 int priv_len; member
565 if (p != NULL && !OSSL_PARAM_get_int(p, &gctx->priv_len)) in dh_gen_common_set_params()
789 if (gctx->priv_len > 0) in dh_gen()
790 DH_set_length(dh, (long)gctx->priv_len); in dh_gen()

Completed in 44 milliseconds