Home
last modified time | relevance | path

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

/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/common/
Dcc_common_math.h60 #define CC_COMMON_CONVERT_TO_LE32(in32_ptr, out32_ptr, size_words) \ argument
64 (out32_ptr)[i] = CC_COMMON_REVERSE32((in32_ptr)[i]); \
68 #define CC_COMMON_CONVERT_TO_LE32(in32_ptr, out32_ptr, size_words) \
71 if((in32_ptr) != (out32_ptr)) { \
73 (out32_ptr)[i] = (in32_ptr)[i]; \
91 #define CC_COMMON_COPY_4WORDS_TO_BYTES( out32_ptr, outAlign, in32_ptr ) \ argument
94 (out32_ptr)[0] = ((out32_ptr)[0] & (0xFFFFFFFF << (32-(outAlign)))) | \
96 (out32_ptr)[1] = CC_COMMON_REVERSE32((in32_ptr)[0]) << (32-(outAlign)) | \
98 (out32_ptr)[2] = CC_COMMON_REVERSE32((in32_ptr)[1]) << (32-(outAlign)) | \
100 (out32_ptr)[3] = CC_COMMON_REVERSE32((in32_ptr)[2]) << (32-(outAlign)) | \
[all …]
Dcc_common_conv_endian.c173 uint32_t *out32_ptr, in CC_CommonConvertMsbLsbBytesToLswMswWords() argument
186 if ((in8_ptr == NULL) || (out32_ptr == NULL)) in CC_CommonConvertMsbLsbBytesToLswMswWords()
204 if (((CCVirtAddr_t)out32_ptr != (CCVirtAddr_t)in8_ptr) || (inpSizeInBytes & 3)) { in CC_CommonConvertMsbLsbBytesToLswMswWords()
205 …CC_PalMemMove((uint8_t*)out32_ptr + roundedInpSizeInBytes - inpSizeInBytes, in8_ptr, inpSizeInByte… in CC_CommonConvertMsbLsbBytesToLswMswWords()
208 … CC_PalMemSetZero((uint8_t*)out32_ptr, roundedInpSizeInBytes - inpSizeInBytes); /*leading zeros*/ in CC_CommonConvertMsbLsbBytesToLswMswWords()
212 CC_PalMemSetZero((uint8_t*)out32_ptr + roundedInpSizeInBytes, in CC_CommonConvertMsbLsbBytesToLswMswWords()
216 …CC_CommonInPlaceConvertBytesWordsAndArrayEndianness(out32_ptr, CALC_32BIT_WORDS_FROM_BYTES(inpSize… in CC_CommonConvertMsbLsbBytesToLswMswWords()
Dcc_common.h74 void CC_CommonAlignedWordsArrayToBytes( uint32_t *in32_ptr , uint32_t *out32_ptr ,
130 uint32_t *out32_ptr,