Home
last modified time | relevance | path

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

/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/cc3x_sym/driver/
Dsrp_driver.c39 size_t modSize; in SRP_kMultiplierCalc() local
44 modSize = CALC_FULL_BYTES(pCtx->groupParam.modSizeInBits); in SRP_kMultiplierCalc()
60 rc = mbedtls_md_update(&hash_ctx, pCtx->groupParam.modulus, modSize); in SRP_kMultiplierCalc()
66 pCtx->ephemPriv[modSize-1] = pCtx->groupParam.gen; in SRP_kMultiplierCalc()
67 rc = mbedtls_md_update(&hash_ctx, (uint8_t *)pCtx->ephemPriv, modSize); in SRP_kMultiplierCalc()
235 size_t modSize; in SRP_uScrambleCalc() local
251 modSize = CALC_FULL_BYTES(pCtx->groupParam.modSizeInBits); in SRP_uScrambleCalc()
263 modSize, in SRP_uScrambleCalc()
290 rc = mbedtls_md_update(md_ctx, ephemPubA, modSize); in SRP_uScrambleCalc()
294 rc = mbedtls_md_update(md_ctx, ephemPubB, modSize); in SRP_uScrambleCalc()
[all …]
/trusted-firmware-m-3.4.0/platform/ext/target/stm/common/stm32l5xx/hal/Inc/
Dstm32l5xx_hal_pka.h271 uint32_t modSize; /*!< Number of element in pMod array */ member
/trusted-firmware-m-3.4.0/platform/ext/target/stm/common/stm32u5xx/hal/Inc/
Dstm32u5xx_hal_pka.h279 uint32_t modSize; /*!< Number of element in pMod array */ member
/trusted-firmware-m-3.4.0/platform/ext/target/stm/common/stm32l5xx/hal/Src/
Dstm32l5xx_hal_pka.c2386 hpka->Instance->RAM[PKA_MODULAR_REDUC_IN_MOD_LENGTH] = PKA_GetBitSize_u8(in->modSize); in PKA_ModRed_Set()
2393 PKA_Memcpy_u8_to_u32(&hpka->Instance->RAM[PKA_MODULAR_REDUC_IN_MODULUS], in->pMod, in->modSize); in PKA_ModRed_Set()
2394 __PKA_RAM_PARAM_END(hpka->Instance->RAM, PKA_MODULAR_REDUC_IN_MODULUS + (in->modSize / 4UL)); in PKA_ModRed_Set()
/trusted-firmware-m-3.4.0/platform/ext/target/stm/common/stm32u5xx/hal/Src/
Dstm32u5xx_hal_pka.c2601 hpka->Instance->RAM[PKA_MODULAR_REDUC_IN_MOD_LENGTH] = PKA_GetBitSize_u8(in->modSize); in PKA_ModRed_Set()
2608 PKA_Memcpy_u8_to_u32(&hpka->Instance->RAM[PKA_MODULAR_REDUC_IN_MODULUS], in->pMod, in->modSize); in PKA_ModRed_Set()
2609 __PKA_RAM_PARAM_END(hpka->Instance->RAM, PKA_MODULAR_REDUC_IN_MODULUS + (in->modSize / 4UL)); in PKA_ModRed_Set()