| /freebsd/crypto/openssl/crypto/ffc/ |
| H A D | ffc_dh.c | 16 #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 D | ffc_key_generate.c | 32 N = params->keylength ? params->keylength : 2 * s; in ossl_ffc_generate_private_key()
|
| H A D | ffc_params.c | 204 dst->keylength = src->keylength; in ossl_ffc_params_copy()
|
| /freebsd/crypto/krb5/src/lib/crypto/krb/ |
| H A D | make_random_key.c | 37 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 D | keylengths.c | 40 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 D | string_to_key.c | 48 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 D | s2k_pbkdf2.c | 39 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 D | cf2.c | 106 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 D | random_to_key.c | 54 if (random_key->length != ktp->enc->keylength) in krb5_c_random_to_key()
|
| H A D | derive.c | 154 keyblock.length = enc->keylength; in krb5int_derive_key()
|
| H A D | crypto_int.h | 97 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 D | kdb_default.c | 223 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 D | p5_pbev2.c | 32 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 D | tls_depr.c | 206 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 D | paramsfile | 3 keylength 128;
|
| /freebsd/crypto/krb5/src/lib/crypto/builtin/ |
| H A D | kdf.c | 89 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 D | SSL_CTX_set_tmp_dh_callback.pod | 25 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 D | dh_group_params.c | 78 dh->params.keylength = ossl_ffc_named_group_get_keylength(group); in ossl_dh_cache_named_group()
|
| /freebsd/crypto/openssl/crypto/evp/ |
| H A D | p5_crpt2.c | 220 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 D | kdb_test.c | 195 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 D | ffc_internal_test.c | 675 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 D | kdf.c | 192 if (key->keyblock.length != enc->keylength || in k5_derive_random_rfc3961()
|
| /freebsd/crypto/openssl/include/internal/ |
| H A D | ffc.h | 122 int keylength; member
|
| /freebsd/crypto/krb5/src/lib/crypto/crypto_tests/ |
| H A D | t_derive.c | 337 if (test->expected_key.length == enc->keylength) { in main()
|
| /freebsd/crypto/openssl/crypto/pkcs12/ |
| H A D | p12_mutl.c | 148 if (pbkdf2_param->keylength != NULL) in PBMAC1_PBKDF2_HMAC() 149 keylen = ASN1_INTEGER_get(pbkdf2_param->keylength); in PBMAC1_PBKDF2_HMAC()
|