Home
last modified time | relevance | path

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

1234

/hostap-3.7.0/src/crypto/
Dcrypto_gnutls.c101 static int gnutls_hmac_vector(int algo, const u8 *key, size_t key_len, in gnutls_hmac_vector()
128 int hmac_md5_vector(const u8 *key, size_t key_len, size_t num_elem, in hmac_md5_vector()
136 int hmac_md5(const u8 *key, size_t key_len, const u8 *data, size_t data_len, in hmac_md5()
143 int hmac_sha1_vector(const u8 *key, size_t key_len, size_t num_elem, in hmac_sha1_vector()
151 int hmac_sha1(const u8 *key, size_t key_len, const u8 *data, size_t data_len, in hmac_sha1()
160 int hmac_sha256_vector(const u8 *key, size_t key_len, size_t num_elem, in hmac_sha256_vector()
168 int hmac_sha256(const u8 *key, size_t key_len, const u8 *data, in hmac_sha256()
179 int hmac_sha384_vector(const u8 *key, size_t key_len, size_t num_elem, in hmac_sha384_vector()
187 int hmac_sha384(const u8 *key, size_t key_len, const u8 *data, in hmac_sha384()
198 int hmac_sha512_vector(const u8 *key, size_t key_len, size_t num_elem, in hmac_sha512_vector()
[all …]
Dcrypto_nettle.c108 int hmac_md5_vector(const u8 *key, size_t key_len, size_t num_elem, in hmac_md5_vector()
126 int hmac_md5(const u8 *key, size_t key_len, const u8 *data, size_t data_len, in hmac_md5()
133 int hmac_sha1_vector(const u8 *key, size_t key_len, size_t num_elem, in hmac_sha1_vector()
151 int hmac_sha1(const u8 *key, size_t key_len, const u8 *data, size_t data_len, in hmac_sha1()
160 int hmac_sha256_vector(const u8 *key, size_t key_len, size_t num_elem, in hmac_sha256_vector()
178 int hmac_sha256(const u8 *key, size_t key_len, const u8 *data, in hmac_sha256()
189 int hmac_sha384_vector(const u8 *key, size_t key_len, size_t num_elem, in hmac_sha384_vector()
207 int hmac_sha384(const u8 *key, size_t key_len, const u8 *data, in hmac_sha384()
218 int hmac_sha512_vector(const u8 *key, size_t key_len, size_t num_elem, in hmac_sha512_vector()
236 int hmac_sha512(const u8 *key, size_t key_len, const u8 *data, in hmac_sha512()
[all …]
Dcrypto_mbedtls.c115 crypto_hash_init(enum crypto_hash_alg alg, const u8 *key, size_t key_len) in crypto_hash_init()
184 mbedtls_md_type_t md_type, const u8 *key, size_t key_len, size_t num_elem, in hmac_vector()
218 const u8 *key, size_t key_len, size_t num_elem, const u8 *addr[], in hmac_sha384_vector()
226 const u8 *key, size_t key_len, const u8 *data, size_t data_len, u8 *mac) in hmac_sha384()
232 const u8 *key, size_t key_len, size_t num_elem, const u8 *addr[], in hmac_sha256_vector()
240 const u8 *key, size_t key_len, const u8 *data, size_t data_len, u8 *mac) in hmac_sha256()
246 const u8 *key, size_t key_len, size_t num_elem, const u8 *addr[], in hmac_md5_vector()
254 const u8 *key, size_t key_len, const u8 *data, size_t data_len, u8 *mac) in hmac_md5()
260 const u8 *key, size_t key_len, size_t num_elem, const u8 *addr[], in hmac_sha1_vector()
268 const u8 *key, size_t key_len, const u8 *data, size_t data_len, u8 *mac) in hmac_sha1()
[all …]
Dcrypto_linux.c58 size_t key_len, size_t num_elem, in linux_af_alg_hash_vector()
171 int hmac_md5_vector(const u8 *key, size_t key_len, size_t num_elem, in hmac_md5_vector()
179 int hmac_md5(const u8 *key, size_t key_len, const u8 *data, size_t data_len, in hmac_md5()
186 int hmac_sha1_vector(const u8 *key, size_t key_len, size_t num_elem, in hmac_sha1_vector()
194 int hmac_sha1(const u8 *key, size_t key_len, const u8 *data, size_t data_len, in hmac_sha1()
201 int hmac_sha256_vector(const u8 *key, size_t key_len, size_t num_elem, in hmac_sha256_vector()
209 int hmac_sha256(const u8 *key, size_t key_len, const u8 *data, in hmac_sha256()
216 int hmac_sha384_vector(const u8 *key, size_t key_len, size_t num_elem, in hmac_sha384_vector()
224 int hmac_sha384(const u8 *key, size_t key_len, const u8 *data, in hmac_sha384()
240 size_t key_len) in crypto_hash_init()
[all …]
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()
Dsha384.c26 int hmac_sha384_vector(const u8 *key, size_t key_len, size_t num_elem, in hmac_sha384_vector()
100 int hmac_sha384(const u8 *key, size_t key_len, const u8 *data, in hmac_sha384()
Dsha512.c26 int hmac_sha512_vector(const u8 *key, size_t key_len, size_t num_elem, in hmac_sha512_vector()
100 int hmac_sha512(const u8 *key, size_t key_len, const u8 *data, in hmac_sha512()
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()
104 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.c30 int sha384_prf(const u8 *key, size_t key_len, const char *label, in sha384_prf()
54 int sha384_prf_bits(const u8 *key, size_t key_len, const char *label, in sha384_prf_bits()
Dsha512-prf.c30 int sha512_prf(const u8 *key, size_t key_len, const char *label, in sha512_prf()
54 int sha512_prf_bits(const u8 *key, size_t key_len, const char *label, in sha512_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()
Daes-siv.c64 static int aes_s2v(const u8 *key, size_t key_len, in aes_s2v()
119 int aes_siv_encrypt(const u8 *key, size_t key_len, in aes_siv_encrypt()
162 int aes_siv_decrypt(const u8 *key, size_t key_len, in aes_siv_decrypt()
Dcrypto_wolfssl.c160 size_t key_len, size_t num_elem, in wolfssl_hmac_vector()
185 int hmac_md5_vector(const u8 *key, size_t key_len, size_t num_elem, in hmac_md5_vector()
193 int hmac_md5(const u8 *key, size_t key_len, const u8 *data, size_t data_len, in hmac_md5()
202 int hmac_sha1_vector(const u8 *key, size_t key_len, size_t num_elem, in hmac_sha1_vector()
210 int hmac_sha1(const u8 *key, size_t key_len, const u8 *data, size_t data_len, in hmac_sha1()
219 int hmac_sha256_vector(const u8 *key, size_t key_len, size_t num_elem, in hmac_sha256_vector()
227 int hmac_sha256(const u8 *key, size_t key_len, const u8 *data, in hmac_sha256()
238 int hmac_sha384_vector(const u8 *key, size_t key_len, size_t num_elem, in hmac_sha384_vector()
246 int hmac_sha384(const u8 *key, size_t key_len, const u8 *data, in hmac_sha384()
257 int hmac_sha512_vector(const u8 *key, size_t key_len, size_t num_elem, in hmac_sha512_vector()
[all …]
Dcrypto_internal.c35 size_t key_len; member
40 size_t key_len) in crypto_hash_init()
Dcrypto_mbedtls_alt.c278 struct crypto_hash *crypto_hash_init(enum crypto_hash_alg alg, const u8 *key, size_t key_len) in crypto_hash_init()
360 size_t key_len, in hmac_vector()
389 int hmac_sha512_vector(const u8 *key, size_t key_len, size_t num_elem, const u8 *addr[], const size… in hmac_sha512_vector()
394 int hmac_sha512(const u8 *key, size_t key_len, const u8 *data, size_t data_len, u8 *mac) in hmac_sha512()
399 int hmac_sha384_vector(const u8 *key, size_t key_len, size_t num_elem, const u8 *addr[], const size… in hmac_sha384_vector()
404 int hmac_sha384(const u8 *key, size_t key_len, const u8 *data, size_t data_len, u8 *mac) in hmac_sha384()
409 int hmac_sha256_vector(const u8 *key, size_t key_len, size_t num_elem, const u8 *addr[], const size… in hmac_sha256_vector()
414 int hmac_sha256(const u8 *key, size_t key_len, const u8 *data, size_t data_len, u8 *mac) in hmac_sha256()
420 int hmac_sha1_vector(const u8 *key, size_t key_len, size_t num_elem, const u8 *addr[], const size_t… in hmac_sha1_vector()
425 int hmac_sha1(const u8 *key, size_t key_len, const u8 *data, size_t data_len, u8 *mac) in hmac_sha1()
[all …]
Dcrypto_openssl.c709 size_t key_len) in crypto_cipher_init()
1057 size_t key_len) in crypto_hash_init()
1143 size_t key_len, size_t num_elem, in openssl_hmac_vector()
1174 int hmac_md5_vector(const u8 *key, size_t key_len, size_t num_elem, in hmac_md5_vector()
1182 int hmac_md5(const u8 *key, size_t key_len, const u8 *data, size_t data_len, in hmac_md5()
1201 int hmac_sha1_vector(const u8 *key, size_t key_len, size_t num_elem, in hmac_sha1_vector()
1209 int hmac_sha1(const u8 *key, size_t key_len, const u8 *data, size_t data_len, in hmac_sha1()
1218 int hmac_sha256_vector(const u8 *key, size_t key_len, size_t num_elem, in hmac_sha256_vector()
1226 int hmac_sha256(const u8 *key, size_t key_len, const u8 *data, in hmac_sha256()
1237 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()
/hostap-3.7.0/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.c183 static int eap_eke_prf(u8 prf, const u8 *key, size_t key_len, const u8 *data, in eap_eke_prf()
208 static int eap_eke_prf_hmac_sha1(const u8 *key, size_t key_len, const u8 *data, in eap_eke_prf_hmac_sha1()
249 static int eap_eke_prf_hmac_sha256(const u8 *key, size_t key_len, const u8 *data, in eap_eke_prf_hmac_sha256()
290 static int eap_eke_prfplus(u8 prf, const u8 *key, size_t key_len, in eap_eke_prfplus()
310 size_t key_len = 16; /* Only AES-128-CBC is used here */ in eap_eke_derive_key() local
/hostap-3.7.0/tests/
Dtest-rc4.c16 size_t key_len; member
204 static int run_test(unsigned int i, const u8 *key, size_t key_len, in run_test()
/hostap-3.7.0/port/mbedtls/
Dsupp_psa_api.c231 int aes_ctr_encrypt_psa(const u8 *key, size_t key_len, const u8 *nonce, u8 *data, size_t data_len) in aes_ctr_encrypt_psa()
276 int omac1_aes_vector_psa(const u8 *key, size_t key_len, size_t num_elem, const u8 *addr[], const si… in omac1_aes_vector_psa()
360 size_t key_len, in hmac_vector_psa()

1234