Home
last modified time | relevance | path

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/
Dcommon_sb_ops.c209 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()
Dcommon_crypto_asym.c575 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()
Dcommon_sb_ops.h107 BN_free (bn_twos); \