Lines Matching refs:maxdatasize
1695 unsigned int maxdatasize, in generate_random_hash_testvec() argument
1699 vec->psize = generate_random_length(rng, maxdatasize); in generate_random_hash_testvec()
1743 const unsigned int maxdatasize = (2 * PAGE_SIZE) - TESTMGR_POISON_LEN; in test_hash_vs_generic_impl() local
1822 vec.plaintext = kmalloc(maxdatasize, GFP_KERNEL); in test_hash_vs_generic_impl()
1831 maxkeysize, maxdatasize, in test_hash_vs_generic_impl()
2264 unsigned int maxdatasize; member
2380 unsigned int maxdatasize, in generate_random_aead_testvec() argument
2406 if (WARN_ON(authsize > maxdatasize)) in generate_random_aead_testvec()
2407 authsize = maxdatasize; in generate_random_aead_testvec()
2408 maxdatasize -= authsize; in generate_random_aead_testvec()
2412 total_len = generate_random_length(rng, maxdatasize); in generate_random_aead_testvec()
2441 ctx->maxkeysize, ctx->maxdatasize, in try_to_generate_inauthentic_testvec()
2563 ctx->maxkeysize, ctx->maxdatasize, in test_aead_vs_generic_impl()
2611 ctx->maxdatasize = (2 * PAGE_SIZE) - TESTMGR_POISON_LEN; in test_aead_extra()
2619 ctx->vec.assoc = kmalloc(ctx->maxdatasize, GFP_KERNEL); in test_aead_extra()
2620 ctx->vec.ptext = kmalloc(ctx->maxdatasize, GFP_KERNEL); in test_aead_extra()
2621 ctx->vec.ctext = kmalloc(ctx->maxdatasize, GFP_KERNEL); in test_aead_extra()
3024 unsigned int maxdatasize, in generate_random_cipher_testvec() argument
3045 vec->len = generate_random_length(rng, maxdatasize); in generate_random_cipher_testvec()
3085 const unsigned int maxdatasize = (2 * PAGE_SIZE) - TESTMGR_POISON_LEN; in test_skcipher_vs_generic_impl() local
3184 vec.ptext = kmalloc(maxdatasize, GFP_KERNEL); in test_skcipher_vs_generic_impl()
3185 vec.ctext = kmalloc(maxdatasize, GFP_KERNEL); in test_skcipher_vs_generic_impl()
3193 maxdatasize, in test_skcipher_vs_generic_impl()