Searched refs:opSizeInBits (Results 1 – 7 of 7) sorted by relevance
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/pki/common/ |
D | pka_defs.h | 41 #define GET_FULL_OP_SIZE_PKA_WORDS(opSizeInBits) (((opSizeInBits)/CC_PKA_WORD_SIZE_IN_BITS + (((… argument 42 #define GET_FULL_OP_SIZE_BITS(opSizeInBits) (CC_PKA_WORD_SIZE_IN_BITS*GET_FULL_OP_SIZE_PKA_… argument 43 #define GET_FULL_OP_SIZE_32BIT_WORDS(opSizeInBits) (GET_FULL_OP_SIZE_BITS((opSizeInBits)) / CC_BIT… argument
|
D | pki_dbg.c | 193 uint32_t opSizeInBits, RegSizeWords; in PkiDbgExecOperation() local 203 PKA_GET_REG_SIZE(opSizeInBits, LEN_ID_MAX_BITS); in PkiDbgExecOperation() 205 PKA_GET_REG_SIZE(opSizeInBits, lenId); in PkiDbgExecOperation() 207 PKA_GET_REG_SIZE(opSizeInBits, lenId+1); in PkiDbgExecOperation() 210 …RegSizeWords = PKA_WORD_SIZE_IN_32BIT_WORDS*((opSizeInBits+CC_PKA_WORD_SIZE_IN_BITS-1)/CC_PKA_WORD… in PkiDbgExecOperation()
|
D | pka.c | 444 void PkaSetRegsSizesTab(uint32_t opSizeInBits, /*!< [in] Size of PKA operations (modulus) in … in PkaSetRegsSizesTab() argument 452 CC_HAL_WRITE_REGISTER(CC_REG_OFFSET (CRY_KERNEL, PKA_L0), opSizeInBits); in PkaSetRegsSizesTab() 454 …STER(CC_REG_OFFSET (CRY_KERNEL, PKA_L0) + CC_32BIT_WORD_SIZE, GET_FULL_OP_SIZE_BITS(opSizeInBits)); in PkaSetRegsSizesTab() 484 CCError_t PkaInitPka(uint32_t opSizeInBits, /*!< [in] Operation (modulus) exact size in bi… in PkaInitPka() argument 496 if (opSizeInBits < PKA_MIN_OPERATION_SIZE_BITS ) { in PkaInitPka() 501 if (opSizeInBits < (2*(CC_PKA_WORD_SIZE_IN_BITS+PKA_EXTRA_BITS))) { in PkaInitPka() 502 …regSizeIn32BitWords = CALC_FULL_32BIT_WORDS(opSizeInBits+CC_PKA_WORD_SIZE_IN_BITS+PKA_EXTRA_BITS-1… in PkaInitPka() 503 … if ((opSizeInBits+CC_PKA_WORD_SIZE_IN_BITS+PKA_EXTRA_BITS-1) % CC_BITS_IN_32BIT_WORD) { in PkaInitPka() 507 regSizeIn32BitWords = CALC_FULL_32BIT_WORDS(opSizeInBits); in PkaInitPka() 546 PkaSetRegsSizesTab(opSizeInBits, regSizeInPkaWords); in PkaInitPka()
|
D | pka.h | 293 void PkaSetRegsSizesTab(uint32_t opSizeInBits, 297 CCError_t PkaInitPka(uint32_t opSizeInBits, 301 #define PKA_INIT_PKA_DEFAULT(opSizeInBits) \ argument 302 PkaInitPka((opSizeInBits), 0 /*sizeInWords*/, NULL/*(pRegsCount)*/)
|
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/secure_boot_debug/crypto_driver/ |
D | rsa_pki_pka.c | 53 void RSA_PKA_SetRegsSizesTab( uint32_t opSizeInBits, in RSA_PKA_SetRegsSizesTab() argument 64 SB_HAL_WRITE_REGISTER(SB_REG_ADDR(virtualHwBaseAddr, PKA_L0), opSizeInBits); in RSA_PKA_SetRegsSizesTab() 151 void RSA_PKA_InitPka( uint32_t opSizeInBits, /*in - modulus size in bits*/ in RSA_PKA_InitPka() argument 164 regSizeInPkaWords = GET_FULL_OP_SIZE_PKA_WORDS(opSizeInBits); in RSA_PKA_InitPka() 173 RSA_PKA_SetRegsSizesTab(opSizeInBits, regSizeInPkaWords, virtualHwBaseAddr); in RSA_PKA_InitPka()
|
D | rsa_hwdefs.h | 128 #define GET_FULL_OP_SIZE_PKA_WORDS(opSizeInBits) (((opSizeInBits)/RSA_PKA_BIG_WORD_SIZE_IN_BITS… argument
|
D | rsa_pki_pka.h | 173 void RSA_PKA_SetRegsSizesTab( uint32_t opSizeInBits, 221 void RSA_PKA_InitPka(uint32_t opSizeInBits, /*in*/
|