Home
last modified time | relevance | path

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

/linux-2.4.37.9/crypto/
Dtcrypt.c87 struct hash_testvec *hash_tv; in test_hash() local
101 hash_tv = (void *) tvmem; in test_hash()
112 p = hash_tv[i].plaintext; in test_hash()
115 sg[0].length = hash_tv[i].psize; in test_hash()
119 crypto_digest_setkey (tfm, hash_tv[i].key, in test_hash()
120 hash_tv[i].ksize); in test_hash()
127 memcmp(result, hash_tv[i].digest, in test_hash()
139 if (hash_tv[i].np) { in test_hash()
145 for (k = 0; k < hash_tv[i].np; k++) { in test_hash()
146 memcpy (&xbuf[IDX[k]], hash_tv[i].plaintext + temp, in test_hash()
[all …]