Home
last modified time | relevance | path

Searched refs:hmac_tv (Results 1 – 1 of 1) sorted by relevance

/linux-2.4.37.9/crypto/
Dtcrypt.c179 struct hmac_testvec *hmac_tv; in test_hmac() local
199 hmac_tv = (void *) tvmem; in test_hmac()
205 p = hmac_tv[i].plaintext; in test_hmac()
206 klen = hmac_tv[i].ksize; in test_hmac()
209 sg[0].length = hmac_tv[i].psize; in test_hmac()
211 crypto_hmac(tfm, hmac_tv[i].key, &klen, sg, 1, result); in test_hmac()
215 memcmp(result, hmac_tv[i].digest, in test_hmac()
226 if (hmac_tv[i].np) { in test_hmac()
232 klen = hmac_tv[i].ksize; in test_hmac()
233 for (k = 0; k < hmac_tv[i].np; k++) { in test_hmac()
[all …]