/external/wpa_supplicant_8/hostapd/src/crypto/ |
H A D | crypto_internal.c | 27 size_t key_len; member in struct:crypto_hash 32 size_t key_len) 58 if (key_len > sizeof(k_pad)) { 60 MD5Update(&ctx->u.md5, key, key_len); 63 key_len = 16; 65 os_memcpy(ctx->key, key, key_len); 66 ctx->key_len = key_len; 68 os_memcpy(k_pad, key, key_len); 69 if (key_len < sizeo 31 crypto_hash_init(enum crypto_hash_alg alg, const u8 *key, size_t key_len) argument [all...] |
H A D | md5.c | 19 * @key_len: Length of the key in bytes 26 int hmac_md5_vector(const u8 *key, size_t key_len, size_t num_elem, argument 44 if (key_len > 64) { 45 if (md5_vector(1, &key, &key_len, tk)) 48 key_len = 16; 62 os_memcpy(k_pad, key, key_len); 79 os_memcpy(k_pad, key, key_len); 99 * @key_len: Length of the key in bytes 105 int hmac_md5(const u8 *key, size_t key_len, const u8 *data, size_t data_len, argument 108 return hmac_md5_vector(key, key_len, [all...] |
H A D | md5.h | 14 int hmac_md5_vector(const u8 *key, size_t key_len, size_t num_elem, 16 int hmac_md5(const u8 *key, size_t key_len, const u8 *data, size_t data_len,
|
H A D | sha1.c | 19 * @key_len: Length of the key in bytes 26 int hmac_sha1_vector(const u8 *key, size_t key_len, size_t num_elem, argument 44 if (key_len > 64) { 45 if (sha1_vector(1, &key, &key_len, tk)) 48 key_len = 20; 62 os_memcpy(k_pad, key, key_len); 78 os_memcpy(k_pad, key, key_len); 97 * @key_len: Length of the key in bytes 103 int hmac_sha1(const u8 *key, size_t key_len, const u8 *data, size_t data_len, argument 106 return hmac_sha1_vector(key, key_len, [all...] |
H A D | sha256.c | 19 * @key_len: Length of the key in bytes 26 int hmac_sha256_vector(const u8 *key, size_t key_len, size_t num_elem, argument 43 if (key_len > 64) { 44 if (sha256_vector(1, &key, &key_len, tk) < 0) 47 key_len = 32; 61 os_memcpy(k_pad, key, key_len); 77 os_memcpy(k_pad, key, key_len); 94 * @key_len: Length of the key in bytes 100 int hmac_sha256(const u8 *key, size_t key_len, const u8 *data, argument 103 return hmac_sha256_vector(key, key_len, [all...] |
H A D | sha384.h | 14 int hmac_sha384_vector(const u8 *key, size_t key_len, size_t num_elem, 16 int hmac_sha384(const u8 *key, size_t key_len, const u8 *data,
|
H A D | sha1.h | 14 int hmac_sha1_vector(const u8 *key, size_t key_len, size_t num_elem, 16 int hmac_sha1(const u8 *key, size_t key_len, const u8 *data, size_t data_len, 18 int sha1_prf(const u8 *key, size_t key_len, const char *label, 20 int sha1_t_prf(const u8 *key, size_t key_len, const char *label,
|
/external/wpa_supplicant_8/src/crypto/ |
H A D | crypto_internal.c | 27 size_t key_len; member in struct:crypto_hash 32 size_t key_len) 58 if (key_len > sizeof(k_pad)) { 60 MD5Update(&ctx->u.md5, key, key_len); 63 key_len = 16; 65 os_memcpy(ctx->key, key, key_len); 66 ctx->key_len = key_len; 68 os_memcpy(k_pad, key, key_len); 69 if (key_len < sizeo 31 crypto_hash_init(enum crypto_hash_alg alg, const u8 *key, size_t key_len) argument [all...] |
H A D | md5.c | 19 * @key_len: Length of the key in bytes 26 int hmac_md5_vector(const u8 *key, size_t key_len, size_t num_elem, argument 44 if (key_len > 64) { 45 if (md5_vector(1, &key, &key_len, tk)) 48 key_len = 16; 62 os_memcpy(k_pad, key, key_len); 79 os_memcpy(k_pad, key, key_len); 99 * @key_len: Length of the key in bytes 105 int hmac_md5(const u8 *key, size_t key_len, const u8 *data, size_t data_len, argument 108 return hmac_md5_vector(key, key_len, [all...] |
H A D | md5.h | 14 int hmac_md5_vector(const u8 *key, size_t key_len, size_t num_elem, 16 int hmac_md5(const u8 *key, size_t key_len, const u8 *data, size_t data_len,
|
H A D | sha1.c | 19 * @key_len: Length of the key in bytes 26 int hmac_sha1_vector(const u8 *key, size_t key_len, size_t num_elem, argument 44 if (key_len > 64) { 45 if (sha1_vector(1, &key, &key_len, tk)) 48 key_len = 20; 62 os_memcpy(k_pad, key, key_len); 78 os_memcpy(k_pad, key, key_len); 97 * @key_len: Length of the key in bytes 103 int hmac_sha1(const u8 *key, size_t key_len, const u8 *data, size_t data_len, argument 106 return hmac_sha1_vector(key, key_len, [all...] |
H A D | sha256.c | 19 * @key_len: Length of the key in bytes 26 int hmac_sha256_vector(const u8 *key, size_t key_len, size_t num_elem, argument 43 if (key_len > 64) { 44 if (sha256_vector(1, &key, &key_len, tk) < 0) 47 key_len = 32; 61 os_memcpy(k_pad, key, key_len); 77 os_memcpy(k_pad, key, key_len); 94 * @key_len: Length of the key in bytes 100 int hmac_sha256(const u8 *key, size_t key_len, const u8 *data, argument 103 return hmac_sha256_vector(key, key_len, [all...] |
H A D | sha384.h | 14 int hmac_sha384_vector(const u8 *key, size_t key_len, size_t num_elem, 16 int hmac_sha384(const u8 *key, size_t key_len, const u8 *data,
|
H A D | sha1.h | 14 int hmac_sha1_vector(const u8 *key, size_t key_len, size_t num_elem, 16 int hmac_sha1(const u8 *key, size_t key_len, const u8 *data, size_t data_len, 18 int sha1_prf(const u8 *key, size_t key_len, const char *label, 20 int sha1_t_prf(const u8 *key, size_t key_len, const char *label,
|
/external/wpa_supplicant_8/wpa_supplicant/src/crypto/ |
H A D | crypto_internal.c | 27 size_t key_len; member in struct:crypto_hash 32 size_t key_len) 58 if (key_len > sizeof(k_pad)) { 60 MD5Update(&ctx->u.md5, key, key_len); 63 key_len = 16; 65 os_memcpy(ctx->key, key, key_len); 66 ctx->key_len = key_len; 68 os_memcpy(k_pad, key, key_len); 69 if (key_len < sizeo 31 crypto_hash_init(enum crypto_hash_alg alg, const u8 *key, size_t key_len) argument [all...] |
H A D | md5.c | 19 * @key_len: Length of the key in bytes 26 int hmac_md5_vector(const u8 *key, size_t key_len, size_t num_elem, argument 44 if (key_len > 64) { 45 if (md5_vector(1, &key, &key_len, tk)) 48 key_len = 16; 62 os_memcpy(k_pad, key, key_len); 79 os_memcpy(k_pad, key, key_len); 99 * @key_len: Length of the key in bytes 105 int hmac_md5(const u8 *key, size_t key_len, const u8 *data, size_t data_len, argument 108 return hmac_md5_vector(key, key_len, [all...] |
H A D | md5.h | 14 int hmac_md5_vector(const u8 *key, size_t key_len, size_t num_elem, 16 int hmac_md5(const u8 *key, size_t key_len, const u8 *data, size_t data_len,
|
H A D | sha1.c | 19 * @key_len: Length of the key in bytes 26 int hmac_sha1_vector(const u8 *key, size_t key_len, size_t num_elem, argument 44 if (key_len > 64) { 45 if (sha1_vector(1, &key, &key_len, tk)) 48 key_len = 20; 62 os_memcpy(k_pad, key, key_len); 78 os_memcpy(k_pad, key, key_len); 97 * @key_len: Length of the key in bytes 103 int hmac_sha1(const u8 *key, size_t key_len, const u8 *data, size_t data_len, argument 106 return hmac_sha1_vector(key, key_len, [all...] |
H A D | sha256.c | 19 * @key_len: Length of the key in bytes 26 int hmac_sha256_vector(const u8 *key, size_t key_len, size_t num_elem, argument 43 if (key_len > 64) { 44 if (sha256_vector(1, &key, &key_len, tk) < 0) 47 key_len = 32; 61 os_memcpy(k_pad, key, key_len); 77 os_memcpy(k_pad, key, key_len); 94 * @key_len: Length of the key in bytes 100 int hmac_sha256(const u8 *key, size_t key_len, const u8 *data, argument 103 return hmac_sha256_vector(key, key_len, [all...] |
H A D | sha384.h | 14 int hmac_sha384_vector(const u8 *key, size_t key_len, size_t num_elem, 16 int hmac_sha384(const u8 *key, size_t key_len, const u8 *data,
|
H A D | sha1.h | 14 int hmac_sha1_vector(const u8 *key, size_t key_len, size_t num_elem, 16 int hmac_sha1(const u8 *key, size_t key_len, const u8 *data, size_t data_len, 18 int sha1_prf(const u8 *key, size_t key_len, const char *label, 20 int sha1_t_prf(const u8 *key, size_t key_len, const char *label,
|
/external/srtp/crypto/include/ |
H A D | null_auth.h | 55 null_auth_alloc(auth_t **a, int key_len, int out_len); 61 null_auth_init(null_auth_ctx_t *state, const uint8_t *key, int key_len);
|
/external/wpa_supplicant_8/hostapd/src/eap_common/ |
H A D | eap_peap_common.h | 12 int peap_prfplus(int version, const u8 *key, size_t key_len,
|
/external/wpa_supplicant_8/src/eap_common/ |
H A D | eap_peap_common.h | 12 int peap_prfplus(int version, const u8 *key, size_t key_len,
|
/external/wpa_supplicant_8/wpa_supplicant/src/eap_common/ |
H A D | eap_peap_common.h | 12 int peap_prfplus(int version, const u8 *key, size_t key_len,
|