/hostap-3.7.0/src/crypto/ |
D | crypto_gnutls.c | 101 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 …]
|
D | crypto_nettle.c | 108 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 …]
|
D | crypto_mbedtls.c | 115 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 …]
|
D | crypto_linux.c | 58 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 …]
|
D | sha256.c | 26 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()
|
D | sha384.c | 26 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()
|
D | sha512.c | 26 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()
|
D | md5.c | 26 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()
|
D | sha1.c | 26 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()
|
D | sha256-prf.c | 30 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()
|
D | sha384-prf.c | 30 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()
|
D | sha512-prf.c | 30 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()
|
D | aes-gcm.c | 175 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()
|
D | aes-siv.c | 64 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()
|
D | crypto_wolfssl.c | 160 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 …]
|
D | crypto_internal.c | 35 size_t key_len; member 40 size_t key_len) in crypto_hash_init()
|
D | crypto_mbedtls_alt.c | 278 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 …]
|
D | crypto_openssl.c | 709 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 …]
|
D | sha1-prf.c | 30 int sha1_prf(const u8 *key, size_t key_len, const char *label, in sha1_prf()
|
D | sha1-tprf.c | 29 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/ |
D | ikev2_common.c | 56 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()
|
D | eap_pax_common.c | 30 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()
|
D | eap_eke_common.c | 183 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/ |
D | test-rc4.c | 16 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/ |
D | supp_psa_api.c | 231 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()
|