Searched refs:vec (Results 1 – 1 of 1) sorted by relevance
/crypto/ |
D | testmgr.c | 1036 const struct hash_testvec *vec, in build_hash_sglist() argument 1044 kv.iov_base = (void *)vec->plaintext; in build_hash_sglist() 1045 kv.iov_len = vec->psize; in build_hash_sglist() 1046 iov_iter_kvec(&input, WRITE, &kv, 1, vec->psize); in build_hash_sglist() 1047 return build_test_sglist(tsgl, cfg->src_divs, alignmask, vec->psize, in build_hash_sglist() 1053 const struct hash_testvec *vec, in check_hash_result() argument 1058 if (memcmp(result, vec->digest, digestsize) != 0) { in check_hash_result() 1088 const struct hash_testvec *vec, in test_shash_vec_cfg() argument 1105 if (vec->ksize) { in test_shash_vec_cfg() 1106 err = crypto_shash_setkey(tfm, vec->key, vec->ksize); in test_shash_vec_cfg() [all …]
|