Exemple #1
0
int md5_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac)
{
	return cryptoapi_hash_vector(CALG_MD5, 16, num_elem, addr, len, mac);
}
Exemple #2
0
int sha1_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac)
{
	return cryptoapi_hash_vector(CALG_SHA, 20, num_elem, addr, len, mac);
}
void md4_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac)
{
        cryptoapi_hash_vector(CALG_MD4, 16, num_elem, addr, len, mac);
}