Lines Matching refs:tap
234 template->tap[k]); in ahash_partial_update()
235 sg_init_one(&sg[0], hash_buff, template->tap[k]); in ahash_partial_update()
236 ahash_request_set_crypt(req, sg, result, template->tap[k]); in ahash_partial_update()
438 template[i].tap[k] > PAGE_SIZE)) in __test_hash()
444 template[i].tap[k]), in __test_hash()
445 template[i].tap[k]); in __test_hash()
446 temp += template[i].tap[k]; in __test_hash()
502 template[i].tap[0]); in __test_hash()
503 sg_init_one(&sg[0], hash_buff, template[i].tap[0]); in __test_hash()
522 ahash_request_set_crypt(req, sg, result, template[i].tap[0]); in __test_hash()
536 temp = template[i].tap[0]; in __test_hash()
546 temp += template[i].tap[k]; in __test_hash()
844 template[i].tap[k] > PAGE_SIZE)) in __test_aead()
848 memcpy(q, template[i].input + temp, template[i].tap[k]); in __test_aead()
850 q, template[i].tap[k]); in __test_aead()
856 memset(q, 0, template[i].tap[k]); in __test_aead()
859 q, template[i].tap[k]); in __test_aead()
862 n = template[i].tap[k]; in __test_aead()
868 temp += template[i].tap[k]; in __test_aead()
932 n = template[i].tap[k]; in __test_aead()
962 temp += template[i].tap[k]; in __test_aead()
1265 template[i].tap[k] > PAGE_SIZE)) in __test_skcipher()
1270 memcpy(q, input + temp, template[i].tap[k]); in __test_skcipher()
1272 if (offset_in_page(q) + template[i].tap[k] < PAGE_SIZE) in __test_skcipher()
1273 q[template[i].tap[k]] = 0; in __test_skcipher()
1275 sg_set_buf(&sg[k], q, template[i].tap[k]); in __test_skcipher()
1280 sg_set_buf(&sgout[k], q, template[i].tap[k]); in __test_skcipher()
1282 memset(q, 0, template[i].tap[k]); in __test_skcipher()
1284 template[i].tap[k] < PAGE_SIZE) in __test_skcipher()
1285 q[template[i].tap[k]] = 0; in __test_skcipher()
1288 temp += template[i].tap[k]; in __test_skcipher()
1313 if (memcmp(q, result + temp, template[i].tap[k])) { in __test_skcipher()
1316 hexdump(q, template[i].tap[k]); in __test_skcipher()
1320 q += template[i].tap[k]; in __test_skcipher()
1329 temp += template[i].tap[k]; in __test_skcipher()