Searched defs:num_elem (Results 1 - 25 of 50) sorted by relevance

12

/external/wpa_supplicant_8/hostapd/src/crypto/
H A Dcrypto_none.c15 int md4_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) argument
H A Dmd5.c20 * @num_elem: Number of elements in the data vector
26 int hmac_md5_vector(const u8 *key, size_t key_len, size_t num_elem, argument
35 if (num_elem > 5) {
71 for (i = 0; i < num_elem; i++) {
75 if (md5_vector(1 + num_elem, _addr, _len, mac))
H A Dsha1.c20 * @num_elem: Number of elements in the data vector
26 int hmac_sha1_vector(const u8 *key, size_t key_len, size_t num_elem, argument
35 if (num_elem > 5) {
70 for (i = 0; i < num_elem; i++) {
74 if (sha1_vector(1 + num_elem, _addr, _len, mac))
H A Dsha256.c20 * @num_elem: Number of elements in the data vector
26 int hmac_sha256_vector(const u8 *key, size_t key_len, size_t num_elem, argument
34 if (num_elem > 5) {
69 for (i = 0; i < num_elem; i++) {
73 if (sha256_vector(1 + num_elem, _addr, _len, mac) < 0)
H A Daes-omac1.c33 * @num_elem: Number of elements in the data vector
43 int omac1_aes_vector(const u8 *key, size_t key_len, size_t num_elem, argument
57 for (e = 0; e < num_elem; e++)
120 * @num_elem: Number of elements in the data vector
130 int omac1_aes_128_vector(const u8 *key, size_t num_elem, argument
133 return omac1_aes_vector(key, 16, num_elem, addr, len, mac);
H A Daes-siv.c64 static int aes_s2v(const u8 *key, size_t num_elem, const u8 *addr[], argument
72 if (!num_elem) {
82 for (i = 0; i < num_elem - 1; i++) {
111 size_t pwlen, size_t num_elem,
121 if (num_elem > ARRAY_SIZE(_addr) - 1)
124 for (i = 0; i < num_elem; i++) {
128 _addr[num_elem] = pw;
129 _len[num_elem] = pwlen;
131 if (aes_s2v(k1, num_elem + 1, _addr, _len, v))
148 size_t num_elem, cons
110 aes_siv_encrypt(const u8 *key, const u8 *pw, size_t pwlen, size_t num_elem, const u8 *addr[], const size_t *len, u8 *out) argument
147 aes_siv_decrypt(const u8 *key, const u8 *iv_crypt, size_t iv_c_len, size_t num_elem, const u8 *addr[], const size_t *len, u8 *out) argument
[all...]
H A Dmd4-internal.c29 int md4_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) argument
35 for (i = 0; i < num_elem; i++)
H A Dmd5-internal.c25 * @num_elem: Number of elements in the data vector
31 int md5_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) argument
37 for (i = 0; i < num_elem; i++)
H A Dsha1-internal.c25 * @num_elem: Number of elements in the data vector
31 int sha1_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) argument
37 for (i = 0; i < num_elem; i++)
H A Dsha256-internal.c19 * @num_elem: Number of elements in the data vector
25 int sha256_vector(size_t num_elem, const u8 *addr[], const size_t *len, argument
32 for (i = 0; i < num_elem; i++)
/external/wpa_supplicant_8/src/crypto/
H A Dcrypto_none.c15 int md4_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) argument
H A Dmd5.c20 * @num_elem: Number of elements in the data vector
26 int hmac_md5_vector(const u8 *key, size_t key_len, size_t num_elem, argument
35 if (num_elem > 5) {
71 for (i = 0; i < num_elem; i++) {
75 if (md5_vector(1 + num_elem, _addr, _len, mac))
H A Dsha1.c20 * @num_elem: Number of elements in the data vector
26 int hmac_sha1_vector(const u8 *key, size_t key_len, size_t num_elem, argument
35 if (num_elem > 5) {
70 for (i = 0; i < num_elem; i++) {
74 if (sha1_vector(1 + num_elem, _addr, _len, mac))
H A Dsha256.c20 * @num_elem: Number of elements in the data vector
26 int hmac_sha256_vector(const u8 *key, size_t key_len, size_t num_elem, argument
34 if (num_elem > 5) {
69 for (i = 0; i < num_elem; i++) {
73 if (sha256_vector(1 + num_elem, _addr, _len, mac) < 0)
H A Daes-omac1.c33 * @num_elem: Number of elements in the data vector
43 int omac1_aes_vector(const u8 *key, size_t key_len, size_t num_elem, argument
57 for (e = 0; e < num_elem; e++)
120 * @num_elem: Number of elements in the data vector
130 int omac1_aes_128_vector(const u8 *key, size_t num_elem, argument
133 return omac1_aes_vector(key, 16, num_elem, addr, len, mac);
H A Daes-siv.c64 static int aes_s2v(const u8 *key, size_t num_elem, const u8 *addr[], argument
72 if (!num_elem) {
82 for (i = 0; i < num_elem - 1; i++) {
111 size_t pwlen, size_t num_elem,
121 if (num_elem > ARRAY_SIZE(_addr) - 1)
124 for (i = 0; i < num_elem; i++) {
128 _addr[num_elem] = pw;
129 _len[num_elem] = pwlen;
131 if (aes_s2v(k1, num_elem + 1, _addr, _len, v))
148 size_t num_elem, cons
110 aes_siv_encrypt(const u8 *key, const u8 *pw, size_t pwlen, size_t num_elem, const u8 *addr[], const size_t *len, u8 *out) argument
147 aes_siv_decrypt(const u8 *key, const u8 *iv_crypt, size_t iv_c_len, size_t num_elem, const u8 *addr[], const size_t *len, u8 *out) argument
[all...]
H A Dmd4-internal.c29 int md4_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) argument
35 for (i = 0; i < num_elem; i++)
H A Dmd5-internal.c25 * @num_elem: Number of elements in the data vector
31 int md5_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) argument
37 for (i = 0; i < num_elem; i++)
H A Dsha1-internal.c25 * @num_elem: Number of elements in the data vector
31 int sha1_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) argument
37 for (i = 0; i < num_elem; i++)
H A Dsha256-internal.c19 * @num_elem: Number of elements in the data vector
25 int sha256_vector(size_t num_elem, const u8 *addr[], const size_t *len, argument
32 for (i = 0; i < num_elem; i++)
/external/wpa_supplicant_8/wpa_supplicant/src/crypto/
H A Dcrypto_none.c15 int md4_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) argument
H A Dmd5.c20 * @num_elem: Number of elements in the data vector
26 int hmac_md5_vector(const u8 *key, size_t key_len, size_t num_elem, argument
35 if (num_elem > 5) {
71 for (i = 0; i < num_elem; i++) {
75 if (md5_vector(1 + num_elem, _addr, _len, mac))
H A Dsha1.c20 * @num_elem: Number of elements in the data vector
26 int hmac_sha1_vector(const u8 *key, size_t key_len, size_t num_elem, argument
35 if (num_elem > 5) {
70 for (i = 0; i < num_elem; i++) {
74 if (sha1_vector(1 + num_elem, _addr, _len, mac))
H A Dsha256.c20 * @num_elem: Number of elements in the data vector
26 int hmac_sha256_vector(const u8 *key, size_t key_len, size_t num_elem, argument
34 if (num_elem > 5) {
69 for (i = 0; i < num_elem; i++) {
73 if (sha256_vector(1 + num_elem, _addr, _len, mac) < 0)
H A Daes-omac1.c33 * @num_elem: Number of elements in the data vector
43 int omac1_aes_vector(const u8 *key, size_t key_len, size_t num_elem, argument
57 for (e = 0; e < num_elem; e++)
120 * @num_elem: Number of elements in the data vector
130 int omac1_aes_128_vector(const u8 *key, size_t num_elem, argument
133 return omac1_aes_vector(key, 16, num_elem, addr, len, mac);

Completed in 99 milliseconds

12