Home
last modified time | relevance | path

Searched refs:in32_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
95 CC_COMMON_REVERSE32((in32_ptr)[0]) >> (outAlign); \
96 (out32_ptr)[1] = CC_COMMON_REVERSE32((in32_ptr)[0]) << (32-(outAlign)) | \
97 CC_COMMON_REVERSE32((in32_ptr)[1]) >> (outAlign); \
98 (out32_ptr)[2] = CC_COMMON_REVERSE32((in32_ptr)[1]) << (32-(outAlign)) | \
[all …]
Dcc_common_conv_endian.c251 uint32_t *in32_ptr, in CC_CommonConvertLswMswWordsToMsbLsbBytes() argument
261 if ((in32_ptr == NULL) || (out8_ptr == NULL)) in CC_CommonConvertLswMswWordsToMsbLsbBytes()
271 if (((CCVirtAddr_t)in32_ptr == (CCVirtAddr_t)out8_ptr) && (sizeInBytes & 3UL)) in CC_CommonConvertLswMswWordsToMsbLsbBytes()
275 CC_CommonInPlaceConvertBytesWordsAndArrayEndianness(in32_ptr, sizeInWords); in CC_CommonConvertLswMswWordsToMsbLsbBytes()
278 if ((CCVirtAddr_t)out8_ptr != (CCVirtAddr_t)in32_ptr) { in CC_CommonConvertLswMswWordsToMsbLsbBytes()
281 …if (((CCVirtAddr_t)out8_ptr > (CCVirtAddr_t)in32_ptr && (CCVirtAddr_t)out8_ptr < ((CCVirtAddr_t)in… in CC_CommonConvertLswMswWordsToMsbLsbBytes()
282 …(CCVirtAddr_t)out8_ptr < (CCVirtAddr_t)in32_ptr && ((CCVirtAddr_t)out8_ptr + sizeInBytes) > (CCVir… in CC_CommonConvertLswMswWordsToMsbLsbBytes()
285 … CC_PalMemCopy(out8_ptr, (uint8_t *)in32_ptr + ((4 - (sizeInBytes & 3UL)) & 3UL), sizeInBytes); in CC_CommonConvertLswMswWordsToMsbLsbBytes()
287 CC_CommonInPlaceConvertBytesWordsAndArrayEndianness(in32_ptr, sizeInWords); in CC_CommonConvertLswMswWordsToMsbLsbBytes()
Dcc_common.h74 void CC_CommonAlignedWordsArrayToBytes( uint32_t *in32_ptr , uint32_t *out32_ptr ,
165 uint32_t *in32_ptr,