Searched refs:NP_res (Results 1 – 2 of 2) sorted by relevance
173 uint8_t *NP_res = NULL, *NP_resTemp = NULL; in CC_CommonRSACalculateNpInt() local189 NP_res = (int8_t*)malloc(NP_SIZE_IN_BYTES); in CC_CommonRSACalculateNpInt()190 if (NP_res == NULL) { in CC_CommonRSACalculateNpInt()218 len = BN_bn2bin (bn_quo, NP_res); in CC_CommonRSACalculateNpInt()222 memcpy ((uint8_t *)(NP_ptr + (NP_SIZE_IN_BYTES - len)), (int8_t *)NP_res, len); in CC_CommonRSACalculateNpInt()234 memcpy(NP_res, NP_resTemp, len); in CC_CommonRSACalculateNpInt()238 memcpy ((int8_t *)(NP_ptr + (NP_SIZE_IN_BYTES * 2 + 2 - len)), (int8_t *)NP_res, len); in CC_CommonRSACalculateNpInt()244 if (NP_res != NULL) { in CC_CommonRSACalculateNpInt()245 free(NP_res); in CC_CommonRSACalculateNpInt()
82 if(NP_res) \83 free(NP_res); \