Home
last modified time | relevance | path

Searched refs:CC_COMMON_REVERSE32 (Results 1 – 10 of 10) sorted by relevance

/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/common/
Dcc_common_math.h35 #define CC_COMMON_REVERSE32(x) ( ((CC_COMMON_ROT32((x)) & 0xff00ff00UL) >> 8) | ((CC_COMMON_ROT32(… macro
40 #define CONVERT_CPU_E_2_BE(x) CC_COMMON_REVERSE32(x)
48 (Array)[ii2] = CC_COMMON_REVERSE32( (Array)[ii2] ); \
56 #define CC_SET_WORD_ENDIANESS(val) CC_COMMON_REVERSE32(val)
64 (out32_ptr)[i] = CC_COMMON_REVERSE32((in32_ptr)[i]); \
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)) | \
99 CC_COMMON_REVERSE32((in32_ptr)[2]) >> (outAlign); \
[all …]
Dcc_common_conv_endian.c121 buf_ptr[sizeWords/2] = CC_COMMON_REVERSE32(buf_ptr[sizeWords/2]); in CC_CommonInPlaceConvertBytesWordsAndArrayEndianness()
131 tmp = CC_COMMON_REVERSE32(buf_ptr[i]); in CC_CommonInPlaceConvertBytesWordsAndArrayEndianness()
132 buf_ptr[i] = CC_COMMON_REVERSE32(buf_ptr[sizeWords-i-1]); in CC_CommonInPlaceConvertBytesWordsAndArrayEndianness()
331 CC_COMMON_REVERSE32(out32Le[i]); in CC_CommonConvertLsbMsbBytesToLswMswWords()
372 CC_COMMON_REVERSE32(tmp); in CC_CommonConvertLswMswWordsToLsbMsbBytes()
378 CC_COMMON_REVERSE32(in32Le[i]); in CC_CommonConvertLswMswWordsToLsbMsbBytes()
Dcc_common_math.c62 CounterBuff_ptr[i] = CC_COMMON_REVERSE32( CounterBuff_ptr[i] ); in CC_CommonIncMsbUnsignedCounter()
105 CounterBuff_ptr[i] = CC_COMMON_REVERSE32( CounterBuff_ptr[i] ); in CC_CommonIncMsbUnsignedCounter()
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/cc3x_sym/driver/
Dsw_hash_common.c59 CounterBuff_ptr[i] = CC_COMMON_REVERSE32( CounterBuff_ptr[i] ); in HASH_COMMON_IncMsbUnsignedCounter()
102 CounterBuff_ptr[i] = CC_COMMON_REVERSE32( CounterBuff_ptr[i] ); in HASH_COMMON_IncMsbUnsignedCounter()
Dhash_driver_ext_dma.c180 digest[i] = CC_COMMON_REVERSE32(digest[i]); in FinishHashExtDma()
Dhash_driver.c270 hashCtx->digest[i] = CC_COMMON_REVERSE32(hashCtx->digest[i]); in FinishHashDrv()
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/kdf/
Dcc_kdf.c372 counter = CC_COMMON_REVERSE32(counter); in CC_KdfKeyDerivFunc()
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/pki/common/
Dpka.c731 tempWord = CC_COMMON_REVERSE32(tempWord); in PkaCopyPkaRegIntoBeByteBuff()
850 tempWord = CC_COMMON_REVERSE32(tempWord); in PkaCopyBeByteBuffIntoPkaReg()
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/dh/
Dcc_dh_kg.c74 tmp = curr = CC_COMMON_REVERSE32(ptr[i]); in DhKgAddValueToMsbLsbBytesArray()
81 ptr[i] = CC_COMMON_REVERSE32(tmp); in DhKgAddValueToMsbLsbBytesArray()
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/rsa/
Dcc_rsa_oaep.c722 Tmp32Bit = CC_COMMON_REVERSE32(Counter); in RsaOaepMGF1()