Lines Matching refs:out_len_max
3756 unsigned int out_len_max; in do_test_kpp() local
3770 out_len_max = crypto_kpp_maxsize(tfm); in do_test_kpp()
3771 output_buf = kzalloc(out_len_max, GFP_KERNEL); in do_test_kpp()
3779 sg_init_one(&dst, output_buf, out_len_max); in do_test_kpp()
3780 kpp_request_set_output(req, &dst, out_len_max); in do_test_kpp()
3794 a_public = kmemdup(sg_virt(req->dst), out_len_max, GFP_KERNEL); in do_test_kpp()
3818 sg_init_one(&dst, output_buf, out_len_max); in do_test_kpp()
3820 kpp_request_set_output(req, &dst, out_len_max); in do_test_kpp()
3848 sg_init_one(&dst, output_buf, out_len_max); in do_test_kpp()
3850 kpp_request_set_output(req, &dst, out_len_max); in do_test_kpp()
3938 unsigned int out_len_max, out_len = 0; in test_akcipher_one() local
3977 out_len_max = crypto_akcipher_maxsize(tfm); in test_akcipher_one()
3978 outbuf_enc = kzalloc(out_len_max, GFP_KERNEL); in test_akcipher_one()
4014 sg_init_one(&dst, outbuf_enc, out_len_max); in test_akcipher_one()
4016 out_len_max); in test_akcipher_one()
4055 outbuf_dec = kzalloc(out_len_max, GFP_KERNEL); in test_akcipher_one()
4073 sg_init_one(&dst, outbuf_dec, out_len_max); in test_akcipher_one()
4075 akcipher_request_set_crypt(req, &src, &dst, c_size, out_len_max); in test_akcipher_one()