Home
last modified time | relevance | path

Searched refs:keylength (Results 1 – 25 of 36) sorted by relevance

12

/freebsd/crypto/openssl/crypto/ffc/
H A Dffc_dh.c16 #define FFDHE(sz, keylength) { \ argument
20 keylength, \
26 #define MODP(sz, keylength) { \ argument
29 keylength, \
44 #define FFDHE(sz, keylength) { SN_ffdhe##sz, NID_ffdhe##sz } argument
45 #define MODP(sz, keylength) { SN_modp_##sz, NID_modp_##sz } argument
55 int keylength; member
152 return group->keylength; in ossl_ffc_named_group_get_keylength()
169 ffc->keylength = group->keylength; in ossl_ffc_named_group_set()
H A Dffc_key_generate.c32 N = params->keylength ? params->keylength : 2 * s; in ossl_ffc_generate_private_key()
H A Dffc_params.c204 dst->keylength = src->keylength; in ossl_ffc_params_copy()
/freebsd/crypto/krb5/src/lib/crypto/krb/
H A Dmake_random_key.c37 size_t keybytes, keylength; in krb5_c_make_random_key() local
47 keylength = enc->keylength; in krb5_c_make_random_key()
52 random_key->contents = k5alloc(keylength, &ret); in krb5_c_make_random_key()
65 random_key->length = keylength; in krb5_c_make_random_key()
71 zapfree(random_key->contents, keylength); in krb5_c_make_random_key()
H A Dkeylengths.c40 size_t *keybytes, size_t *keylength) in krb5_c_keylengths() argument
44 if (keybytes == NULL && keylength == NULL) in krb5_c_keylengths()
53 if (keylength) in krb5_c_keylengths()
54 *keylength = ktp->enc->keylength; in krb5_c_keylengths()
H A Dstring_to_key.c48 size_t keylength; in krb5_c_string_to_key_with_params() local
53 keylength = ktp->enc->keylength; in krb5_c_string_to_key_with_params()
63 key->contents = malloc(keylength); in krb5_c_string_to_key_with_params()
69 key->length = keylength; in krb5_c_string_to_key_with_params()
73 zapfree(key->contents, keylength); in krb5_c_string_to_key_with_params()
H A Ds2k_pbkdf2.c39 size_t keybytes, keylength, concatlen; in krb5int_dk_string_to_key() local
48 keylength = ktp->enc->keylength; in krb5int_dk_string_to_key()
58 foldkeydata = k5alloc(keylength, &ret); in krb5int_dk_string_to_key()
73 foldkeyblock.length = keylength; in krb5int_dk_string_to_key()
98 zapfree(foldkeydata, keylength); in krb5int_dk_string_to_key()
H A Dcf2.c106 ret = krb5int_c_init_keyblock(context, ktp->etype, ktp->enc->keylength, in krb5_c_derive_prfplus()
160 ret = krb5int_c_init_keyblock(context, ktp->etype, ktp->enc->keylength, in krb5_c_fx_cf2_simple()
H A Drandom_to_key.c54 if (random_key->length != ktp->enc->keylength) in krb5_c_random_to_key()
H A Dderive.c154 keyblock.length = enc->keylength; in krb5int_derive_key()
H A Dcrypto_int.h97 size_t block_size, keybytes, keylength; member
605 if (key && (!ktp || key->keyblock.length != ktp->enc->keylength)) in verify_key()
/freebsd/crypto/krb5/src/lib/kdb/
H A Dkdb_default.c223 krb5_ui_4 keylength; in krb5_db_def_fetch_mkey_stash() local
246 if (fread((krb5_pointer) &keylength, in krb5_db_def_fetch_mkey_stash()
247 sizeof(keylength), 1, kf) != 1) { in krb5_db_def_fetch_mkey_stash()
253 key->length = ntohl((uint32_t) keylength); in krb5_db_def_fetch_mkey_stash()
255 key->length = keylength; in krb5_db_def_fetch_mkey_stash()
/freebsd/crypto/openssl/crypto/asn1/
H A Dp5_pbev2.c32 ASN1_OPT(PBKDF2PARAM, keylength, ASN1_INTEGER),
229 if ((kdf->keylength = ASN1_INTEGER_new()) == NULL) { in PKCS5_pbkdf2_set_ex()
233 if (!ASN1_INTEGER_set(kdf->keylength, keylen)) { in PKCS5_pbkdf2_set_ex()
/freebsd/crypto/openssl/ssl/
H A Dtls_depr.c206 int keylength)) in SSL_CTX_set_tmp_dh_callback() argument
211 void SSL_set_tmp_dh_callback(SSL *ssl, DH *(*dh)(SSL *ssl, int is_export, int keylength)) in SSL_set_tmp_dh_callback() argument
/freebsd/contrib/netbsd-tests/dev/cgd/
H A Dparamsfile3 keylength 128;
/freebsd/crypto/krb5/src/lib/crypto/builtin/
H A Dkdf.c89 if (key->keyblock.length != enc->keylength || rnd_out->length != keybytes) in k5_sp800_108_feedback_cmac()
153 if (key->keyblock.length != enc->keylength || rnd_out->length != keybytes) in k5_derive_random_rfc3961()
/freebsd/crypto/openssl/doc/man3/
H A DSSL_CTX_set_tmp_dh_callback.pod25 int keylength));
30 int keylength));
98 argument. Previous versions of OpenSSL used the B<is_export> and B<keylength>
/freebsd/crypto/openssl/crypto/dh/
H A Ddh_group_params.c78 dh->params.keylength = ossl_ffc_named_group_get_keylength(group); in ossl_dh_cache_named_group()
/freebsd/crypto/openssl/crypto/evp/
H A Dp5_crpt2.c220 if (kdf->keylength && (ASN1_INTEGER_get(kdf->keylength) != (int)keylen)) { in PKCS5_v2_PBKDF2_keyivgen_ex()
/freebsd/crypto/krb5/src/plugins/kdb/test/
H A Dkdb_test.c195 size_t keybytes, keylength, pos, n; in make_keyblock() local
200 check(krb5_c_keylengths(NULL, etype, &keybytes, &keylength)); in make_keyblock()
217 kb_out->length = keylength; in make_keyblock()
218 kb_out->contents = ealloc(keylength); in make_keyblock()
/freebsd/crypto/openssl/test/
H A Dffc_internal_test.c675 if (!TEST_int_eq(params->keylength, 275)) in ffc_params_copy_test()
681 if (!TEST_int_eq(copy.keylength, 275)) in ffc_params_copy_test()
/freebsd/crypto/krb5/src/lib/crypto/openssl/
H A Dkdf.c192 if (key->keyblock.length != enc->keylength || in k5_derive_random_rfc3961()
/freebsd/crypto/openssl/include/internal/
H A Dffc.h122 int keylength; member
/freebsd/crypto/krb5/src/lib/crypto/crypto_tests/
H A Dt_derive.c337 if (test->expected_key.length == enc->keylength) { in main()
/freebsd/crypto/openssl/crypto/pkcs12/
H A Dp12_mutl.c148 if (pbkdf2_param->keylength != NULL) in PBMAC1_PBKDF2_HMAC()
149 keylen = ASN1_INTEGER_get(pbkdf2_param->keylength); in PBMAC1_PBKDF2_HMAC()

12