Home
last modified time | relevance | path

Searched defs:key (Results 1 – 25 of 160) sorted by relevance

1234567

/hostap-latest/src/crypto/
Dcrypto_internal-rsa.c22 struct crypto_public_key * crypto_public_key_import(const u8 *key, size_t len) in crypto_public_key_import()
38 struct crypto_private_key * crypto_private_key_import(const u8 *key, in crypto_private_key_import()
72 int crypto_public_key_encrypt_pkcs1_v15(struct crypto_public_key *key, in crypto_public_key_encrypt_pkcs1_v15()
81 int crypto_private_key_decrypt_pkcs1_v15(struct crypto_private_key *key, in crypto_private_key_decrypt_pkcs1_v15()
90 int crypto_private_key_sign_pkcs1(struct crypto_private_key *key, in crypto_private_key_sign_pkcs1()
99 void crypto_public_key_free(struct crypto_public_key *key) in crypto_public_key_free()
105 void crypto_private_key_free(struct crypto_private_key *key) in crypto_private_key_free()
111 int crypto_public_key_decrypt_pkcs1(struct crypto_public_key *key, in crypto_public_key_decrypt_pkcs1()
Dcrypto_linux.c57 static int linux_af_alg_hash_vector(const char *alg, const u8 *key, 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()
239 struct crypto_hash * crypto_hash_init(enum crypto_hash_alg alg, const u8 *key, in crypto_hash_init()
[all …]
Dcrypto_gnutls.c48 int des_encrypt(const u8 *clear, const u8 *key, u8 *cypher) in des_encrypt()
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()
[all …]
Dcrypto_nettle.c29 int des_encrypt(const u8 *clear, const u8 *key, u8 *cypher) in des_encrypt()
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()
[all …]
Dcrypto_wolfssl.c50 static int wc_EccPublicKeyToDer_ex(ecc_key *key, byte *output, in wc_EccPublicKeyToDer_ex()
144 static void ecc_key_deinit(ecc_key *key) in ecc_key_deinit()
374 static int wolfssl_hmac_vector(int type, const u8 *key, in wolfssl_hmac_vector()
423 int hmac_md5_vector(const u8 *key, size_t key_len, size_t num_elem, in hmac_md5_vector()
431 int hmac_md5(const u8 *key, size_t key_len, const u8 *data, size_t data_len, in hmac_md5()
440 int hmac_sha1_vector(const u8 *key, size_t key_len, size_t num_elem, in hmac_sha1_vector()
448 int hmac_sha1(const u8 *key, size_t key_len, const u8 *data, size_t data_len, in hmac_sha1()
457 int hmac_sha256_vector(const u8 *key, size_t key_len, size_t num_elem, in hmac_sha256_vector()
465 int hmac_sha256(const u8 *key, size_t key_len, const u8 *data, in hmac_sha256()
476 int hmac_sha384_vector(const u8 *key, size_t key_len, size_t num_elem, in hmac_sha384_vector()
[all …]
Dcrypto_libtomcrypt.c38 int des_encrypt(const u8 *clear, const u8 *key, u8 *cypher) in des_encrypt()
86 void * aes_encrypt_init(const u8 *key, size_t len) in aes_encrypt_init()
115 void * aes_decrypt_init(const u8 *key, size_t len) in aes_decrypt_init()
154 struct crypto_hash * crypto_hash_init(enum crypto_hash_alg alg, const u8 *key, in crypto_hash_init()
294 u8 key[16]; member
302 const u8 *iv, const u8 *key, in crypto_cipher_init()
420 struct crypto_public_key * crypto_public_key_import(const u8 *key, size_t len) in crypto_public_key_import()
450 struct crypto_private_key * crypto_private_key_import(const u8 *key, in crypto_private_key_import()
553 static int crypto_rsa_encrypt_pkcs1(int block_type, rsa_key *key, int key_type, in crypto_rsa_encrypt_pkcs1()
579 int crypto_public_key_encrypt_pkcs1_v15(struct crypto_public_key *key, in crypto_public_key_encrypt_pkcs1_v15()
[all …]
Dcrypto_mbedtls_alt.c308 struct crypto_hash *crypto_hash_init(enum crypto_hash_alg alg, const u8 *key, size_t key_len) in crypto_hash_init()
389 __attribute_noinline__ static int hmac_vector(const u8 *key, in hmac_vector()
419 int hmac_sha512_vector(const u8 *key, size_t key_len, size_t num_elem, const u8 *addr[], const size… in hmac_sha512_vector()
424 int hmac_sha512(const u8 *key, size_t key_len, const u8 *data, size_t data_len, u8 *mac) in hmac_sha512()
429 int hmac_sha384_vector(const u8 *key, size_t key_len, size_t num_elem, const u8 *addr[], const size… in hmac_sha384_vector()
434 int hmac_sha384(const u8 *key, size_t key_len, const u8 *data, size_t data_len, u8 *mac) in hmac_sha384()
439 int hmac_sha256_vector(const u8 *key, size_t key_len, size_t num_elem, const u8 *addr[], const size… in hmac_sha256_vector()
444 int hmac_sha256(const u8 *key, size_t key_len, const u8 *data, size_t data_len, u8 *mac) in hmac_sha256()
450 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()
455 int hmac_sha1(const u8 *key, size_t key_len, const u8 *data, size_t data_len, u8 *mac) in hmac_sha1()
[all …]
Daes-omac1.c43 int omac1_aes_vector(const u8 *key, size_t key_len, size_t num_elem, in omac1_aes_vector()
133 int omac1_aes_128_vector(const u8 *key, size_t num_elem, in omac1_aes_128_vector()
152 int omac1_aes_128(const u8 *key, const u8 *data, size_t data_len, u8 *mac) in omac1_aes_128()
170 int omac1_aes_256(const u8 *key, const u8 *data, size_t data_len, u8 *mac) in omac1_aes_256()
Ddes-internal.c273 static void deskey(const u8 *key, int decrypt, u32 *keyout) in deskey()
399 int des_encrypt(const u8 *clear, const u8 *key, u8 *cypher) in des_encrypt()
428 void des_key_setup(const u8 *key, u32 *ek, u32 *dk) in des_key_setup()
457 void des3_key_setup(const u8 *key, struct des3_key_s *dkey) in des3_key_setup()
469 void des3_encrypt(const u8 *plain, const struct des3_key_s *key, u8 *crypt) in des3_encrypt()
483 void des3_decrypt(const u8 *crypt, const struct des3_key_s *key, u8 *plain) in des3_decrypt()
Dcrypto_openssl.c329 int des_encrypt(const u8 *clear, const u8 *key, u8 *cypher) in des_encrypt()
363 int rc4_skip(const u8 *key, size_t keylen, size_t skip, in rc4_skip()
461 void * aes_encrypt_init(const u8 *key, size_t len) in aes_encrypt_init()
518 void * aes_decrypt_init(const u8 *key, size_t len) in aes_decrypt_init()
685 int aes_128_cbc_encrypt(const u8 *key, const u8 *iv, u8 *data, size_t data_len) in aes_128_cbc_encrypt()
712 int aes_128_cbc_decrypt(const u8 *key, const u8 *iv, u8 *data, size_t data_len) in aes_128_cbc_decrypt()
855 const u8 *iv, const u8 *key, in crypto_cipher_init()
1325 struct crypto_hash * crypto_hash_init(enum crypto_hash_alg alg, const u8 *key, in crypto_hash_init()
1520 static int openssl_hmac_vector(char *digest, const u8 *key, in openssl_hmac_vector()
1566 int hmac_md5_vector(const u8 *key, size_t key_len, size_t num_elem, in hmac_md5_vector()
[all …]
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.c26 int hmac_sha256_vector(const u8 *key, size_t key_len, size_t num_elem, in hmac_sha256_vector()
109 int hmac_sha256(const u8 *key, size_t key_len, const u8 *data, in hmac_sha256()
Daes-ctr.c25 int aes_ctr_encrypt(const u8 *key, size_t key_len, const u8 *nonce, in aes_ctr_encrypt()
67 int aes_128_ctr_encrypt(const u8 *key, const u8 *nonce, in aes_128_ctr_encrypt()
Daes-cbc.c24 int aes_128_cbc_encrypt(const u8 *key, const u8 *iv, u8 *data, size_t data_len) in aes_128_cbc_encrypt()
60 int aes_128_cbc_decrypt(const u8 *key, const u8 *iv, u8 *data, size_t data_len) in aes_128_cbc_decrypt()
Dcrypto_internal-cipher.c22 u8 key[16]; member
31 struct des3_key_s key; member
44 const u8 *iv, const u8 *key, in crypto_cipher_init()
/hostap-latest/wpa_supplicant/dbus/
Ddbus_dict_helpers.c102 const char *key, const int value_type) in _wpa_dbus_add_dict_entry_start()
126 const char *key, in _wpa_dbus_add_dict_entry_basic()
154 DBusMessageIter *iter_dict, const char *key, in _wpa_dbus_add_dict_entry_byte_array()
198 const char *key, const char *value) in wpa_dbus_dict_append_string()
218 const char *key, const dbus_bool_t value) in wpa_dbus_dict_append_bool()
236 const char *key, in wpa_dbus_dict_append_int16()
255 const char *key, in wpa_dbus_dict_append_uint16()
274 const char *key, in wpa_dbus_dict_append_int32()
293 const char *key, in wpa_dbus_dict_append_uint32()
312 const char *key, in wpa_dbus_dict_append_uint64()
[all …]
/hostap-latest/src/tls/
Drsa.c63 struct crypto_rsa_key *key; in crypto_rsa_import_public_key() local
118 struct crypto_rsa_key *key; in crypto_rsa_import_public_key_parts() local
146 struct crypto_rsa_key *key; in crypto_rsa_import_private_key() local
240 size_t crypto_rsa_get_modulus_len(struct crypto_rsa_key *key) in crypto_rsa_get_modulus_len()
257 struct crypto_rsa_key *key, int use_private) in crypto_rsa_exptmod()
353 void crypto_rsa_free(struct crypto_rsa_key *key) in crypto_rsa_free()
Dpkcs1.c81 int pkcs1_encrypt(int block_type, struct crypto_rsa_key *key, in pkcs1_encrypt()
97 int pkcs1_v15_private_key_decrypt(struct crypto_rsa_key *key, in pkcs1_v15_private_key_decrypt()
134 int pkcs1_decrypt_public_key(struct crypto_rsa_key *key, in pkcs1_decrypt_public_key()
/hostap-latest/wlantest/
Dwep.c17 void wep_crypt(u8 *key, u8 *buf, size_t plen) in wep_crypt()
46 static int try_wep(const u8 *key, size_t key_len, const u8 *data, in try_wep()
77 u8 key[16]; in wep_decrypt() local
/hostap-latest/src/common/
Ddpp_backup.c20 void dpp_free_asymmetric_key(struct dpp_asymmetric_key *key) in dpp_free_asymmetric_key()
153 struct wpabuf *key = NULL, *attr, *alg, *priv_key = NULL; in dpp_build_key_pkg() local
270 u8 key[DPP_MAX_HASH_LEN]; in dpp_build_pw_recipient_info() local
438 struct wpabuf *key; in dpp_gen_random() local
866 struct dpp_asymmetric_key *key; in dpp_parse_one_asymmetric_key() local
1103 struct dpp_asymmetric_key *first = NULL, *last = NULL, *key; in dpp_parse_dpp_asymmetric_key_package() local
1135 u8 key[DPP_MAX_HASH_LEN]; in dpp_conf_resp_env_data() local
/hostap-latest/src/eap_common/
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()
306 size_t id_p_len, u8 *key) in eap_eke_derive_key()
342 int eap_eke_dhcomp(struct eap_eke_session *sess, const u8 *key, const u8 *dhpub, in eap_eke_dhcomp()
377 int eap_eke_shared_secret(struct eap_eke_session *sess, const u8 *key, in eap_eke_shared_secret()
572 static int eap_eke_mac(u8 mac, const u8 *key, const u8 *data, size_t data_len, in eap_eke_mac()
/hostap-latest/port/mbedtls/
Dsupp_psa_api.c123 int aes_128_encrypt_block_psa(const u8 *key, const u8 *in, u8 *out) in aes_128_encrypt_block_psa()
148 int aes_128_cbc_encrypt_psa(const u8 *key, const u8 *iv, u8 *data, size_t data_len) in aes_128_cbc_encrypt_psa()
191 int aes_128_cbc_decrypt_psa(const u8 *key, const u8 *iv, u8 *data, size_t data_len) in aes_128_cbc_decrypt_psa()
234 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()
279 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()
362 int hmac_vector_psa(const u8 *key, in hmac_vector_psa()

1234567