Home
last modified time | relevance | path

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

/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/utils/src/common/
Dcommon_sb_ops.c208 BIGNUM *bn_two = BN_new(); in SBU_GetNFromKeyPairAndCalcH() local
233 BN_set_word (bn_two, 2); in SBU_GetNFromKeyPairAndCalcH()
240 if (!BN_mod_exp (bn_h, bn_two, bn_twos, bn_n, bn_ctx)) in SBU_GetNFromKeyPairAndCalcH()
Dcommon_crypto_asym.c574 BIGNUM *bn_two = BN_new(); in CC_CommonRsaCalculateH() local
604 BN_set_word (bn_two, 2); in CC_CommonRsaCalculateH()
612 if (!BN_mod_exp(bn_h, bn_two, bn_twos, bn_n, bn_ctx)) { in CC_CommonRsaCalculateH()
650 if (bn_two != NULL) { in CC_CommonRsaCalculateH()
651 BN_free(bn_two); in CC_CommonRsaCalculateH()
Dcommon_sb_ops.h106 BN_free (bn_two); \