Searched refs:bn_twos (Results 1 – 3 of 3) sorted by relevance
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/utils/src/common/ |
D | common_sb_ops.c | 209 BIGNUM *bn_twos = BN_new(); in SBU_GetNFromKeyPairAndCalcH() local 234 BN_set_word (bn_twos, 2 * s); in SBU_GetNFromKeyPairAndCalcH() 240 if (!BN_mod_exp (bn_h, bn_two, bn_twos, bn_n, bn_ctx)) in SBU_GetNFromKeyPairAndCalcH()
|
D | common_crypto_asym.c | 575 BIGNUM *bn_twos = BN_new(); in CC_CommonRsaCalculateH() local 605 BN_set_word (bn_twos, 2 * s); in CC_CommonRsaCalculateH() 612 if (!BN_mod_exp(bn_h, bn_two, bn_twos, bn_n, bn_ctx)) { in CC_CommonRsaCalculateH() 653 if (bn_twos != NULL) { in CC_CommonRsaCalculateH() 654 BN_free(bn_twos); in CC_CommonRsaCalculateH()
|
D | common_sb_ops.h | 107 BN_free (bn_twos); \
|