Searched refs:RSA_LIMBS (Results 1 – 4 of 4) sorted by relevance
23 #define RSA_LIMBS ((RSA_LEN + 31)/ 32) macro24 #define RSA_BYTES sizeof(uint32_t[RSA_LIMBS])28 uint32_t tmpA[RSA_LIMBS * 2];29 uint32_t tmpB[RSA_LIMBS + 1];32 uint32_t tmpC[RSA_LIMBS + 1];34 uint32_t tmpC[RSA_LIMBS * 2];
38 limbsh = RSA_LIMBS - 1; in biModIterative()44 while (!(tmp[RSA_LIMBS] & 0x80000000)) { in biModIterative()45 for (i = RSA_LIMBS; i > 0; i--) { in biModIterative()59 for (i = RSA_LIMBS; i >= 0; i--) { in biModIterative()68 for (i = 0; i <= RSA_LIMBS; i++) { in biModIterative()76 for (i = RSA_LIMBS + limbsh + 1; i < RSA_LIMBS * 2; i++) { in biModIterative()96 for (i = 0; i < RSA_LIMBS; i++) { in biModIterative()123 for (j = 0; j < RSA_LIMBS; j++) { in biMulIterative()130 for (j = step + RSA_LIMBS; j < RSA_LIMBS * 2; j++) { in biMulIterative()187 if (gigastepSubstep == RSA_LIMBS - 1) //MUL is done - do mod next in rsaPubOpIterative()[all …]
118 uint32_t num[RSA_LIMBS];119 uint32_t exponent[RSA_LIMBS];120 uint32_t modulus[RSA_LIMBS];130 for (i = 0; i < RSA_LIMBS; i++) in validateSignature()134 printHashRev(stderr, "RSA cyphertext", rsa->num, RSA_LIMBS); in validateSignature()143 printHashRev(stderr, "RSA plaintext", rsaResult, RSA_LIMBS); in validateSignature()146 if ((rsaResult[RSA_LIMBS - 1] & 0xffff0000) != 0x00020000) { in validateSignature()152 if (!(rsaResult[RSA_LIMBS - 1] & 0xff00) || !(rsaResult[RSA_LIMBS - 1] & 0xff)) { in validateSignature()164 for (i = 9; i < RSA_LIMBS - 1; i++) { in validateSignature()216 for (i = 0; i < RSA_LIMBS; i++) in handleConvertKey()[all …]
197 for (i = 0; ptr && i < numKeys; i++, ptr += RSA_LIMBS) { in pubKeyFindCbk()