Home
last modified time | relevance | path

Searched refs:CY_CRYPTO_HW_REGS_WIDTH (Results 1 – 4 of 4) sorted by relevance

/hal_infineon-3.4.0/mtb-pdl-cat1/drivers/source/
Dcy_crypto_core_crc_v2.c194 CY_ASSERT_L1((width >= 1U) && (width <= CY_CRYPTO_HW_REGS_WIDTH)); in Cy_Crypto_Core_V2_Crc_CalcInit()
210 …t32_t)(_VAL2FLD(CRYPTO_V2_CRC_POL_CTL_POLYNOMIAL, polynomial << (CY_CRYPTO_HW_REGS_WIDTH - width))… in Cy_Crypto_Core_V2_Crc_CalcInit()
215 … (uint32_t)(_VAL2FLD(CRYPTO_V2_CRC_REM_CTL_REM_XOR, remXor << (CY_CRYPTO_HW_REGS_WIDTH - width))); in Cy_Crypto_Core_V2_Crc_CalcInit()
219 … (uint32_t)(_VAL2FLD(CRYPTO_V2_RESULT_DATA, lfsrInitState << (CY_CRYPTO_HW_REGS_WIDTH - width))); in Cy_Crypto_Core_V2_Crc_CalcInit()
245 CY_ASSERT_L1((width >= 1U) && (width <= CY_CRYPTO_HW_REGS_WIDTH)); in Cy_Crypto_Core_V2_Crc_CalcStart()
248 …) = (uint32_t)(_VAL2FLD(CRYPTO_V2_RESULT_DATA, lfsrInitState << (CY_CRYPTO_HW_REGS_WIDTH - width))… in Cy_Crypto_Core_V2_Crc_CalcStart()
308 CY_ASSERT_L1((width >= 1U) && (width <= CY_CRYPTO_HW_REGS_WIDTH)); in Cy_Crypto_Core_V2_Crc_CalcFinish()
318 calculatedCrc = calculatedCrc >> (CY_CRYPTO_HW_REGS_WIDTH - width); in Cy_Crypto_Core_V2_Crc_CalcFinish()
357 CY_ASSERT_L1((width >= 1U) && (width <= CY_CRYPTO_HW_REGS_WIDTH)); in Cy_Crypto_Core_V2_Crc_Calc()
376 calculatedCrc = calculatedCrc >> (CY_CRYPTO_HW_REGS_WIDTH - width); in Cy_Crypto_Core_V2_Crc_Calc()
Dcy_crypto_core_crc_v1.c197 CY_ASSERT_L1((width >= 1U) && (width <= CY_CRYPTO_HW_REGS_WIDTH)); in Cy_Crypto_Core_V1_Crc_CalcInit()
214 …(uint32_t)(_VAL2FLD(CRYPTO_CRC_POL_CTL_POLYNOMIAL, polynomial << (CY_CRYPTO_HW_REGS_WIDTH - width)… in Cy_Crypto_Core_V1_Crc_CalcInit()
219 … (uint32_t)(_VAL2FLD(CRYPTO_CRC_REM_CTL_REM_XOR, remXor << (CY_CRYPTO_HW_REGS_WIDTH - width))); in Cy_Crypto_Core_V1_Crc_CalcInit()
223 …(uint32_t)(_VAL2FLD(CRYPTO_CRC_LFSR_CTL_LFSR32, lfsrInitState << (CY_CRYPTO_HW_REGS_WIDTH - width)… in Cy_Crypto_Core_V1_Crc_CalcInit()
249 CY_ASSERT_L1((width >= 1U) && (width <= CY_CRYPTO_HW_REGS_WIDTH)); in Cy_Crypto_Core_V1_Crc_CalcStart()
253 …(uint32_t)(_VAL2FLD(CRYPTO_CRC_LFSR_CTL_LFSR32, lfsrInitState << (CY_CRYPTO_HW_REGS_WIDTH - width)… in Cy_Crypto_Core_V1_Crc_CalcStart()
315 CY_ASSERT_L1((width >= 1U) && (width <= CY_CRYPTO_HW_REGS_WIDTH)); in Cy_Crypto_Core_V1_Crc_CalcFinish()
325 calculatedCrc = calculatedCrc >> (CY_CRYPTO_HW_REGS_WIDTH - width); in Cy_Crypto_Core_V1_Crc_CalcFinish()
364 CY_ASSERT_L1((width >= 1U) && (width <= CY_CRYPTO_HW_REGS_WIDTH)); in Cy_Crypto_Core_V1_Crc_Calc()
385 calculatedCrc = calculatedCrc >> (CY_CRYPTO_HW_REGS_WIDTH - width); in Cy_Crypto_Core_V1_Crc_Calc()
Dcy_crypto_core_ecc_key_gen.c153 … uint32_t randombits = (uint32_t)CY_CRYPTO_MIN(randomsize, (int32_t)CY_CRYPTO_HW_REGS_WIDTH); in Cy_Crypto_Core_ECC_MakePrivateKey()
157 randomsize -= (int32_t)CY_CRYPTO_HW_REGS_WIDTH; in Cy_Crypto_Core_ECC_MakePrivateKey()
/hal_infineon-3.4.0/mtb-pdl-cat1/drivers/include/
Dcy_crypto_common.h154 #define CY_CRYPTO_HW_REGS_WIDTH (32UL) macro