Lines Matching refs:out_len_max
3471 unsigned int out_len_max; in do_test_kpp() local
3485 out_len_max = crypto_kpp_maxsize(tfm); in do_test_kpp()
3486 output_buf = kzalloc(out_len_max, GFP_KERNEL); in do_test_kpp()
3494 sg_init_one(&dst, output_buf, out_len_max); in do_test_kpp()
3495 kpp_request_set_output(req, &dst, out_len_max); in do_test_kpp()
3509 a_public = kmemdup(sg_virt(req->dst), out_len_max, GFP_KERNEL); in do_test_kpp()
3533 sg_init_one(&dst, output_buf, out_len_max); in do_test_kpp()
3535 kpp_request_set_output(req, &dst, out_len_max); in do_test_kpp()
3563 sg_init_one(&dst, output_buf, out_len_max); in do_test_kpp()
3565 kpp_request_set_output(req, &dst, out_len_max); in do_test_kpp()
3653 unsigned int out_len_max, out_len = 0; in test_akcipher_one() local
3692 out_len_max = crypto_akcipher_maxsize(tfm); in test_akcipher_one()
3693 outbuf_enc = kzalloc(out_len_max, GFP_KERNEL); in test_akcipher_one()
3728 sg_init_one(&dst, outbuf_enc, out_len_max); in test_akcipher_one()
3730 out_len_max); in test_akcipher_one()
3769 outbuf_dec = kzalloc(out_len_max, GFP_KERNEL); in test_akcipher_one()
3781 sg_init_one(&dst, outbuf_dec, out_len_max); in test_akcipher_one()
3783 akcipher_request_set_crypt(req, &src, &dst, c_size, out_len_max); in test_akcipher_one()