Home
last modified time | relevance | path

Searched refs:CRYPT_RESULT (Results 1 – 20 of 20) sorted by relevance

/external/tpm2/
DCryptoEngine.h204 typedef INT16 CRYPT_RESULT; typedef
214 #define CRYPT_FAIL ((CRYPT_RESULT) 1)
215 #define CRYPT_SUCCESS ((CRYPT_RESULT) 0)
216 #define CRYPT_NO_RESULT ((CRYPT_RESULT) -1)
218 #define CRYPT_SCHEME ((CRYPT_RESULT) -2)
219 #define CRYPT_PARAMETER ((CRYPT_RESULT) -3)
220 #define CRYPT_UNDERFLOW ((CRYPT_RESULT) -4)
221 #define CRYPT_POINT ((CRYPT_RESULT) -5)
222 #define CRYPT_CANCEL ((CRYPT_RESULT) -6)
DCpriECC_fp.h10 LIB_EXPORT CRYPT_RESULT _cpri__C_2_2_KeyExchange(
20 LIB_EXPORT CRYPT_RESULT _cpri__C_2_2_KeyExchange(
30 LIB_EXPORT CRYPT_RESULT _cpri__EccCommitCompute(
44 LIB_EXPORT CRYPT_RESULT _cpri__EccPointMultiply(
56 LIB_EXPORT CRYPT_RESULT _cpri__GenerateKeyEcc(
69 LIB_EXPORT CRYPT_RESULT
74 LIB_EXPORT CRYPT_RESULT _cpri__SignEcc(
85 LIB_EXPORT CRYPT_RESULT _cpri__ValidateSignatureEcc(
DCpriSym_fp.h10 LIB_EXPORT CRYPT_RESULT _cpri__AESDecryptCBC(
19 LIB_EXPORT CRYPT_RESULT
37 LIB_EXPORT CRYPT_RESULT
79 LIB_EXPORT CRYPT_RESULT _cpri__AESEncryptCBC(
88 LIB_EXPORT CRYPT_RESULT
97 LIB_EXPORT CRYPT_RESULT
106 LIB_EXPORT CRYPT_RESULT
114 LIB_EXPORT CRYPT_RESULT _cpri__AESEncryptOFB(
DCpriRSA_fp.h11 LIB_EXPORT CRYPT_RESULT _cpri__DecryptRSA(
21 LIB_EXPORT CRYPT_RESULT
31 LIB_EXPORT CRYPT_RESULT _cpri__GenerateKeyRSA(
44 LIB_EXPORT CRYPT_RESULT
53 LIB_EXPORT CRYPT_RESULT _cpri__TestKeyRSA(
61 LIB_EXPORT CRYPT_RESULT _cpri__ValidateSignatureRSA(
DCpriRSA.c31 CRYPT_RESULT
46 CRYPT_RESULT retVal = CRYPT_SUCCESS; // Assume success in RsaPrivateExponent()
130 LIB_EXPORT CRYPT_RESULT
151 CRYPT_RESULT retVal = CRYPT_SUCCESS; // Assume success in _cpri__TestKeyRSA()
253 static CRYPT_RESULT
262 CRYPT_RESULT retVal; in RSAEP()
289 static CRYPT_RESULT
296 CRYPT_RESULT retVal; in RSADP()
331 static CRYPT_RESULT
354 CRYPT_RESULT retVal = CRYPT_SUCCESS; in OaepEncode()
[all …]
DCpriSym.c81 LIB_EXPORT CRYPT_RESULT
136 LIB_EXPORT CRYPT_RESULT
197 LIB_EXPORT CRYPT_RESULT
251 LIB_EXPORT CRYPT_RESULT
307 LIB_EXPORT CRYPT_RESULT
355 LIB_EXPORT CRYPT_RESULT
398 LIB_EXPORT CRYPT_RESULT
446 LIB_EXPORT CRYPT_RESULT
498 LIB_EXPORT CRYPT_RESULT
553 LIB_EXPORT CRYPT_RESULT
[all …]
DCpriECC.c266 static CRYPT_RESULT
340 LIB_EXPORT CRYPT_RESULT
357 CRYPT_RESULT retVal = CRYPT_SUCCESS; in _cpri__EccPointMultiply()
461 LIB_EXPORT CRYPT_RESULT
478 CRYPT_RESULT retVal = CRYPT_SUCCESS; in _cpri__EccCommitCompute()
660 LIB_EXPORT CRYPT_RESULT
679 CRYPT_RESULT retVal; in _cpri__GenerateKeyEcc()
756 LIB_EXPORT CRYPT_RESULT
763 CRYPT_RESULT retVal; in _cpri__GetEphemeralEcc()
788 LIB_EXPORT CRYPT_RESULT
[all …]
DCpriRNG_fp.h10 LIB_EXPORT CRYPT_RESULT
22 LIB_EXPORT CRYPT_RESULT _cpri__StirRandom(INT32 entropySize, BYTE *entropy);
DCpriHash.c322 retVal = (CRYPT_RESULT)EVP_MD_CTX_size(context); in _cpri__StartHash()
364 CRYPT_RESULT retVal = CRYPT_SUCCESS; in _cpri__UpdateHash()
663 LIB_EXPORT CRYPT_RESULT
674 CRYPT_RESULT retVal = 0; in _cpri__MGF1()
677 CRYPT_RESULT dSize = _cpri__GetDigestSize(hashAlg); in _cpri__MGF1()
721 retVal = (CRYPT_RESULT)mSize; in _cpri__MGF1()
830 return (CRYPT_RESULT)((sizeInBits + 7)/8); in _cpri__KDFa()
923 return (CRYPT_RESULT)((sizeInBits + 7) / 8); in _cpri__KDFe()
DMathFunctions_fp.h15 LIB_EXPORT CRYPT_RESULT _math__Div(const TPM2B *n, // IN: numerator
21 LIB_EXPORT CRYPT_RESULT
DCpriRNG.c68 LIB_EXPORT CRYPT_RESULT
86 LIB_EXPORT CRYPT_RESULT
DMathFunctions.c275 LIB_EXPORT CRYPT_RESULT
288 CRYPT_RESULT retVal = CRYPT_SUCCESS; in _math__Div()
435 LIB_EXPORT CRYPT_RESULT
447 CRYPT_RESULT retVal = CRYPT_SUCCESS; in _math__ModExp()
DCpriCryptPri_fp.h10 LIB_EXPORT CRYPT_RESULT _cpri__InitCryptoUnits(FAIL_FUNCTION failFunction);
DRSAKeySieve_fp.h10 LIB_EXPORT CRYPT_RESULT _cpri__GenerateKeyRSA(
DCryptUtil.c34 CRYPT_RESULT retVal // IN: crypt error to evaluate in TranslateCryptErrors()
159 CRYPT_RESULT retVal = 0; in CryptStartHash()
188 CRYPT_RESULT retVal = 0; in CryptStartHashSequence()
220 CRYPT_RESULT retVal; in CryptStartHMAC()
257 CRYPT_RESULT retVal; in CryptStartHMACSequence()
818 CRYPT_RESULT retVal; in CryptTestKeyRSA()
862 CRYPT_RESULT retVal; in CryptGenerateKeyRSA()
994 CRYPT_RESULT retVal = CRYPT_SUCCESS; in CryptDecryptRSA()
1072 CRYPT_RESULT retVal; in CryptEncryptRSA()
1131 CRYPT_RESULT retVal; in CryptSignRSA()
[all …]
DCpriCryptPri.c42 LIB_EXPORT CRYPT_RESULT
Dstubs_hash.c163 return (CRYPT_RESULT)((sizeInBits + 7)/8); in _cpri__KDFa()
240 return (CRYPT_RESULT)((sizeInBits + 7) / 8); in _cpri__KDFe()
DCpriHash_fp.h56 LIB_EXPORT CRYPT_RESULT
DRSAKeySieve.c775 LIB_EXPORT CRYPT_RESULT
795 CRYPT_RESULT retVal; in _cpri__GenerateKeyRSA()
Dpart4.txt19331 11 CRYPT_RESULT retVal // IN: crypt error to evaluate
19470 99 CRYPT_RESULT retVal = 0;
19509 120 CRYPT_RESULT retVal = 0;
19547 145 CRYPT_RESULT retVal;
19594 173 CRYPT_RESULT retVal;
20316 595 CRYPT_RESULT retVal;
20362 627 CRYPT_RESULT retVal;
20490 converts them from CRYPT_RESULT to TPM_RC values. The rsaKey parameter must reference an RSA
20517 728 CRYPT_RESULT retVal = CRYPT_SUCCESS;
20612 806 CRYPT_RESULT retVal;
[all …]