Home
last modified time | relevance | path

Searched refs:PKA_REG_Z (Results 1 – 2 of 2) sorted by relevance

/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/pki/common/
Dpki_modular_arithmetic.c152 PKA_SHR_FILL0(LEN_ID_N_PKA_REG_BITS, PKA_REG_Z, PKA_REG_YT, 2-1); in PkiIsModSquareRootExists()
153 …PKA_MOD_EXP(LEN_ID_N_BITS, PKA_REG_T, PKA_REG_Y2, PKA_REG_Z); /* d = PKA_REG_T = PKA_REG_Y2^((PK… in PkiIsModSquareRootExists()
166 PKA_MOD_EXP(LEN_ID_N_BITS, PKA_REG_Z, PKA_REG_YT, PKA_REG_T); in PkiIsModSquareRootExists()
168 …PKA_MOD_MUL(LEN_ID_N_BITS, PKA_REG_Y1, PKA_REG_Z, PKA_REG_YT); /* PKA_REG_Y1 = 2*PKA_REG_Y2*(4rY… in PkiIsModSquareRootExists()
208 PKA_CLEAR(LEN_ID_N_PKA_REG_BITS, PKA_REG_Z); in PkiIsModSquareRootExists()
209 PKA_SET_BIT0(LEN_ID_N_PKA_REG_BITS, PKA_REG_Z, PKA_REG_Z); /* z = 1*/ in PkiIsModSquareRootExists()
211 PKA_ADD_IM(LEN_ID_N_PKA_REG_BITS, PKA_REG_Z, PKA_REG_Z, 1); in PkiIsModSquareRootExists()
214 PKA_COPY(LEN_ID_N_PKA_REG_BITS, PKA_REG_A, PKA_REG_Z); in PkiIsModSquareRootExists()
219 PKA_MOD_EXP(LEN_ID_N_BITS, PKA_REG_Z, PKA_REG_Z, PKA_REG_Y1); /* */ in PkiIsModSquareRootExists()
243 PKA_MOD_MUL(LEN_ID_N_BITS, PKA_REG_Y1, PKA_REG_Y1, PKA_REG_Z); in PkiIsModSquareRootExists()
[all …]
Dpka_point_compress_regs_def.h21 #define PKA_REG_Z 7 //zZ macro