Home
last modified time | relevance | path

Searched refs:dInSize (Results 1 – 5 of 5) sorted by relevance

/external/tpm2/
DCpriSym.c88 UINT32 dInSize, // IN: data size (is required to be a multiple in _cpri__AESEncryptCBC() argument
98 if(dInSize == 0) in _cpri__AESEncryptCBC()
100 pAssert(dInSize <= INT32_MAX); in _cpri__AESEncryptCBC()
101 dSize = (INT32)dInSize; in _cpri__AESEncryptCBC()
144 UINT32 dInSize, // IN: data size in _cpri__AESDecryptCBC() argument
155 if(dInSize == 0) in _cpri__AESDecryptCBC()
157 pAssert(dInSize <= INT32_MAX); in _cpri__AESDecryptCBC()
158 dSize = (INT32)dInSize; in _cpri__AESDecryptCBC()
204 UINT32 dInSize, // IN: data size in _cpri__AESEncryptCFB() argument
213 if(dInSize == 0) in _cpri__AESEncryptCFB()
[all …]
DCpriSym_fp.h16 UINT32 dInSize, // IN: data size
25 UINT32 dInSize, // IN: data size
34 #define _cpri__AESDecryptCTR(dOut, keySize, key, iv, dInSize, dIn) \ argument
36 ((BYTE *)iv), ((UINT32)dInSize), ((BYTE *)dIn))
42 UINT32 dInSize, // IN: data size
53 #define _cpri__AESDecryptOFB(dOut, keySizeInBits, key, iv, dInSize, dIn) \ argument
55 ((BYTE *)iv), ((UINT32)dInSize), ((BYTE *)dIn))
64 #define _cpri__SM4DecryptCTR(dOut, keySize, key, iv, dInSize, dIn) \ argument
66 ((BYTE *)iv), ((UINT32)dInSize), ((BYTE *)dIn))
75 #define _cpri__SM4DecryptOFB(dOut, keySizeInBits, key, iv, dInSize, dIn) \ argument
[all …]
DCpriRSA.c692 UINT32 dInSize, // IN: size of the digest to compare in PssDecode() argument
762 _cpri__UpdateHash(&hashState, dInSize, dIn); in PssDecode()
921 UINT32 dInSize, // IN: the amount of data to encrypt in _cpri__EncryptRSA() argument
939 for(; dInSize > *cOutSize; dInSize--) in _cpri__EncryptRSA()
945 if(dInSize < *cOutSize) in _cpri__EncryptRSA()
946 memset(cOut, 0, *cOutSize - dInSize); in _cpri__EncryptRSA()
948 memcpy(&cOut[*cOutSize-dInSize], dIn, dInSize); in _cpri__EncryptRSA()
954 retVal = RSAES_PKSC1v1_5Encode(*cOutSize, cOut, dInSize, dIn); in _cpri__EncryptRSA()
957 retVal = OaepEncode(*cOutSize, cOut, hashAlg, label, dInSize, dIn in _cpri__EncryptRSA()
DCpriRSA_fp.h26 UINT32 dInSize, // IN: the amount of data to encrypt
Dpart4.txt27741 …The input iv buffer is required to have a size equal to the block size (16 bytes). The dInSize is …
27747 CRYPT_PARAMETER dInSize is not a multiple of the block size
27756 46 UINT32 dInSize, // IN: data size (is required to be a multiple
27768 58 if(dInSize == 0)
27771 61 pAssert(dInSize <= INT32_MAX);
27772 62 dSize = (INT32)dInSize;
27807 …iv buffer is required to have a size equal to the block size (16 bytes). The dInSize is required to
27813 CRYPT_PARAMETER dInSize is not a multiple of the block size
27823 95 UINT32 dInSize, // IN: data size
27836 108 if(dInSize == 0)
[all …]