Searched refs:r_squared (Results 1 – 1 of 1) sorted by relevance
/u-boot/lib/rsa/ |
A D | rsa-sign.c | 617 BIGNUM *n, *r, *r_squared, *tmp; in rsa_get_params() local 627 r_squared = BN_new(); in rsa_get_params() 631 if (!big1 || !big2 || !big32 || !r || !r_squared || !tmp || !big2_32 || in rsa_get_params() 661 if (!BN_copy(r_squared, r) || in rsa_get_params() 662 !BN_mul(tmp, r_squared, r, bn_ctx) || in rsa_get_params() 663 !BN_mod(r_squared, tmp, n, bn_ctx)) in rsa_get_params() 667 *r_squaredp = r_squared; in rsa_get_params() 749 BIGNUM *modulus, *r_squared; in rsa_add_verify_data() local 768 ret = rsa_get_params(rsa, &exponent, &n0_inv, &modulus, &r_squared); in rsa_add_verify_data() 820 ret = fdt_add_bignum(keydest, node, "rsa,r-squared", r_squared, in rsa_add_verify_data() [all …]
|
Completed in 3 milliseconds