Searched refs:mod_exp_dev (Results 1 – 2 of 2) sorted by relevance
/external/u-boot/lib/rsa/ |
D | rsa-verify.c | 81 struct udevice *mod_exp_dev; in rsa_verify_key() local 104 ret = uclass_get_device(UCLASS_MOD_EXP, 0, &mod_exp_dev); in rsa_verify_key() 110 ret = rsa_mod_exp(mod_exp_dev, sig, sig_len, prop, buf); in rsa_verify_key()
|
/external/u-boot/board/freescale/common/ |
D | fsl_validate.c | 788 struct udevice *mod_exp_dev; in calculate_cmp_img_sig() local 805 ret = uclass_get_device(UCLASS_MOD_EXP, 0, &mod_exp_dev); in calculate_cmp_img_sig() 811 ret = rsa_mod_exp(mod_exp_dev, img->img_sign, img->hdr.sign_len, in calculate_cmp_img_sig()
|