Home
last modified time | relevance | path

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

12345

/external/boringssl/src/crypto/cipher/
De_tls.c55 static int aead_tls_init(EVP_AEAD_CTX *ctx, const uint8_t *key, size_t key_len, in aead_tls_init()
354 size_t key_len, size_t tag_len, in aead_rc4_md5_tls_init()
361 size_t key_len, size_t tag_len, in aead_rc4_sha1_tls_init()
368 size_t key_len, size_t tag_len, in aead_aes_128_cbc_sha1_tls_init()
375 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()
382 const uint8_t *key, size_t key_len, in aead_aes_128_cbc_sha256_tls_init()
390 size_t key_len, size_t tag_len, in aead_aes_256_cbc_sha1_tls_init()
397 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()
404 const uint8_t *key, size_t key_len, in aead_aes_256_cbc_sha256_tls_init()
412 const uint8_t *key, size_t key_len, in aead_aes_256_cbc_sha384_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()
324 size_t key_len, size_t tag_len, in aead_rc4_md5_ssl3_init()
330 size_t key_len, size_t tag_len, in aead_rc4_sha1_ssl3_init()
336 size_t key_len, size_t tag_len, in aead_aes_128_cbc_sha1_ssl3_init()
343 size_t key_len, size_t tag_len, in aead_aes_256_cbc_sha1_ssl3_init()
349 const uint8_t *key, size_t key_len, in aead_des_ede3_cbc_sha1_ssl3_init()
357 size_t key_len, size_t tag_len, in aead_null_sha1_ssl3_init()
/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()
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()
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()
Dsha256-prf.c30 int sha256_prf(const u8 *key, size_t key_len, const char *label, in sha256_prf()
54 int sha256_prf_bits(const u8 *key, size_t key_len, const char *label, in sha256_prf_bits()
Dsha384-prf.c29 void sha384_prf(const u8 *key, size_t key_len, const char *label, in sha384_prf()
51 void sha384_prf_bits(const u8 *key, size_t key_len, const char *label, in sha384_prf_bits()
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_internal.c35 size_t key_len; member
40 size_t key_len) in crypto_hash_init()
Dcrypto_openssl.c492 size_t key_len) in crypto_cipher_init()
739 size_t key_len) in crypto_hash_init()
822 size_t key_len, size_t num_elem, in openssl_hmac_vector()
853 int hmac_md5_vector(const u8 *key, size_t key_len, size_t num_elem, in hmac_md5_vector()
861 int hmac_md5(const u8 *key, size_t key_len, const u8 *data, size_t data_len, in hmac_md5()
880 int hmac_sha1_vector(const u8 *key, size_t key_len, size_t num_elem, in hmac_sha1_vector()
888 int hmac_sha1(const u8 *key, size_t key_len, const u8 *data, size_t data_len, in hmac_sha1()
897 int hmac_sha256_vector(const u8 *key, size_t key_len, size_t num_elem, in hmac_sha256_vector()
905 int hmac_sha256(const u8 *key, size_t key_len, const u8 *data, in hmac_sha256()
916 int hmac_sha384_vector(const u8 *key, size_t key_len, size_t num_elem, in hmac_sha384_vector()
[all …]
/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/curl/lib/
Dhash.c93 mk_hash_element(const void *key, size_t key_len, const void *p) in mk_hash_element()
124 Curl_hash_add(struct curl_hash *h, void *key, size_t key_len, void *p) in Curl_hash_add()
159 int Curl_hash_delete(struct curl_hash *h, void *key, size_t key_len) in Curl_hash_delete()
177 Curl_hash_pick(struct curl_hash *h, void *key, size_t key_len) in Curl_hash_pick()
/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()
147 unsigned iterations, size_t key_len, in PKCS5_PBKDF2_HMAC_SHA1()
Dpbkdf_test.cc36 const EVP_MD *digest, size_t key_len, in TestPBKDF2()
165 const size_t key_len = sizeof(key); in TestZeroIterations() local
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/webrtc/talk/session/media/
Dexternalhmac.cc92 err_status_t external_hmac_alloc(auth_t** a, int key_len, int out_len) { in external_hmac_alloc()
135 int key_len) { in external_hmac_init()
/external/wpa_supplicant_8/src/eap_common/
Dikev2_common.c56 int ikev2_integ_hash(int alg, const u8 *key, size_t key_len, const u8 *data, in ikev2_integ_hash()
97 int ikev2_prf_hash(int alg, const u8 *key, size_t key_len, in ikev2_prf_hash()
113 int ikev2_prf_plus(int alg, const u8 *key, size_t key_len, in ikev2_prf_plus()
175 int ikev2_encr_encrypt(int alg, const u8 *key, size_t key_len, const u8 *iv, in ikev2_encr_encrypt()
210 int ikev2_encr_decrypt(int alg, const u8 *key, size_t key_len, const u8 *iv, in ikev2_encr_decrypt()
Deap_pax_common.c30 int eap_pax_kdf(u8 mac_id, const u8 *key, size_t key_len, in eap_pax_kdf()
87 int eap_pax_mac(u8 mac_id, const u8 *key, size_t key_len, in eap_pax_mac()
Deap_eke_common.c206 static int eap_eke_prf(u8 prf, const u8 *key, size_t key_len, const u8 *data, in eap_eke_prf()
231 static int eap_eke_prf_hmac_sha1(const u8 *key, size_t key_len, const u8 *data, in eap_eke_prf_hmac_sha1()
272 static int eap_eke_prf_hmac_sha256(const u8 *key, size_t key_len, const u8 *data, in eap_eke_prf_hmac_sha256()
313 static int eap_eke_prfplus(u8 prf, const u8 *key, size_t key_len, in eap_eke_prfplus()
333 size_t key_len = 16; /* Only AES-128-CBC is used here */ in eap_eke_derive_key() 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/srtp/crypto/include/
Dxfm.h77 unsigned key_len; member
117 unsigned key_len; member
/external/avahi/avahi-compat-libdns_sd/
Dtxt.c118 size_t key_len; in remove_key() local
263 size_t key_len; in find_key() local
410 uint16_t key_len, in TXTRecordGetItemAtIndex()
/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()

12345