Home
last modified time | relevance | path

Searched refs:bitVal (Results 1 – 3 of 3) sorted by relevance

/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/pki/common/
Dpka.c199 uint32_t bitVal = 0; in PkaModDivideBy2() local
207 PKA_READ_BIT0(lenId+1, rRes/*regNum*/, bitVal); in PkaModDivideBy2()
208 if (bitVal == 1) { in PkaModDivideBy2()
1010 uint32_t bitVal; in PkaGetBitFromPkaReg() local
1030 PKA_READ_BIT0( LenID+1, rT/**/, bitVal); in PkaGetBitFromPkaReg()
1031 return(bitVal); in PkaGetBitFromPkaReg()
1081 uint32_t bitVal; in PkaExecFullModInv() local
1091 PKA_READ_BIT0(LEN_ID_N_PKA_REG_BITS, PKA_REG_N/*N*/, bitVal); in PkaExecFullModInv()
1092 if (bitVal == 1 /*odd N*/) { in PkaExecFullModInv()
1100 PKA_READ_BIT0(LEN_ID_N_PKA_REG_BITS, OpB, bitVal); in PkaExecFullModInv()
[all …]
Dpka.h241 #define PKA_READ_BIT0(lenId,reg,bitVal) {\ argument
243 PKA_GET_STATUS_ALU_OUT_ZERO(bitVal); \
244 (bitVal) = !(bitVal); \
248 #define PKA_READ_BIT(bitVal,reg,i) {\ argument
250 PKA_GET_STATUS_ALU_OUT_ZERO((bitVal)); \
251 (bitVal) = !(bitVal); \
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/pki/rsa/
Drsa_genkey.c135 uint32_t bitVal; in PkaRsaKgX931Jacobi() local
170 PKA_READ_BIT0(lenId+1, rA1/*OpA*/, bitVal); in PkaRsaKgX931Jacobi()
171 while (bitVal == 0) { in PkaRsaKgX931Jacobi()
174 PKA_READ_BIT0(lenId+1, rA1/*OpA*/, bitVal); in PkaRsaKgX931Jacobi()
276 uint32_t bitVal; in PkaRsaKgX931MillerRabinTest() local
309 PKA_READ_BIT0(lenId+1, rT0/*P*/, bitVal); in PkaRsaKgX931MillerRabinTest()
310 if (bitVal == 0) { in PkaRsaKgX931MillerRabinTest()
695 uint32_t bitVal; in PkaRsaKgX931FindPrime2() local
723 PKA_READ_BIT0(LEN_ID_PQ_PKA_REG_BITS, rP/*OpA*/, bitVal); in PkaRsaKgX931FindPrime2()
724 if (bitVal == 0) { in PkaRsaKgX931FindPrime2()