Home
last modified time | relevance | path

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

/hal_infineon-3.4.0/mtb-pdl-cat1/drivers/source/
Dcy_crypto_core_ecc_ecdsa.c90 uint32_t datasize = hashlen; in Cy_Crypto_Core_ECC_SignHash() local
127 CY_CRYPTO_VU_ALLOC_MEM (base, p_d, datasize * 8u); in Cy_Crypto_Core_ECC_SignHash()
167 Cy_Crypto_Core_Vu_SetMemValue (base, p_d, (uint8_t *)hash, datasize * 8u); in Cy_Crypto_Core_ECC_SignHash()
170 if ((datasize * 8u) > bitsize) in Cy_Crypto_Core_ECC_SignHash()
172 CY_CRYPTO_VU_SET_REG(base, dividend, (datasize * 8u) - bitsize, 1u); in Cy_Crypto_Core_ECC_SignHash()
276 uint32_t datasize = hashlen; in Cy_Crypto_Core_ECC_VerifyHash() local
352 CY_CRYPTO_VU_ALLOC_MEM (base, p_o, datasize * 8u); in Cy_Crypto_Core_ECC_VerifyHash()
355 Cy_Crypto_Core_Vu_SetMemValue (base, p_o, (uint8_t *)hash, datasize * 8u); in Cy_Crypto_Core_ECC_VerifyHash()
358 if ((datasize * 8u) > bitsize) in Cy_Crypto_Core_ECC_VerifyHash()
360 CY_CRYPTO_VU_SET_REG(base, dividend, (datasize * 8u) - bitsize, 1u); in Cy_Crypto_Core_ECC_VerifyHash()