/external/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/ |
D | CryptEccData.c | 154 (bigNum)&NIST_P192_p, (bigNum)&NIST_P192_n, (bigNum)&NIST_P192_h, 155 (bigNum)&NIST_P192_a, (bigNum)&NIST_P192_b, 156 {(bigNum)&NIST_P192_gX, (bigNum)&NIST_P192_gY, (bigNum)&NIST_P192_gZ}}; 205 (bigNum)&NIST_P224_p, (bigNum)&NIST_P224_n, (bigNum)&NIST_P224_h, 206 (bigNum)&NIST_P224_a, (bigNum)&NIST_P224_b, 207 {(bigNum)&NIST_P224_gX, (bigNum)&NIST_P224_gY, (bigNum)&NIST_P224_gZ}}; 256 (bigNum)&NIST_P256_p, (bigNum)&NIST_P256_n, (bigNum)&NIST_P256_h, 257 (bigNum)&NIST_P256_a, (bigNum)&NIST_P256_b, 258 {(bigNum)&NIST_P256_gX, (bigNum)&NIST_P256_gY, (bigNum)&NIST_P256_gZ}}; 319 (bigNum)&NIST_P384_p, (bigNum)&NIST_P384_n, (bigNum)&NIST_P384_h, [all …]
|
D | BnMemory.c | 48 LIB_EXPORT bigNum 50 bigNum bn, // IN/OUT: number to clean in BnSetTop() 72 LIB_EXPORT bigNum 74 bigNum bn in BnClearTop() 92 LIB_EXPORT bigNum 94 bigNum bn, // IN: in BnInitializeWord() 110 LIB_EXPORT bigNum 112 bigNum bn, in BnInit() 132 bigNum out, in BnCopy() 175 bigNum x, // IN: x coordinate in BnInitializePoint() [all …]
|
D | CryptEccSignature.c | 46 static bigNum 48 bigNum bnD, // OUT: the adjusted digest in EcdsaDigest() 84 bigNum bnS, // OUT: 's' component of the signature in BnSchnorrSign() 86 bigNum bnR, // IN: the signature 'r' value in BnSchnorrSign() 116 bigNum bnR, // OUT: 'r' component of the signature in BnSignEcdsa() 117 bigNum bnS, // OUT: 's' component of the signature in BnSignEcdsa() 120 bigNum bnD, // IN: private signing key in BnSignEcdsa() 211 bigNum bnS, // OUT: 's' component of the signature in BnSignEcdaa() 213 bigNum bnD, // IN: the private key in BnSignEcdaa() 310 bigNum bnR, // OUT: 'r' component of the signature in BnSignEcSchnorr() [all …]
|
D | BnMath.c | 123 bigNum result, in CarryResolve() 140 bigNum result, in BnAdd() 169 bigNum result, in BnAddWord() 231 bigNum result, in BnSub() 255 bigNum result, in BnSubWord() 405 LIB_EXPORT bigNum 407 bigNum n, in BnSetWord() 425 bigNum bn, // IN/OUT: big number to modify in BnSetBit() 446 bigNum bn, // IN: number to check in BnTestBit() 468 bigNum bn, // IN/OUT: number to mask in BnMaskBits() [all …]
|
D | BnConvert.c | 50 LIB_EXPORT bigNum 52 bigNum bn, in BnFromBytes() 100 LIB_EXPORT bigNum 102 bigNum bn, // OUT: in BnFrom2B() 116 LIB_EXPORT bigNum 118 bigNum bn, // OUT: in BnFromHex()
|
D | CryptPrime.c | 120 bigNum prime, // IN: in BnIsProbablyPrime() 171 bigNum bnW, in MillerRabin() 268 bigNum prime, in RsaCheckPrime() 327 bigNum prime in RsaAdjustPrimeCandidate() 356 bigNum prime, // IN/OUT: points to the BN that will get the in BnGeneratePrimeForRSA()
|
D | CryptEccKeyExchange.c | 60 bigNum bnX, // IN/OUT: the reduced value in avf1() 61 bigNum bnN // IN: the order of the curve in avf1() 283 static bigNum 285 bigNum bn, // IN/OUT: the reduced value in avfSm2()
|
D | PrimeData.c | 57 bigConst s_CompositeOfSmallPrimes = (const bigNum)&s_CompositeOfSmallPrimes_;
|
/external/ms-tpm-20-ref/TPMCmd/tpm/include/prototypes/ |
D | BnMemory_fp.h | 47 LIB_EXPORT bigNum 49 bigNum bn, // IN/OUT: number to clean 55 LIB_EXPORT bigNum 57 bigNum bn 63 LIB_EXPORT bigNum 65 bigNum bn, // IN: 73 LIB_EXPORT bigNum 75 bigNum bn, 85 bigNum out, 104 bigNum x, // IN: x coordinate [all …]
|
D | BnMath_fp.h | 47 bigNum result, 56 bigNum result, 67 bigNum result, 77 bigNum result, 150 LIB_EXPORT bigNum 152 bigNum n, 161 bigNum bn, // IN/OUT: big number to modify 173 bigNum bn, // IN: number to check 187 bigNum bn, // IN/OUT: number to mask 196 bigNum result, [all …]
|
D | TpmToOsslMath_fp.h | 55 bigNum bn, 85 bigNum result, 98 bigNum result, 111 bigNum quotient, 112 bigNum remainder, 125 bigNum gcd, // OUT: the common divisor 138 bigNum result, // OUT: the result 151 bigNum result,
|
D | TpmToWolfMath_fp.h | 51 bigNum bn, 85 bigNum result, 95 bigNum result, 105 bigNum quotient, 106 bigNum remainder, 116 bigNum gcd, // OUT: the common divisor 126 bigNum result, // OUT: the result 136 bigNum result,
|
D | TpmToLtcMath_fp.h | 49 bigNum result, 59 bigNum result, 68 bigNum quotient, 69 bigNum remainder, 79 bigNum gcd, // OUT: the common divisor 89 bigNum result, // OUT: the result 99 bigNum result,
|
D | BnConvert_fp.h | 47 LIB_EXPORT bigNum 49 bigNum bn, 58 LIB_EXPORT bigNum 60 bigNum bn, // OUT: 66 LIB_EXPORT bigNum 68 bigNum bn, // OUT:
|
D | CryptPrime_fp.h | 56 bigNum prime, // IN: 79 bigNum bnW, 98 bigNum prime, 132 bigNum prime 140 bigNum prime, // IN/OUT: points to the BN that will get the
|
D | CryptEccSignature_fp.h | 50 bigNum bnR, // OUT: 'r' component of the signature 51 bigNum bnS, // OUT: 's' component of the signature 54 bigNum bnD, // IN: private signing key 89 bigNum bnR, // IN: 'r' component of the signature 90 bigNum bnS, // IN: 's' component of the signature
|
D | CryptPrimeSieve_fp.h | 96 bigNum bnN, // IN/OUT: number to sieve 126 bigNum candidate, // IN/OUT: The candidate to filter
|
D | CryptEccMain_fp.h | 266 bigNum dOut, // OUT: the qualified random value 277 bigNum bnD, // OUT: private scalar
|
/external/ms-tpm-20-ref/TPMCmd/tpm/include/ |
D | CryptEcc.h | 62 (bigNum)&CURVE##_p_DATA, (bigNum)&CURVE##_n_DATA, (bigNum)&CURVE##_h_DATA, \ 63 (bigNum)&CURVE##_a_DATA, (bigNum)&CURVE##_b_DATA, \ 64 {(bigNum)&CURVE##_gX_DATA, (bigNum)&CURVE##_gY_DATA, (bigNum)&BN_ONE} };
|
D | SupportLibraryFunctionPrototypes_fp.h | 67 BnModMult(bigNum result, bigConst op1, bigConst op2, bigConst modulus); 72 BnMult(bigNum result, bigConst multiplicand, bigConst multiplier); 78 BnDiv(bigNum quotient, bigNum remainder, 87 BnGcd(bigNum gcd, bigConst number1, bigConst number2); 93 BnModExp(bigNum result, bigConst number, 98 LIB_EXPORT BOOL BnModInverse(bigNum result, bigConst number,
|
D | CryptRsa.h | 57 bigNum P; 58 bigNum Q; 59 bigNum dP; 60 bigNum dQ; 61 bigNum qInv;
|
D | BnValues.h | 112 #ifndef bigNum 113 typedef bignum_t *bigNum; typedef 153 (bigNum)BnInit((bigNum)&(name), \ 162 #define BN_ADDRESS(name) (bigNum)&name##_ 186 bigNum name = BnFrom2B(BN_INIT(name##_), \ 192 bigNum name = BN_INIT(_##name) 207 bigNum name = BnInitializeWord((bigNum)&name##_, \ 221 bigNum x; 222 bigNum y; 223 bigNum z; [all …]
|
/external/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/ltc/ |
D | TpmToLtcMath.c | 58 bigNum result, in BnModMult() 78 bigNum result, in BnMult() 99 bigNum quotient, in BnDiv() 100 bigNum remainder, in BnDiv() 133 bigNum gcd, // OUT: the common divisor in BnGcd() 150 bigNum result, // OUT: the result in BnModExp() 180 bigNum result, in BnModInverse()
|
/external/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/wolf/ |
D | TpmToWolfMath.c | 70 bigNum bn, in BnFromWolf() 180 bigNum result, in BnModMult() 210 bigNum result, in BnMult() 240 bigNum quotient, in BnDiv() 241 bigNum remainder, in BnDiv() 285 bigNum gcd, // OUT: the common divisor in BnGcd() 310 bigNum result, // OUT: the result in BnModExp() 336 bigNum result, in BnModInverse()
|
/external/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/ossl/ |
D | TpmToOsslMath.c | 74 bigNum bn, in OsslToTpmBn() 223 bigNum result, in BnModMult() 255 bigNum result, in BnMult() 284 bigNum quotient, in BnDiv() 285 bigNum remainder, in BnDiv() 323 bigNum gcd, // OUT: the common divisor in BnGcd() 352 bigNum result, // OUT: the result in BnModExp() 382 bigNum result, in BnModInverse()
|