Lines Matching refs:mac
21 const u8 *addr[], const size_t *len, u8 *mac) in gnutls_digest_vector() argument
36 memcpy(mac, p, gcry_md_get_algo_dlen(algo)); in gnutls_digest_vector()
42 int md4_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) in md4_vector() argument
44 return gnutls_digest_vector(GCRY_MD_MD4, num_elem, addr, len, mac); in md4_vector()
71 int md5_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) in md5_vector() argument
73 return gnutls_digest_vector(GCRY_MD_MD5, num_elem, addr, len, mac); in md5_vector()
77 int sha1_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) in sha1_vector() argument
79 return gnutls_digest_vector(GCRY_MD_SHA1, num_elem, addr, len, mac); in sha1_vector()
83 int sha256_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) in sha256_vector() argument
85 return gnutls_digest_vector(GCRY_MD_SHA256, num_elem, addr, len, mac); in sha256_vector()
89 int sha384_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) in sha384_vector() argument
91 return gnutls_digest_vector(GCRY_MD_SHA384, num_elem, addr, len, mac); in sha384_vector()
95 int sha512_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) in sha512_vector() argument
97 return gnutls_digest_vector(GCRY_MD_SHA512, num_elem, addr, len, mac); in sha512_vector()
103 const size_t *len, u8 *mac) in gnutls_hmac_vector() argument
122 memcpy(mac, p, gcry_md_get_algo_dlen(algo)); in gnutls_hmac_vector()
129 const u8 *addr[], const size_t *len, u8 *mac) in hmac_md5_vector() argument
132 len, mac); in hmac_md5_vector()
137 u8 *mac) in hmac_md5() argument
139 return hmac_md5_vector(key, key_len, 1, &data, &data_len, mac); in hmac_md5()
144 const u8 *addr[], const size_t *len, u8 *mac) in hmac_sha1_vector() argument
147 len, mac); in hmac_sha1_vector()
152 u8 *mac) in hmac_sha1() argument
154 return hmac_sha1_vector(key, key_len, 1, &data, &data_len, mac); in hmac_sha1()
161 const u8 *addr[], const size_t *len, u8 *mac) in hmac_sha256_vector() argument
164 len, mac); in hmac_sha256_vector()
169 size_t data_len, u8 *mac) in hmac_sha256() argument
171 return hmac_sha256_vector(key, key_len, 1, &data, &data_len, mac); in hmac_sha256()
180 const u8 *addr[], const size_t *len, u8 *mac) in hmac_sha384_vector() argument
183 len, mac); in hmac_sha384_vector()
188 size_t data_len, u8 *mac) in hmac_sha384() argument
190 return hmac_sha384_vector(key, key_len, 1, &data, &data_len, mac); in hmac_sha384()
199 const u8 *addr[], const size_t *len, u8 *mac) in hmac_sha512_vector() argument
202 len, mac); in hmac_sha512_vector()
207 size_t data_len, u8 *mac) in hmac_sha512() argument
209 return hmac_sha512_vector(key, key_len, 1, &data, &data_len, mac); in hmac_sha512()