Searched refs:sizeInWords (Results 1 – 5 of 5) sorted by relevance
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/host/src/tests/integration_cc3x/runtime_integration_test/tests/ |
D | run_integration_ext_dma.c | 61 uint32_t sizeInWords = 0; in runIt_extDma() local 73 sizeInWords = (dataLen + 3) / sizeof(uint32_t); in runIt_extDma() 79 ALLOC32(dataInWordsPtr, dataInWords, sizeInWords * sizeof(uint32_t)); in runIt_extDma() 89 memset(dataInWords, 0, sizeInWords * sizeof(uint32_t)); in runIt_extDma() 93 while (k < sizeInWords) in runIt_extDma() 95 if (sizeInWords - k > 4) in runIt_extDma() 101 wordsToRW = (sizeInWords - k); in runIt_extDma() 119 RUNIT_PRINT_BUF(outputBuffer, sizeInWords * sizeof(uint32_t), "outputBuffer"); in runIt_extDma() 120 RUNIT_ASSERT(memcmp(outputBuffer, CYPHER, sizeInWords * sizeof(uint32_t)) == 0); in runIt_extDma()
|
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/common/ |
D | cc_common_conv_endian.c | 256 uint32_t sizeInWords; in CC_CommonConvertLswMswWordsToMsbLsbBytes() local 265 sizeInWords = (sizeInBytes + 3) / 4; in CC_CommonConvertLswMswWordsToMsbLsbBytes() 275 CC_CommonInPlaceConvertBytesWordsAndArrayEndianness(in32_ptr, sizeInWords); in CC_CommonConvertLswMswWordsToMsbLsbBytes() 287 CC_CommonInPlaceConvertBytesWordsAndArrayEndianness(in32_ptr, sizeInWords); in CC_CommonConvertLswMswWordsToMsbLsbBytes() 315 uint32_t sizeInWords; in CC_CommonConvertLsbMsbBytesToLswMswWords() local 318 sizeInWords = (sizeInBytes + 3)/4; in CC_CommonConvertLsbMsbBytesToLswMswWords() 322 out32Le[sizeInWords-1] = 0; in CC_CommonConvertLsbMsbBytesToLswMswWords() 330 for (i = 0; i < sizeInWords; i++) { in CC_CommonConvertLsbMsbBytesToLswMswWords() 356 size_t sizeInWords) in CC_CommonConvertLswMswWordsToLsbMsbBytes() argument 362 CC_PalMemCopy(out8Le, (uint8_t*)in32Le, sizeInWords*sizeof(uint32_t)); in CC_CommonConvertLswMswWordsToLsbMsbBytes() [all …]
|
D | cc_common.h | 288 size_t sizeInWords);
|
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/pki/ec_edw/ |
D | pka_ec_edw.c | 335 size_t sizeInWords; in PkaEcEdwSpecialScalarMultBase() local 341 sizeInWords = (scalarSizeInBits + CC_BITS_IN_32BIT_WORD - 1) / CC_BITS_IN_32BIT_WORD; in PkaEcEdwSpecialScalarMultBase() 342 word = pScalar[sizeInWords-1]; in PkaEcEdwSpecialScalarMultBase()
|
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/mbedtls_api/ |
D | rsa_alt.c | 128 …atic int32_t mbedtls_rsa_uint32_buf_to_mpi(mbedtls_mpi *X, const uint32_t *buf, size_t sizeInWords) in mbedtls_rsa_uint32_buf_to_mpi() argument 132 … if(X == NULL || X->MBEDTLS_PRIVATE(p) != NULL || X->MBEDTLS_PRIVATE(n) != 0 || sizeInWords == 0) { in mbedtls_rsa_uint32_buf_to_mpi() 137 …if( ( X->MBEDTLS_PRIVATE(p) = (uint32_t*)mbedtls_calloc( sizeInWords, sizeof(uint32_t) ) ) == NULL… in mbedtls_rsa_uint32_buf_to_mpi() 142 CC_PalMemCopy(X->MBEDTLS_PRIVATE(p), buf, sizeInWords*CC_32BIT_WORD_SIZE); in mbedtls_rsa_uint32_buf_to_mpi() 144 X->MBEDTLS_PRIVATE(n) = sizeInWords; in mbedtls_rsa_uint32_buf_to_mpi()
|