Home
last modified time | relevance | path

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

/crypto/
Dtestmgr.h109 const char *assoc; member
14617 .assoc = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
14645 .assoc = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
14678 .assoc = "\xc7\x82\xdc\x4c\x09\x8c\x66\xcb"
14710 .assoc = "\x8c\xe8\x2e\xef\xbe\xa0\xda\x3c"
14751 .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01"
14798 .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07"
14841 .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07"
14933 .assoc = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
14963 .assoc = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
[all …]
Dessiv.c62 u8 *assoc; member
177 kfree(rctx->assoc); in essiv_aead_done()
199 rctx->assoc = NULL; in essiv_aead_crypt()
226 rctx->assoc = kmalloc(ssize, GFP_ATOMIC); in essiv_aead_crypt()
227 if (!rctx->assoc) in essiv_aead_crypt()
230 scatterwalk_map_and_copy(rctx->assoc, req->src, 0, in essiv_aead_crypt()
232 sg_set_buf(rctx->sg, rctx->assoc, ssize); in essiv_aead_crypt()
255 if (rctx->assoc && err != -EINPROGRESS && err != -EBUSY) in essiv_aead_crypt()
256 kfree(rctx->assoc); in essiv_aead_crypt()
Dfips140-selftests.c69 const u8 *assoc; member
306 u8 *assoc = NULL; in fips_test_aead() local
331 assoc = kmemdup(vec->assoc, vec->assoc_size, GFP_KERNEL); in fips_test_aead()
333 if (!req || !assoc || !message) { in fips_test_aead()
341 sg_set_buf(&sg[sg_idx++], assoc, vec->assoc_size); in fips_test_aead()
391 kfree(assoc); in fips_test_aead()
775 .assoc = fips_aes_gcm_assoc,
Dtcrypt.c114 unsigned int buflen, const void *assoc, in sg_init_aead() argument
129 sg_set_buf(&sg[0], assoc, aad_size); in sg_init_aead()
261 void *assoc; in test_mb_aead_speed() local
379 assoc = cur->axbuf[0]; in test_mb_aead_speed()
380 memset(assoc, 0xff, aad_size); in test_mb_aead_speed()
384 assoc, aad_size); in test_mb_aead_speed()
388 assoc, aad_size); in test_mb_aead_speed()
532 void *assoc; in test_aead_speed() local
593 assoc = axbuf[0]; in test_aead_speed()
594 memset(assoc, 0xff, aad_size); in test_aead_speed()
[all …]
Dtestmgr.c1995 input[0].iov_base = (void *)vec->assoc; in test_aead_vec_cfg()
2183 flip_random_bit((u8 *)vec->assoc, vec->alen - aad_tail_size); in mutate_aead_message()
2215 generate_random_bytes((u8 *)vec->assoc, vec->alen); in generate_aead_message()
2218 memcpy((u8 *)vec->assoc + vec->alen - ivsize, vec->iv, ivsize); in generate_aead_message()
2232 sg_set_buf(&src[i++], vec->assoc, vec->alen); in generate_aead_message()
2510 ctx->vec.assoc = kmalloc(ctx->maxdatasize, GFP_KERNEL); in test_aead_extra()
2513 if (!ctx->vec.key || !ctx->vec.iv || !ctx->vec.assoc || in test_aead_extra()
2527 kfree(ctx->vec.assoc); in test_aead_extra()