Home
last modified time | relevance | path

Searched refs:out_len_max (Results 1 – 2 of 2) sorted by relevance

/OK3568_Linux_fs/kernel/crypto/
H A Dtestmgr.c3759 unsigned int out_len_max; in do_test_kpp() local
3773 out_len_max = crypto_kpp_maxsize(tfm); in do_test_kpp()
3774 output_buf = kzalloc(out_len_max, GFP_KERNEL); in do_test_kpp()
3782 sg_init_one(&dst, output_buf, out_len_max); in do_test_kpp()
3783 kpp_request_set_output(req, &dst, out_len_max); in do_test_kpp()
3797 a_public = kmemdup(sg_virt(req->dst), out_len_max, GFP_KERNEL); in do_test_kpp()
3821 sg_init_one(&dst, output_buf, out_len_max); in do_test_kpp()
3823 kpp_request_set_output(req, &dst, out_len_max); in do_test_kpp()
3851 sg_init_one(&dst, output_buf, out_len_max); in do_test_kpp()
3853 kpp_request_set_output(req, &dst, out_len_max); in do_test_kpp()
[all …]
/OK3568_Linux_fs/kernel/drivers/crypto/rockchip/cryptodev_linux/
H A Drk_cryptodev.c634 u32 out_len_max; in crypto_rsa_run() local
698 out_len_max = crypto_akcipher_maxsize(tfm); in crypto_rsa_run()
699 out = kzalloc(out_len_max, GFP_KERNEL); in crypto_rsa_run()
706 sg_init_one(&dst, out, out_len_max); in crypto_rsa_run()
709 akcipher_request_set_crypt(req, &src, &dst, rop->in_len, out_len_max); in crypto_rsa_run()