Home
last modified time | relevance | path

Searched refs:H_resTemp (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.c182 char *H_res = NULL, *N_Temp = NULL, *H_resTemp = NULL; in SBU_GetNFromKeyPairAndCalcH() local
243 H_resTemp = BN_bn2hex (bn_h); in SBU_GetNFromKeyPairAndCalcH()
244 if (H_resTemp == NULL) in SBU_GetNFromKeyPairAndCalcH()
246 if (H_resTemp[0] == '-'){ in SBU_GetNFromKeyPairAndCalcH()
250 len = (int)strlen (H_resTemp); in SBU_GetNFromKeyPairAndCalcH()
251 memcpy(H_res, H_resTemp, len); in SBU_GetNFromKeyPairAndCalcH()
Dcommon_crypto_asym.c567 int8_t *H_res = NULL, *N_Temp = NULL, *H_resTemp = NULL; in CC_CommonRsaCalculateH() local
617 H_resTemp = BN_bn2hex(bn_h); in CC_CommonRsaCalculateH()
618 if (H_resTemp == NULL) { in CC_CommonRsaCalculateH()
623 if (H_resTemp[0] == '-'){ // in case the output is negative in CC_CommonRsaCalculateH()
627 len = (int32_t)strlen (H_resTemp); in CC_CommonRsaCalculateH()
628 memcpy(H_res, H_resTemp, len); in CC_CommonRsaCalculateH()
665 if (H_resTemp != NULL) { in CC_CommonRsaCalculateH()
666 OPENSSL_free(H_resTemp); in CC_CommonRsaCalculateH()
Dcommon_sb_ops.h104 if (H_resTemp) \
105 OPENSSL_free(H_resTemp); \