Home
last modified time | relevance | path

Searched refs:EVP_CIPHER_CTX_get_key_length (Results 1 – 25 of 33) sorted by relevance

12

/freebsd/crypto/openssl/crypto/evp/
H A De_aes.c154 EVP_CIPHER_CTX_get_key_length(ctx) * 8, in aesni_init_key()
161 EVP_CIPHER_CTX_get_key_length(ctx) * 8, in aesni_init_key()
230 aesni_set_encrypt_key(key, EVP_CIPHER_CTX_get_key_length(ctx) * 8, in aesni_gcm_init_key()
270 const int bytes = EVP_CIPHER_CTX_get_key_length(ctx) / 2; in aesni_xts_init_key()
321 aesni_set_encrypt_key(key, EVP_CIPHER_CTX_get_key_length(ctx) * 8, in aesni_ccm_init_key()
354 aesni_set_encrypt_key(key, EVP_CIPHER_CTX_get_key_length(ctx) * 8, in aesni_ocb_init_key()
356 aesni_set_decrypt_key(key, EVP_CIPHER_CTX_get_key_length(ctx) * 8, in aesni_ocb_init_key()
454 bits = EVP_CIPHER_CTX_get_key_length(ctx) * 8; in aes_t4_init_key()
553 int bits = EVP_CIPHER_CTX_get_key_length(ctx) * 8; in aes_t4_gcm_init_key()
606 const int bytes = EVP_CIPHER_CTX_get_key_length(ctx) / 2; in aes_t4_xts_init_key()
[all …]
H A De_rc2.c95 RC2_set_key(&data(ctx)->ks, EVP_CIPHER_CTX_get_key_length(ctx), in rc2_init_key()
174 data(c)->key_bits = EVP_CIPHER_CTX_get_key_length(c) * 8; in rc2_ctrl()
H A De_bf.c41 int len = EVP_CIPHER_CTX_get_key_length(ctx); in bf_init_key()
H A De_cast.c43 int keylen = EVP_CIPHER_CTX_get_key_length(ctx); in cast_init_key()
H A De_rc4.c82 if ((keylen = EVP_CIPHER_CTX_get_key_length(ctx)) <= 0) in rc4_init_key()
H A De_rc5.c75 const int key_len = EVP_CIPHER_CTX_get_key_length(ctx); in r_32_12_16_init_key()
H A Dp5_crpt2.c198 keylen = EVP_CIPHER_CTX_get_key_length(ctx); in PKCS5_v2_PBKDF2_keyivgen_ex()
210 t = EVP_CIPHER_CTX_get_key_length(ctx); in PKCS5_v2_PBKDF2_keyivgen_ex()
H A Dp_seal.c50 len = EVP_CIPHER_CTX_get_key_length(ctx); in EVP_SealInit()
H A De_aria.c69 EVP_CIPHER_CTX_get_key_length(ctx) * 8, in aria_init_key()
73 EVP_CIPHER_CTX_get_key_length(ctx) * 8, in aria_init_key()
225 EVP_CIPHER_CTX_get_key_length(ctx) * 8, in aria_gcm_init_key()
523 EVP_CIPHER_CTX_get_key_length(ctx) * 8, in aria_ccm_init_key()
H A De_camellia.c59 bits = EVP_CIPHER_CTX_get_key_length(ctx) * 8; in cmll_t4_init_key()
198 ret = Camellia_set_key(key, EVP_CIPHER_CTX_get_key_length(ctx) * 8, in camellia_init_key()
H A Devp_enc.c271 : EVP_CIPHER_CTX_get_key_length(ctx), in evp_cipher_init_internal()
286 : EVP_CIPHER_CTX_get_key_length(ctx), in evp_cipher_init_internal()
1040 if (EVP_CIPHER_CTX_get_key_length(c) == keylen) in EVP_CIPHER_CTX_set_key_length()
1064 if (EVP_CIPHER_CTX_get_key_length(c) == keylen) in EVP_CIPHER_CTX_set_key_length()
1401 kl = EVP_CIPHER_CTX_get_key_length(ctx); in EVP_CIPHER_CTX_rand_key()
H A De_rc4_hmac_md5.c49 const int keylen = EVP_CIPHER_CTX_get_key_length(ctx); in rc4_hmac_md5_init_key()
H A De_des3.c286 kl = EVP_CIPHER_CTX_get_key_length(ctx); in des3_ctrl()
H A De_aes_cbc_hmac_sha1.c78 EVP_CIPHER_CTX_get_key_length(ctx) * 8, in aesni_cbc_hmac_sha1_init_key()
82 EVP_CIPHER_CTX_get_key_length(ctx) * 8, in aesni_cbc_hmac_sha1_init_key()
H A De_aes_cbc_hmac_sha256.c74 EVP_CIPHER_CTX_get_key_length(ctx) * 8, in aesni_cbc_hmac_sha256_init_key()
78 EVP_CIPHER_CTX_get_key_length(ctx) * 8, in aesni_cbc_hmac_sha256_init_key()
/freebsd/crypto/openssl/crypto/cms/
H A Dcms_dh.c133 keylen = EVP_CIPHER_CTX_get_key_length(kekctx); in dh_cms_set_shared_info()
274 keylen = EVP_CIPHER_CTX_get_key_length(ctx); in dh_cms_encrypt()
H A Dcms_ec.c198 keylen = EVP_CIPHER_CTX_get_key_length(kekctx); in ecdh_cms_set_shared_info()
330 keylen = EVP_CIPHER_CTX_get_key_length(ctx); in ecdh_cms_encrypt()
H A Dcms_enc.c116 len = EVP_CIPHER_CTX_get_key_length(ctx); in ossl_cms_EncryptedContent_init_bio()
H A Dcms_kari.c221 keklen = EVP_CIPHER_CTX_get_key_length(kari->ctx); in cms_kek_cipher()
/freebsd/crypto/openssl/providers/implementations/macs/
H A Dgmac_prov.c105 if (keylen != (size_t)EVP_CIPHER_CTX_get_key_length(ctx)) { in gmac_setkey()
/freebsd/crypto/openssl/crypto/asn1/
H A Dp5_scrypt.c237 t = EVP_CIPHER_CTX_get_key_length(ctx); in PKCS5_v2_scrypt_keyivgen_ex()
/freebsd/crypto/openssl/providers/implementations/kdfs/
H A Dkrb5kdf.c336 klen = EVP_CIPHER_CTX_get_key_length(ctx); in cipher_init()
/freebsd/crypto/openssl/doc/man3/
H A DEVP_EncryptInit.pod61 EVP_CIPHER_CTX_get_key_length,
196 int EVP_CIPHER_CTX_get_key_length(const EVP_CIPHER_CTX *ctx);
225 #define EVP_CIPHER_CTX_key_length EVP_CIPHER_CTX_get_key_length
502 =item EVP_CIPHER_get_key_length() and EVP_CIPHER_CTX_get_key_length()
507 a given cipher, the value of EVP_CIPHER_CTX_get_key_length() may be different for
630 value returned by EVP_CIPHER_CTX_get_key_length().
742 See also EVP_CIPHER_CTX_get_key_length() and EVP_CIPHER_CTX_set_key_length().
1220 EVP_CIPHER_get_key_length() and EVP_CIPHER_CTX_get_key_length() return the key
1601 OPENSSL_assert(EVP_CIPHER_CTX_get_key_length(ctx) == 16);
/freebsd/crypto/openssl/crypto/engine/
H A Deng_openssl.c208 const int n = EVP_CIPHER_CTX_get_key_length(ctx); in test_rc4_init_key()
/freebsd/crypto/openssl/crypto/pkcs7/
H A Dpk7_doit.c602 len = EVP_CIPHER_CTX_get_key_length(evp_ctx); in PKCS7_dataDecode()
617 if (eklen != EVP_CIPHER_CTX_get_key_length(evp_ctx)) { in PKCS7_dataDecode()

12