Home
last modified time | relevance | path

Searched defs:key_len (Results 1 – 25 of 112) sorted by relevance

12345

/external/boringssl/src/crypto/cipher/
De_tls.c54 static int aead_tls_init(EVP_AEAD_CTX *ctx, const uint8_t *key, size_t key_len, in aead_tls_init()
363 size_t key_len, size_t tag_len, in aead_rc4_sha1_tls_init()
370 size_t key_len, size_t tag_len, in aead_aes_128_cbc_sha1_tls_init()
377 EVP_AEAD_CTX *ctx, const uint8_t *key, size_t key_len, size_t tag_len, in aead_aes_128_cbc_sha1_tls_implicit_iv_init()
384 const uint8_t *key, size_t key_len, in aead_aes_128_cbc_sha256_tls_init()
392 size_t key_len, size_t tag_len, in aead_aes_256_cbc_sha1_tls_init()
399 EVP_AEAD_CTX *ctx, const uint8_t *key, size_t key_len, size_t tag_len, in aead_aes_256_cbc_sha1_tls_implicit_iv_init()
406 const uint8_t *key, size_t key_len, in aead_aes_256_cbc_sha256_tls_init()
414 const uint8_t *key, size_t key_len, in aead_aes_256_cbc_sha384_tls_init()
422 const uint8_t *key, size_t key_len, in aead_des_ede3_cbc_sha1_tls_init()
[all …]
De_ssl3.c83 static int aead_ssl3_init(EVP_AEAD_CTX *ctx, const uint8_t *key, size_t key_len, in aead_ssl3_init()
311 size_t key_len, size_t tag_len, in aead_rc4_md5_ssl3_init()
317 size_t key_len, size_t tag_len, in aead_rc4_sha1_ssl3_init()
323 size_t key_len, size_t tag_len, in aead_aes_128_cbc_sha1_ssl3_init()
330 size_t key_len, size_t tag_len, in aead_aes_256_cbc_sha1_ssl3_init()
336 const uint8_t *key, size_t key_len, in aead_des_ede3_cbc_sha1_ssl3_init()
Daead.c34 const uint8_t *key, size_t key_len, size_t tag_len, in EVP_AEAD_CTX_init()
46 const uint8_t *key, size_t key_len, in EVP_AEAD_CTX_init_with_direction()
/external/wpa_supplicant_8/src/crypto/
Dsha256.c26 int hmac_sha256_vector(const u8 *key, size_t key_len, size_t num_elem, in hmac_sha256_vector()
100 int hmac_sha256(const u8 *key, size_t key_len, const u8 *data, in hmac_sha256()
Dsha1.c26 int hmac_sha1_vector(const u8 *key, size_t key_len, size_t num_elem, in hmac_sha1_vector()
103 int hmac_sha1(const u8 *key, size_t key_len, const u8 *data, size_t data_len, in hmac_sha1()
Dmd5.c26 int hmac_md5_vector(const u8 *key, size_t key_len, size_t num_elem, in hmac_md5_vector()
105 int hmac_md5(const u8 *key, size_t key_len, const u8 *data, size_t data_len, in hmac_md5()
Dsha256-prf.c29 void sha256_prf(const u8 *key, size_t key_len, const char *label, in sha256_prf()
51 void sha256_prf_bits(const u8 *key, size_t key_len, const char *label, in sha256_prf_bits()
Dcrypto_internal.c27 size_t key_len; member
32 size_t key_len) in crypto_hash_init()
Daes-gcm.c175 static void * aes_gcm_init_hash_subkey(const u8 *key, size_t key_len, u8 *H) in aes_gcm_init_hash_subkey()
254 int aes_gcm_ae(const u8 *key, size_t key_len, const u8 *iv, size_t iv_len, in aes_gcm_ae()
288 int aes_gcm_ad(const u8 *key, size_t key_len, const u8 *iv, size_t iv_len, in aes_gcm_ad()
322 int aes_gmac(const u8 *key, size_t key_len, const u8 *iv, size_t iv_len, in aes_gmac()
Dcrypto_openssl.c423 size_t key_len) in crypto_cipher_init()
666 size_t key_len) in crypto_hash_init()
752 size_t key_len, size_t num_elem, in openssl_hmac_vector()
785 int hmac_md5_vector(const u8 *key, size_t key_len, size_t num_elem, in hmac_md5_vector()
793 int hmac_md5(const u8 *key, size_t key_len, const u8 *data, size_t data_len, in hmac_md5()
812 int hmac_sha1_vector(const u8 *key, size_t key_len, size_t num_elem, in hmac_sha1_vector()
820 int hmac_sha1(const u8 *key, size_t key_len, const u8 *data, size_t data_len, in hmac_sha1()
829 int hmac_sha256_vector(const u8 *key, size_t key_len, size_t num_elem, in hmac_sha256_vector()
837 int hmac_sha256(const u8 *key, size_t key_len, const u8 *data, in hmac_sha256()
848 int hmac_sha384_vector(const u8 *key, size_t key_len, size_t num_elem, in hmac_sha384_vector()
[all …]
Dsha1-prf.c30 int sha1_prf(const u8 *key, size_t key_len, const char *label, in sha1_prf()
Dsha1-tprf.c29 int sha1_t_prf(const u8 *key, size_t key_len, const char *label, in sha1_t_prf()
/external/boringssl/src/crypto/hmac/
Dhmac.c65 uint8_t *HMAC(const EVP_MD *evp_md, const void *key, size_t key_len, in HMAC()
103 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, size_t key_len, in HMAC_Init_ex()
203 int HMAC_Init(HMAC_CTX *ctx, const void *key, int key_len, const EVP_MD *md) { in HMAC_Init()
/external/srtp/crypto/hash/
Dnull_auth.c56 null_auth_alloc(auth_t **a, int key_len, int out_len) { in null_auth_alloc()
100 null_auth_init(null_auth_ctx_t *state, const uint8_t *key, int key_len) { in null_auth_init()
Dhmac.c57 hmac_alloc(auth_t **a, int key_len, int out_len) { in hmac_alloc()
112 hmac_init(hmac_ctx_t *state, const uint8_t *key, int key_len) { in hmac_init()
/external/boringssl/src/crypto/evp/
Dpbkdf.c65 const EVP_MD *digest, size_t key_len, uint8_t *out_key) { in PKCS5_PBKDF2_HMAC()
131 unsigned iterations, size_t key_len, in PKCS5_PBKDF2_HMAC_SHA1()
Dp_rsa.c169 const size_t key_len = EVP_PKEY_size(ctx->pkey); in pkey_rsa_sign() local
226 const size_t key_len = EVP_PKEY_size(ctx->pkey); in pkey_rsa_verify() local
263 const size_t key_len = EVP_PKEY_size(ctx->pkey); in pkey_rsa_encrypt() local
295 const size_t key_len = EVP_PKEY_size(ctx->pkey); in pkey_rsa_decrypt() local
/external/vboot_reference/firmware/lib/cryptolib/
Drsa_utility.c16 int key_len; /* Key length in bytes. (int type matches siglen_map) */ in RSAProcessedKeySize() local
51 uint64_t key_len; in RSAPublicKeyFromBuf() local
/external/wpa_supplicant_8/src/eap_common/
Deap_pax_common.c30 int eap_pax_kdf(u8 mac_id, const u8 *key, size_t key_len, in eap_pax_kdf()
86 int eap_pax_mac(u8 mac_id, const u8 *key, size_t key_len, in eap_pax_mac()
Dikev2_common.c56 int ikev2_integ_hash(int alg, const u8 *key, size_t key_len, const u8 *data, in ikev2_integ_hash()
95 int ikev2_prf_hash(int alg, const u8 *key, size_t key_len, in ikev2_prf_hash()
114 int ikev2_prf_plus(int alg, const u8 *key, size_t key_len, in ikev2_prf_plus()
176 int ikev2_encr_encrypt(int alg, const u8 *key, size_t key_len, const u8 *iv, in ikev2_encr_encrypt()
211 int ikev2_encr_decrypt(int alg, const u8 *key, size_t key_len, const u8 *iv, in ikev2_encr_decrypt()
Deap_eke_common.c211 static int eap_eke_prf(u8 prf, const u8 *key, size_t key_len, const u8 *data, in eap_eke_prf()
236 static int eap_eke_prf_hmac_sha1(const u8 *key, size_t key_len, const u8 *data, in eap_eke_prf_hmac_sha1()
277 static int eap_eke_prf_hmac_sha256(const u8 *key, size_t key_len, const u8 *data, in eap_eke_prf_hmac_sha256()
318 static int eap_eke_prfplus(u8 prf, const u8 *key, size_t key_len, in eap_eke_prfplus()
338 size_t key_len = 16; /* Only AES-128-CBC is used here */ in eap_eke_derive_key() local
/external/srtp/crypto/include/
Dxfm.h77 unsigned key_len; member
117 unsigned key_len; member
/external/boringssl/src/crypto/cmac/
Dcmac.c82 int AES_CMAC(uint8_t out[16], const uint8_t *key, size_t key_len, in AES_CMAC()
145 int CMAC_Init(CMAC_CTX *ctx, const void *key, size_t key_len, in CMAC_Init()
/external/srtp/crypto/cipher/
Daes_icm.c93 aes_icm_alloc_ismacryp(cipher_t **c, int key_len, int forIsmacryp) { in aes_icm_alloc_ismacryp()
132 err_status_t aes_icm_alloc(cipher_t **c, int key_len, int forIsmacryp) { in aes_icm_alloc()
/external/srtp/crypto/kernel/
Dcrypto_kernel.c412 int key_len) { in crypto_kernel_alloc_cipher()
450 int key_len, in crypto_kernel_alloc_auth()

12345