Home
last modified time | relevance | path

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

/u-boot/lib/rsa/
A Drsa-sign.c619 BN_CTX *bn_ctx = BN_CTX_new(); in rsa_get_params() local
646 if (!BN_exp(big2_32, big2, big32, bn_ctx)) in rsa_get_params()
650 if (!BN_mod_inverse(tmp, n, big2_32, bn_ctx) || in rsa_get_params()
657 !BN_exp(r, big2, tmp, bn_ctx)) 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()

Completed in 3 milliseconds