Home
last modified time | relevance | path

Searched refs:CRYPT_RESULT (Results 1 – 19 of 19) 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()
258 static CRYPT_RESULT
267 CRYPT_RESULT retVal; in RSAEP()
294 static CRYPT_RESULT
301 CRYPT_RESULT retVal; in RSADP()
336 static CRYPT_RESULT
359 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()
663 LIB_EXPORT CRYPT_RESULT
682 CRYPT_RESULT retVal; in _cpri__GenerateKeyEcc()
759 LIB_EXPORT CRYPT_RESULT
766 CRYPT_RESULT retVal; in _cpri__GetEphemeralEcc()
791 LIB_EXPORT CRYPT_RESULT
[all …]
DCpriRNG_fp.h10 LIB_EXPORT CRYPT_RESULT
22 LIB_EXPORT CRYPT_RESULT _cpri__StirRandom(INT32 entropySize, BYTE *entropy);
DMathFunctions_fp.h15 LIB_EXPORT CRYPT_RESULT _math__Div(const TPM2B *n, // IN: numerator
21 LIB_EXPORT CRYPT_RESULT
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()
DCpriRNG.c68 LIB_EXPORT CRYPT_RESULT
86 LIB_EXPORT CRYPT_RESULT
DMathFunctions.c278 LIB_EXPORT CRYPT_RESULT
291 CRYPT_RESULT retVal = CRYPT_SUCCESS; in _math__Div()
440 LIB_EXPORT CRYPT_RESULT
452 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(
DCpriCryptPri.c42 LIB_EXPORT CRYPT_RESULT
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()
824 CRYPT_RESULT retVal; in CryptTestKeyRSA()
868 CRYPT_RESULT retVal; in CryptGenerateKeyRSA()
1000 CRYPT_RESULT retVal = CRYPT_SUCCESS; in CryptDecryptRSA()
1078 CRYPT_RESULT retVal; in CryptEncryptRSA()
1137 CRYPT_RESULT retVal; in CryptSignRSA()
[all …]
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()