Home
last modified time | relevance | path

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

/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/pki/common/
Dpka.h46 #define PKA_EXEC_OPERATION(Opcode,lenId,isAImmed,OpA,isBImmed,OpB,ResDiscard,Res,Tag) { \
48 …PKA_SET_FULL_OPCODE((Opcode),(lenId),(isAImmed),(OpA),(isBImmed),(OpB),(ResDiscard),(Res),(Tag)); \
62 #define PKA_ADD(lenId, Res, OpA, OpB) \ argument
63 PKA_EXEC_OPERATION( PKA_OPCODE_ID_ADD,(lenId), 0, (OpA), 0, (OpB), 0, (Res), 0 )
65 #define PKA_ADD_IM(lenId, Res, OpA, OpBIm) \ argument
66 PKA_EXEC_OPERATION( PKA_OPCODE_ID_ADD,(lenId), 0, (OpA), 1, (OpBIm), 0, (Res), 0 )
68 #define PKA_SUB(lenId, Res, OpA, OpB) \ argument
69 PKA_EXEC_OPERATION( PKA_OPCODE_ID_SUB,(lenId),0, (OpA), 0, (OpB), 0, (Res), 0 )
71 #define PKA_SUB_IM(lenId, Res, OpA, OpBIm) \ argument
72 PKA_EXEC_OPERATION( PKA_OPCODE_ID_SUB,(lenId), 0, (OpA), 1, (OpBIm), 0, (Res), 0 )
[all …]
Dpka.c126 … int8_t Res, /*!< [out] Virtual register pointer for result quotient. */ in PkaDivLongNum() argument
143 PKA_2CLEAR(LEN_ID_MAX_BITS, Res/*dst*/); in PkaDivLongNum()
173 PKA_SHL_FILL0( lenId+1, Res /*Res*/, Res /*OpA*/, (s1-1)/*S*/); in PkaDivLongNum()
176 PKA_ADD( lenId+1, Res /*Res*/, Res /*OpA*/, rT2 /*OpB*/); in PkaDivLongNum()
1072 …int8_t Res, /*!< [out] Virtual register pointer for result data. Valid values: 0 <= Res <… in PkaExecFullModInv() argument
1094 PKA_MOD_INV(LEN_ID_N_BITS, Res, OpB); in PkaExecFullModInv()
1114 PKA_MOD_INV(LEN_ID_N_BITS/*LenID*/, Res, rT1/*mod N*/); in PkaExecFullModInv()
1122 PKA_MUL_HIGH(LEN_ID_N_BITS, rT0/*Result*/, N, Res); in PkaExecFullModInv()
1128 PKA_MUL_LOW(LEN_ID_N_BITS, rT2/*Result*/, N, Res); in PkaExecFullModInv()
1135 Res, /*result*/ in PkaExecFullModInv()
[all …]
Dpki_dbg.c184 … uint32_t Res, /*!< [Out] Virtual register pointer for result data. in PkiDbgExecOperation() argument
196 if (Res == (int8_t)RES_DISCARD) { in PkiDbgExecOperation()
198 Res = 0; in PkiDbgExecOperation()
235 (Res > 31) || in PkiDbgExecOperation()
291 …ullOpCode = PKA_SET_FULL_OPCODE(Opcode, lenId, isAImmed, OpA, isBImmed, OpB, ResDiscard, Res, Tag); in PkiDbgExecOperation()
315 PkaCopyDataFromPkaReg(tempRes/*dst_ptr*/, RegSizeWords, Res/*srcReg*/); in PkiDbgExecOperation()
Dpka_hw_defs.h198 #define PKA_SET_FULL_OPCODE( Opcode,LenID,IsAImmed,OpA,IsBImmed,OpB,ResDiscard,Res,Tag ) \ argument
206 ((Res)) << PKA_OPCODE_RESULT_POS | \
Dpki_dbg.h69 uint32_t Res,
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/secure_boot_debug/crypto_driver/
Drsa_pki_pka.h312 int8_t Res, /*in*/
325 #define RSA_PKA_Add(LenID, OpA, OpB, Res, Tag, VirtualHwBaseAddr) \ argument
326 … _RSA_PKA_ExecOperation( PkaAdd,(LenID), 0, (OpA), 0, (OpB), 0, (Res), (Tag), (VirtualHwBaseAddr) )
328 #define RSA_PKA_Add_IM(LenID, OpA, OpBIm, Res, Tag, VirtualHwBaseAddr) \ argument
329 …_RSA_PKA_ExecOperation( PkaAddIm,(LenID), 0, (OpA), 1, (OpBIm), 0, (Res), (Tag), (VirtualHwBaseAdd…
331 #define RSA_PKA_SUB_IM(LenID, OpA, OpBIm, Res, Tag, VirtualHwBaseAddr) \ argument
332 …_RSA_PKA_ExecOperation( PkaSubIm,(LenID), 0, (OpA), 1, (OpBIm), 0, (Res), (Tag), (VirtualHwBaseAdd…
348 #define RSA_PKA_Set0(LenID, OpA, Res, Tag, VirtualHwBaseAddr) \ argument
349 … _RSA_PKA_ExecOperation(PkaOR, (LenID), 0, (OpA), 1, 0x01, 0, (Res), (Tag), (VirtualHwBaseAddr))
355 #define RSA_PKA_Add(LenID, OpA, OpB, Res, Tag, VirtualHwBaseAddr) \ argument
[all …]
Drsa_pki_pka.c276 int8_t Res, /*in*/ in _RSA_PKA_ExecOperation() argument
292 if (Res == (int8_t)RES_DISCARD) { in _RSA_PKA_ExecOperation()
294 Res = 0; in _RSA_PKA_ExecOperation()
302 …FullOpCode = RSA_PKA_FullOpCode(Opcode, LenID, IsAImmed, OpA, IsBImmed, OpB, ResDiscard, Res, Tag); in _RSA_PKA_ExecOperation()
Drsa_hwdefs.h181 #define RSA_PKA_FullOpCode( Opcode,LenID,IsAImmed,OpA,IsBImmed,OpB,ResDiscard,Res,Tag ) \ argument
189 ((Res)) << RSA_HW_PKI_PKA_OPCODE_RESULT_POS | \
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/secure_boot_debug/platform/stage/rt/cc3x/
Dsecureboot_stage_defs.h122 #define RSA_PKA_FullOpCode( Opcode,LenID,IsAImmed,OpA,IsBImmed,OpB,ResDiscard,Res,Tag ) \ argument
123 PKA_SET_FULL_OPCODE(Opcode,LenID,IsAImmed,OpA,IsBImmed,OpB,ResDiscard,Res,Tag )