Home
last modified time | relevance | path

Searched refs:EVP_CIPHER_CTX_key_length (Results 1 – 25 of 29) sorted by relevance

12

/third_party/openssl/crypto/evp/
De_aes.c276 ret = aesni_set_decrypt_key(key, EVP_CIPHER_CTX_key_length(ctx) * 8, in aesni_init_key()
282 ret = aesni_set_encrypt_key(key, EVP_CIPHER_CTX_key_length(ctx) * 8, in aesni_init_key()
352 aesni_set_encrypt_key(key, EVP_CIPHER_CTX_key_length(ctx) * 8, in aesni_gcm_init_key()
392 const int bytes = EVP_CIPHER_CTX_key_length(ctx) / 2; in aesni_xts_init_key()
407 aesni_set_encrypt_key(key, EVP_CIPHER_CTX_key_length(ctx) * 4, in aesni_xts_init_key()
412 aesni_set_decrypt_key(key, EVP_CIPHER_CTX_key_length(ctx) * 4, in aesni_xts_init_key()
418 aesni_set_encrypt_key(key + EVP_CIPHER_CTX_key_length(ctx) / 2, in aesni_xts_init_key()
419 EVP_CIPHER_CTX_key_length(ctx) * 4, in aesni_xts_init_key()
445 aesni_set_encrypt_key(key, EVP_CIPHER_CTX_key_length(ctx) * 8, in aesni_ccm_init_key()
491 aesni_set_encrypt_key(key, EVP_CIPHER_CTX_key_length(ctx) * 8, in aesni_ocb_init_key()
[all …]
De_rc5.c69 if (EVP_CIPHER_CTX_key_length(ctx) > 255) { in r_32_12_16_init_key()
73 RC5_32_set_key(&data(ctx)->ks, EVP_CIPHER_CTX_key_length(ctx), in r_32_12_16_init_key()
De_rc2.c86 RC2_set_key(&data(ctx)->ks, EVP_CIPHER_CTX_key_length(ctx), in rc2_init_key()
167 data(c)->key_bits = EVP_CIPHER_CTX_key_length(c) * 8; in rc2_ctrl()
De_cast.c36 CAST_set_key(&data(ctx)->ks, EVP_CIPHER_CTX_key_length(ctx), key); in cast_init_key()
De_bf.c34 BF_set_key(&data(ctx)->ks, EVP_CIPHER_CTX_key_length(ctx), key); in bf_init_key()
De_rc4.c72 RC4_set_key(&data(ctx)->ks, EVP_CIPHER_CTX_key_length(ctx), key); in rc4_init_key()
De_des3.c286 if (RAND_priv_bytes(ptr, EVP_CIPHER_CTX_key_length(ctx)) <= 0) in des3_ctrl()
289 if (EVP_CIPHER_CTX_key_length(ctx) >= 16) in des3_ctrl()
291 if (EVP_CIPHER_CTX_key_length(ctx) >= 24) in des3_ctrl()
Dp5_crpt2.c202 keylen = EVP_CIPHER_CTX_key_length(ctx); in PKCS5_v2_PBKDF2_keyivgen()
214 keylen = EVP_CIPHER_CTX_key_length(ctx); in PKCS5_v2_PBKDF2_keyivgen()
Dp_seal.c45 EVP_PKEY_encrypt_old(ek[i], key, EVP_CIPHER_CTX_key_length(ctx), in EVP_SealInit()
De_aria.c67 ret = aria_set_encrypt_key(key, EVP_CIPHER_CTX_key_length(ctx) * 8, in aria_init_key()
70 ret = aria_set_decrypt_key(key, EVP_CIPHER_CTX_key_length(ctx) * 8, in aria_init_key()
216 ret = aria_set_encrypt_key(key, EVP_CIPHER_CTX_key_length(ctx) * 8, in aria_gcm_init_key()
513 ret = aria_set_encrypt_key(key, EVP_CIPHER_CTX_key_length(ctx) * 8, in aria_ccm_init_key()
De_camellia.c83 bits = EVP_CIPHER_CTX_key_length(ctx) * 8;
219 ret = Camellia_set_key(key, EVP_CIPHER_CTX_key_length(ctx) * 8, &dat->ks);
De_rc4_hmac_md5.c43 RC4_set_key(&key->ks, EVP_CIPHER_CTX_key_length(ctx), inkey); in rc4_hmac_md5_init_key()
Devp_lib.c290 int EVP_CIPHER_CTX_key_length(const EVP_CIPHER_CTX *ctx) in EVP_CIPHER_CTX_key_length() function
De_aes_cbc_hmac_sha1.c72 EVP_CIPHER_CTX_key_length(ctx) * 8, in aesni_cbc_hmac_sha1_init_key()
76 EVP_CIPHER_CTX_key_length(ctx) * 8, in aesni_cbc_hmac_sha1_init_key()
De_aes_cbc_hmac_sha256.c69 EVP_CIPHER_CTX_key_length(ctx) * 8, in aesni_cbc_hmac_sha256_init_key()
73 EVP_CIPHER_CTX_key_length(ctx) * 8, in aesni_cbc_hmac_sha256_init_key()
/third_party/openssl/doc/man3/
DEVP_EncryptInit.pod38 EVP_CIPHER_CTX_key_length,
111 int EVP_CIPHER_CTX_key_length(const EVP_CIPHER_CTX *ctx);
223 EVP_CIPHER_key_length() and EVP_CIPHER_CTX_key_length() return the key
227 given cipher, the value of EVP_CIPHER_CTX_key_length() may be different
284 buffer at least as big as the value returned by EVP_CIPHER_CTX_key_length().
310 EVP_CIPHER_key_length() and EVP_CIPHER_CTX_key_length() return the key
603 OPENSSL_assert(EVP_CIPHER_CTX_key_length(ctx) == 16);
/third_party/openssl/crypto/engine/
Deng_openssl.c197 memcpy(&test(ctx)->key[0], key, EVP_CIPHER_CTX_key_length(ctx)); in test_rc4_init_key()
198 RC4_set_key(&test(ctx)->ks, EVP_CIPHER_CTX_key_length(ctx), in test_rc4_init_key()
/third_party/openssl/crypto/cms/
Dcms_enc.c84 tkeylen = EVP_CIPHER_CTX_key_length(ctx); in cms_EncryptedContent_init_bio()
Dcms_kari.c196 keklen = EVP_CIPHER_CTX_key_length(kari->ctx); in cms_kek_cipher()
/third_party/openssl/crypto/asn1/
Dp5_scrypt.c237 keylen = EVP_CIPHER_CTX_key_length(ctx); in PKCS5_v2_scrypt_keyivgen()
/third_party/openssl/crypto/dh/
Ddh_ameth.c722 keylen = EVP_CIPHER_CTX_key_length(kekctx); in dh_cms_set_shared_info()
854 keylen = EVP_CIPHER_CTX_key_length(ctx); in dh_cms_encrypt()
/third_party/openssl/crypto/ec/
Dec_ameth.c775 keylen = EVP_CIPHER_CTX_key_length(kekctx); in ecdh_cms_set_shared_info()
912 keylen = EVP_CIPHER_CTX_key_length(ctx); in ecdh_cms_encrypt()
/third_party/openssl/crypto/pkcs7/
Dpk7_doit.c524 tkeylen = EVP_CIPHER_CTX_key_length(evp_ctx); in PKCS7_dataDecode()
536 if (eklen != EVP_CIPHER_CTX_key_length(evp_ctx)) { in PKCS7_dataDecode()
/third_party/openssl/engines/
De_padlock.c601 int key_len = EVP_CIPHER_CTX_key_length(ctx) * 8; in padlock_aes_init_key()
De_afalg.c543 ret = afalg_set_key(actx, key, EVP_CIPHER_CTX_key_length(ctx)); in afalg_cipher_init()

12