Searched refs:eccDp (Results 1 – 3 of 3) sorted by relevance
/hal_infineon-3.4.0/mtb-pdl-cat1/drivers/source/ |
D | cy_crypto_core_ecc_key_gen.c | 119 const cy_stc_crypto_ecc_dp_type *eccDp = Cy_Crypto_Core_ECC_GetCurveParams(curveID); in Cy_Crypto_Core_ECC_MakePrivateKey() local 121 if ((eccDp != NULL) && (key != NULL)) in Cy_Crypto_Core_ECC_MakePrivateKey() 125 uint32_t bitsize = eccDp->size; in Cy_Crypto_Core_ECC_MakePrivateKey() 184 Cy_Crypto_Core_Vu_SetMemValue (base, VR_P, eccDp->order, bitsize); in Cy_Crypto_Core_ECC_MakePrivateKey() 191 Cy_Crypto_Core_Vu_SetMemValue (base, VR_BARRETT, eccDp->barrett_o, bitsize + 1u); in Cy_Crypto_Core_ECC_MakePrivateKey() 197 Cy_Crypto_Core_EC_NistP_SetRedAlg(eccDp->algo); in Cy_Crypto_Core_ECC_MakePrivateKey() 249 cy_stc_crypto_ecc_dp_type *eccDp = Cy_Crypto_Core_ECC_GetCurveParams(curveID); in Cy_Crypto_Core_ECC_MakePublicKey() local 251 if ((eccDp != NULL) && (privateKey != NULL) && (publicKey != NULL) && in Cy_Crypto_Core_ECC_MakePublicKey() 254 uint32_t bitsize = eccDp->size; in Cy_Crypto_Core_ECC_MakePublicKey() 273 Cy_Crypto_Core_Vu_SetMemValue (base, VR_P, eccDp->prime, bitsize); in Cy_Crypto_Core_ECC_MakePublicKey() [all …]
|
D | cy_crypto_core_ecc_ecdsa.c | 76 const cy_stc_crypto_ecc_dp_type *eccDp; in Cy_Crypto_Core_ECC_SignHash() local 84 eccDp = Cy_Crypto_Core_ECC_GetCurveParams(key->curveID); in Cy_Crypto_Core_ECC_SignHash() 86 if (eccDp != NULL) in Cy_Crypto_Core_ECC_SignHash() 88 uint32_t bitsize = eccDp->size; in Cy_Crypto_Core_ECC_SignHash() 89 uint32_t bytesize = CY_CRYPTO_BYTE_SIZE_OF_BITS(eccDp->size); in Cy_Crypto_Core_ECC_SignHash() 110 Cy_Crypto_Core_Vu_SetMemValue (base, VR_P, (uint8_t *)eccDp->order, bitsize); in Cy_Crypto_Core_ECC_SignHash() 113 … Cy_Crypto_Core_Vu_SetMemValue (base, VR_BARRETT, (uint8_t *)eccDp->barrett_o, bitsize); in Cy_Crypto_Core_ECC_SignHash() 259 const cy_stc_crypto_ecc_dp_type *eccDp; in Cy_Crypto_Core_ECC_VerifyHash() local 268 eccDp = Cy_Crypto_Core_ECC_GetCurveParams(key->curveID); in Cy_Crypto_Core_ECC_VerifyHash() 270 if (eccDp != NULL) in Cy_Crypto_Core_ECC_VerifyHash() [all …]
|
D | cy_crypto_core_ecc_nist_p.c | 2019 cy_stc_crypto_ecc_dp_type *eccDp = Cy_Crypto_Core_ECC_GetCurveParams(curveID); in Cy_Crypto_Core_EC_NistP_PointMultiplication() local 2023 if (eccDp != NULL) in Cy_Crypto_Core_EC_NistP_PointMultiplication() 2028 p_polynomial = eccDp->prime; in Cy_Crypto_Core_EC_NistP_PointMultiplication() 2029 p_barrett = eccDp->barrett_p; in Cy_Crypto_Core_EC_NistP_PointMultiplication() 2030 bitsize = eccDp->size; in Cy_Crypto_Core_EC_NistP_PointMultiplication() 2033 Cy_Crypto_Core_EC_NistP_SetRedAlg(eccDp->algo); in Cy_Crypto_Core_EC_NistP_PointMultiplication() 2034 Cy_Crypto_Core_EC_NistP_SetMode(eccDp->size); in Cy_Crypto_Core_EC_NistP_PointMultiplication()
|