Searched refs:VecBuff_ptr (Results 1 – 2 of 2) sorted by relevance
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/common/ |
D | cc_common_math.c | 736 void CC_CommonDivideVectorBy2(uint32_t *VecBuff_ptr,uint32_t SizeInWords) in CC_CommonDivideVectorBy2() argument 747 VecBuff_ptr[i]=VecBuff_ptr[i] >> 1; in CC_CommonDivideVectorBy2() 748 Temp=VecBuff_ptr[i+1]&1UL; in CC_CommonDivideVectorBy2() 749 VecBuff_ptr[i]=VecBuff_ptr[i] | Temp<<(32-1); in CC_CommonDivideVectorBy2() 753 VecBuff_ptr[SizeInWords-1]=VecBuff_ptr[SizeInWords-1]>>1; in CC_CommonDivideVectorBy2() 775 void CC_CommonShiftLeftBigEndVector(uint8_t *VecBuff_ptr,uint32_t SizeInBytes, int8_t Shift) in CC_CommonShiftLeftBigEndVector() argument 790 VecBuff_ptr[i] = (uint8_t)(VecBuff_ptr[i] << Shift); in CC_CommonShiftLeftBigEndVector() 791 Temp = VecBuff_ptr[i+1] & 0xFF ; in CC_CommonShiftLeftBigEndVector() 792 VecBuff_ptr[i] = VecBuff_ptr[i] | (uint8_t)(Temp >> (8 - Shift)); in CC_CommonShiftLeftBigEndVector() 796 VecBuff_ptr[SizeInBytes - 1] = (uint8_t)(VecBuff_ptr[SizeInBytes - 1] << Shift); in CC_CommonShiftLeftBigEndVector() [all …]
|
D | cc_common_math.h | 415 void CC_CommonDivideVectorBy2(uint32_t *VecBuff_ptr,uint32_t SizeInWords); 433 void CC_CommonShiftLeftBigEndVector(uint8_t *VecBuff_ptr,uint32_t SizeInBytes, int8_t Shift); 451 void CC_CommonShiftRightVector(uint8_t *VecBuff_ptr, uint32_t SizeInBytes, int8_t Shift); 469 void CC_CommonShiftLeftVector(uint8_t *VecBuff_ptr,uint32_t SizeInBytes, int8_t Shift);
|