Home
last modified time | relevance | path

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

/trusted-firmware-m-3.7.0/platform/ext/target/stm/common/stm32u5xx/hal/Inc/
Dstm32u5xx_hal_pka.h144 …const uint8_t *modulus; /*!< Pointer to curve modulus value p (Array of modulusSize e… member
157 …const uint8_t *modulus; /*!< Pointer to curve modulus value p (Array of modulusSize e… member
180 …const uint8_t *modulus; /*!< Pointer to curve modulus value p (Array of modulusSi… member
198 …const uint8_t *modulus; /*!< Pointer to curve modulus value p (Array of modulusSi… member
298 const uint8_t *modulus; /*!< pointer to curve modulus value p */ member
312 const uint8_t *modulus; /*!< pointer to curve modulus value p */ member
323 const uint8_t *modulus; /*!< pointer to curve modulus value p */ member
/trusted-firmware-m-3.7.0/platform/ext/target/stm/common/stm32h5xx/hal/Inc/
Dstm32h5xx_hal_pka.h144 …const uint8_t *modulus; /*!< Pointer to curve modulus value p (Array of modulusSize e… member
157 …const uint8_t *modulus; /*!< Pointer to curve modulus value p (Array of modulusSize e… member
180 …const uint8_t *modulus; /*!< Pointer to curve modulus value p (Array of modulusSi… member
198 …const uint8_t *modulus; /*!< Pointer to curve modulus value p (Array of modulusSi… member
298 const uint8_t *modulus; /*!< pointer to curve modulus value p */ member
312 const uint8_t *modulus; /*!< pointer to curve modulus value p */ member
323 const uint8_t *modulus; /*!< pointer to curve modulus value p */ member
/trusted-firmware-m-3.7.0/platform/ext/target/stm/common/stm32l5xx/hal/Inc/
Dstm32l5xx_hal_pka.h142 …const uint8_t *modulus; /*!< Pointer to curve modulus value p (Array of modulusSize e… member
155 …const uint8_t *modulus; /*!< Pointer to curve modulus value p (Array of modulusSize e… member
167 …const uint8_t *modulus; /*!< Pointer to curve modulus value p (Array of modulusSize e… member
189 …const uint8_t *modulus; /*!< Pointer to curve modulus value p (Array of modulusSi… member
206 …const uint8_t *modulus; /*!< Pointer to curve modulus value p (Array of modulusSi… member
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/pki/srp/
Dsrp.c48 …PkaCopyBeByteBuffIntoPkaReg(rN, LEN_ID_MAX_BITS, pCtx->groupParam.modulus, CALC_FULL_32BIT_WORDS(p… in SrpPwdVerifierCalc()
104 …PkaCopyBeByteBuffIntoPkaReg(rN, LEN_ID_MAX_BITS, pCtx->groupParam.modulus, CALC_FULL_32BIT_WORDS(p… in SrpHostSharedSecretCalc()
202 …PkaCopyBeByteBuffIntoPkaReg(rN, LEN_ID_MAX_BITS, pCtx->groupParam.modulus, CALC_FULL_32BIT_WORDS(p… in SrpUserSharedSecretCalc()
275 …PkaCopyBeByteBuffIntoPkaReg(rN, LEN_ID_MAX_BITS, pCtx->groupParam.modulus, CALC_FULL_32BIT_WORDS(p… in SrpHostPublicKeyCalc()
341 …PkaCopyBeByteBuffIntoPkaReg(rN, LEN_ID_MAX_BITS, pCtx->groupParam.modulus, CALC_FULL_32BIT_WORDS(p… in SrpUserPublicKeyCalc()
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/host/src/tests/integration_cc3x/runtime_integration_test/tests/
Drun_integration_srp.c128 groupParams.modulus, in runIt_srp()
143 groupParams.modulus, in runIt_srp()
/trusted-firmware-m-3.7.0/platform/ext/target/stm/common/stm32l5xx/hal/Src/
Dstm32l5xx_hal_pka.c2112 …stance->RAM[PKA_ECDSA_SIGN_IN_MOD_NB_BITS] = PKA_GetOptBitSize_u8(in->modulusSize, *(in->modulus)); in PKA_ECDSASign_Set()
2122 …PKA_Memcpy_u8_to_u32(&hpka->Instance->RAM[PKA_ECDSA_SIGN_IN_MOD_GF], in->modulus, in->modulusSize); in PKA_ECDSASign_Set()
2161 …tance->RAM[PKA_ECDSA_VERIF_IN_MOD_NB_BITS] = PKA_GetOptBitSize_u8(in->modulusSize, *(in->modulus)); in PKA_ECDSAVerif_Set()
2171 …PKA_Memcpy_u8_to_u32(&hpka->Instance->RAM[PKA_ECDSA_VERIF_IN_MOD_GF], in->modulus, in->modulusSize… in PKA_ECDSAVerif_Set()
2250 …tance->RAM[PKA_POINT_CHECK_IN_MOD_NB_BITS] = PKA_GetOptBitSize_u8(in->modulusSize, *(in->modulus)); in PKA_PointCheck_Set()
2264 …PKA_Memcpy_u8_to_u32(&hpka->Instance->RAM[PKA_POINT_CHECK_IN_MOD_GF], in->modulus, in->modulusSize… in PKA_PointCheck_Set()
2287 …nce->RAM[PKA_ECC_SCALAR_MUL_IN_OP_NB_BITS] = PKA_GetOptBitSize_u8(in->modulusSize, *(in->modulus)); in PKA_ECCMul_Set()
2298 …PKA_Memcpy_u8_to_u32(&hpka->Instance->RAM[PKA_ECC_SCALAR_MUL_IN_MOD_GF], in->modulus, in->modulusS… in PKA_ECCMul_Set()
2327 …nce->RAM[PKA_ECC_SCALAR_MUL_IN_OP_NB_BITS] = PKA_GetOptBitSize_u8(in->modulusSize, *(in->modulus)); in PKA_ECCMulFastMode_Set()
2337 …PKA_Memcpy_u8_to_u32(&hpka->Instance->RAM[PKA_ECC_SCALAR_MUL_IN_MOD_GF], in->modulus, in->modulusS… in PKA_ECCMulFastMode_Set()
/trusted-firmware-m-3.7.0/platform/ext/target/stm/common/hal/accelerator/
Decdsa_alt.c85 ECDSA_SignIn.modulus = grp->st_p; in mbedtls_ecdsa_sign()
226 ECDSA_VerifyIn.modulus = grp->st_p; in mbedtls_ecdsa_verify()
Decp_alt.c1473 ECC_MulIn.modulus = grp->st_p; in ecp_mul_comb()
1859 ECC_PointCheck.modulus = grp->st_p;
/trusted-firmware-m-3.7.0/platform/ext/target/stm/common/stm32h5xx/hal/Src/
Dstm32h5xx_hal_pka.c2351 …stance->RAM[PKA_ECDSA_SIGN_IN_MOD_NB_BITS] = PKA_GetOptBitSize_u8(in->modulusSize, *(in->modulus)); in PKA_ECDSASign_Set()
2365 …PKA_Memcpy_u8_to_u32(&hpka->Instance->RAM[PKA_ECDSA_SIGN_IN_MOD_GF], in->modulus, in->modulusSize); in PKA_ECDSASign_Set()
2404 …tance->RAM[PKA_ECDSA_VERIF_IN_MOD_NB_BITS] = PKA_GetOptBitSize_u8(in->modulusSize, *(in->modulus)); in PKA_ECDSAVerif_Set()
2414 …PKA_Memcpy_u8_to_u32(&hpka->Instance->RAM[PKA_ECDSA_VERIF_IN_MOD_GF], in->modulus, in->modulusSize… in PKA_ECDSAVerif_Set()
2495 …tance->RAM[PKA_POINT_CHECK_IN_MOD_NB_BITS] = PKA_GetOptBitSize_u8(in->modulusSize, *(in->modulus)); in PKA_PointCheck_Set()
2509 …PKA_Memcpy_u8_to_u32(&hpka->Instance->RAM[PKA_POINT_CHECK_IN_MOD_GF], in->modulus, in->modulusSize… in PKA_PointCheck_Set()
2537 …nce->RAM[PKA_ECC_SCALAR_MUL_IN_OP_NB_BITS] = PKA_GetOptBitSize_u8(in->modulusSize, *(in->modulus)); in PKA_ECCMul_Set()
2551 …PKA_Memcpy_u8_to_u32(&hpka->Instance->RAM[PKA_ECC_SCALAR_MUL_IN_MOD_GF], in->modulus, in->modulusS… in PKA_ECCMul_Set()
2665 …PKA_Memcpy_u8_to_u32(&hpka->Instance->RAM[PKA_ECC_DOUBLE_LADDER_IN_MOD_P], in->modulus, in->modulu… in PKA_ECCDoubleBaseLadder_Set()
2731 …PKA_Memcpy_u8_to_u32(&hpka->Instance->RAM[PKA_ECC_PROJECTIVE_AFF_IN_MOD_P], in->modulus, in->modul… in PKA_ECCProjective2Affine_Set()
[all …]
/trusted-firmware-m-3.7.0/platform/ext/target/stm/common/stm32u5xx/hal/Src/
Dstm32u5xx_hal_pka.c2350 …stance->RAM[PKA_ECDSA_SIGN_IN_MOD_NB_BITS] = PKA_GetOptBitSize_u8(in->modulusSize, *(in->modulus)); in PKA_ECDSASign_Set()
2364 …PKA_Memcpy_u8_to_u32(&hpka->Instance->RAM[PKA_ECDSA_SIGN_IN_MOD_GF], in->modulus, in->modulusSize); in PKA_ECDSASign_Set()
2403 …tance->RAM[PKA_ECDSA_VERIF_IN_MOD_NB_BITS] = PKA_GetOptBitSize_u8(in->modulusSize, *(in->modulus)); in PKA_ECDSAVerif_Set()
2413 …PKA_Memcpy_u8_to_u32(&hpka->Instance->RAM[PKA_ECDSA_VERIF_IN_MOD_GF], in->modulus, in->modulusSize… in PKA_ECDSAVerif_Set()
2494 …tance->RAM[PKA_POINT_CHECK_IN_MOD_NB_BITS] = PKA_GetOptBitSize_u8(in->modulusSize, *(in->modulus)); in PKA_PointCheck_Set()
2508 …PKA_Memcpy_u8_to_u32(&hpka->Instance->RAM[PKA_POINT_CHECK_IN_MOD_GF], in->modulus, in->modulusSize… in PKA_PointCheck_Set()
2536 …nce->RAM[PKA_ECC_SCALAR_MUL_IN_OP_NB_BITS] = PKA_GetOptBitSize_u8(in->modulusSize, *(in->modulus)); in PKA_ECCMul_Set()
2550 …PKA_Memcpy_u8_to_u32(&hpka->Instance->RAM[PKA_ECC_SCALAR_MUL_IN_MOD_GF], in->modulus, in->modulusS… in PKA_ECCMul_Set()
2664 …PKA_Memcpy_u8_to_u32(&hpka->Instance->RAM[PKA_ECC_DOUBLE_LADDER_IN_MOD_P], in->modulus, in->modulu… in PKA_ECCDoubleBaseLadder_Set()
2730 …PKA_Memcpy_u8_to_u32(&hpka->Instance->RAM[PKA_ECC_PROJECTIVE_AFF_IN_MOD_P], in->modulus, in->modul… in PKA_ECCProjective2Affine_Set()
[all …]
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/shared/include/crypto_api/cc3x/
Dmbedtls_cc_srp.h149 mbedtls_srp_modulus modulus; member
/trusted-firmware-m-3.7.0/platform/ext/accelerator/cc312/cc312-rom/
Dcc3xx_pka.h131 void cc3xx_lowlevel_pka_set_modulus(cc3xx_pka_reg_id_t modulus, bool calculate_tag,
Dcc3xx_pka.c446 void cc3xx_lowlevel_pka_set_modulus(cc3xx_pka_reg_id_t modulus, bool calculate_tag, in cc3xx_lowlevel_pka_set_modulus() argument
451 assert(modulus < pka_reg_am_max); in cc3xx_lowlevel_pka_set_modulus()
452 assert(virt_reg_in_use[modulus]); in cc3xx_lowlevel_pka_set_modulus()
455 cc3xx_lowlevel_pka_copy(modulus, CC3XX_PKA_REG_N); in cc3xx_lowlevel_pka_set_modulus()
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/cc3x_sym/driver/
Dsrp_driver.c60 rc = mbedtls_md_update(&hash_ctx, pCtx->groupParam.modulus, modSize); in SRP_kMultiplierCalc()
529 pCtx->groupParam.modulus, in SRP_UserProofCalc2()
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/cc3x_sym/api/
Dmbedtls_cc_srp.c101 CC_PalMemCopy(pCtx->groupParam.modulus, srpModulus, CALC_FULL_BYTES(modSizeInBits)); in mbedtls_srp_init()