/external/tpm2/ |
D | tpm_generated.h | 16 UINT16 uint8_t_Marshal(uint8_t* source, BYTE** buffer, INT32* size); 18 TPM_RC uint8_t_Unmarshal(uint8_t* target, BYTE** buffer, INT32* size); 20 UINT16 int8_t_Marshal(int8_t* source, BYTE** buffer, INT32* size); 22 TPM_RC int8_t_Unmarshal(int8_t* target, BYTE** buffer, INT32* size); 24 UINT16 uint16_t_Marshal(uint16_t* source, BYTE** buffer, INT32* size); 26 TPM_RC uint16_t_Unmarshal(uint16_t* target, BYTE** buffer, INT32* size); 28 UINT16 int16_t_Marshal(int16_t* source, BYTE** buffer, INT32* size); 30 TPM_RC int16_t_Unmarshal(int16_t* target, BYTE** buffer, INT32* size); 32 UINT16 uint32_t_Marshal(uint32_t* source, BYTE** buffer, INT32* size); 34 TPM_RC uint32_t_Unmarshal(uint32_t* target, BYTE** buffer, INT32* size); [all …]
|
D | CpriSym_fp.h | 11 BYTE *dOut, // OUT: the decrypted data 13 BYTE *key, // IN: key buffer. The size of this buffer in bytes is 15 BYTE *iv, // IN/OUT: IV for decryption. The size of this buffer is 16 byte 17 BYTE *dIn // IN: data buffer 20 _cpri__AESDecryptCFB(BYTE *dOut, // OUT: the decrypted data 22 BYTE *key, // IN: key buffer. The size of this buffer in 24 BYTE *iv, // IN/OUT: IV for decryption. 26 BYTE *dIn // IN: data buffer 35 _cpri__AESEncryptCTR(((BYTE *)dOut), ((UINT32)keySize), ((BYTE *)key), \ 36 ((BYTE *)iv), ((UINT32)dInSize), ((BYTE *)dIn)) [all …]
|
D | CpriSym.c | 83 BYTE *dOut, // OUT: in _cpri__AESEncryptCBC() 85 BYTE *key, // IN: key buffer. The size of this buffer in in _cpri__AESEncryptCBC() 87 BYTE *iv, // IN/OUT: IV for decryption. in _cpri__AESEncryptCBC() 90 BYTE *dIn // IN: data buffer in _cpri__AESEncryptCBC() 94 BYTE *pIv; in _cpri__AESEncryptCBC() 138 BYTE *dOut, // OUT: the decrypted data in _cpri__AESDecryptCBC() 140 BYTE *key, // IN: key buffer. The size of this buffer in in _cpri__AESDecryptCBC() 142 BYTE *iv, // IN/OUT: IV for decryption. The size of this in _cpri__AESDecryptCBC() 145 BYTE *dIn // IN: data buffer in _cpri__AESDecryptCBC() 149 BYTE *pIv; in _cpri__AESDecryptCBC() [all …]
|
D | swap.h | 34 #define UINT8_TO_BYTE_ARRAY(i, b) {(b)[0] = (BYTE)(i);} 35 #define UINT16_TO_BYTE_ARRAY(i, b) {(b)[0] = (BYTE)((i) >> 8); \ 36 (b)[1] = (BYTE) (i);} 37 #define UINT32_TO_BYTE_ARRAY(i, b) {(b)[0] = (BYTE)((i) >> 24); \ 38 (b)[1] = (BYTE)((i) >> 16); \ 39 (b)[2] = (BYTE)((i) >> 8); \ 40 (b)[3] = (BYTE) (i);} 41 #define UINT64_TO_BYTE_ARRAY(i, b) {(b)[0] = (BYTE)((i) >> 56); \ 42 (b)[1] = (BYTE)((i) >> 48); \ 43 (b)[2] = (BYTE)((i) >> 40); \ [all …]
|
D | CryptUtil_fp.h | 21 const BYTE *a, // IN: a buffer 23 const BYTE *b // IN: b buffer 36 BYTE *a, // IN: a buffer 38 BYTE *b // IN: b buffer 52 BYTE *digest // OUT: hash digest 68 BYTE *dataOut, // OUT: plain text 72 BYTE *cipherIn, // IN: cipher text 105 BYTE *cipherOut, // OUT: cipher text 109 BYTE *dataIn, // IN: plain text 144 BYTE *buffer // OUT: buffer of random number [all …]
|
D | tpm_generated.c | 9 UINT16 uint8_t_Marshal(uint8_t* source, BYTE** buffer, INT32* size) { in uint8_t_Marshal() 33 TPM_RC uint8_t_Unmarshal(uint8_t* target, BYTE** buffer, INT32* size) { in uint8_t_Unmarshal() 57 UINT16 int8_t_Marshal(int8_t* source, BYTE** buffer, INT32* size) { in int8_t_Marshal() 81 TPM_RC int8_t_Unmarshal(int8_t* target, BYTE** buffer, INT32* size) { in int8_t_Unmarshal() 105 UINT16 uint16_t_Marshal(uint16_t* source, BYTE** buffer, INT32* size) { in uint16_t_Marshal() 129 TPM_RC uint16_t_Unmarshal(uint16_t* target, BYTE** buffer, INT32* size) { in uint16_t_Unmarshal() 153 UINT16 int16_t_Marshal(int16_t* source, BYTE** buffer, INT32* size) { in int16_t_Marshal() 177 TPM_RC int16_t_Unmarshal(int16_t* target, BYTE** buffer, INT32* size) { in int16_t_Unmarshal() 201 UINT16 uint32_t_Marshal(uint32_t* source, BYTE** buffer, INT32* size) { in uint32_t_Marshal() 225 TPM_RC uint32_t_Unmarshal(uint32_t* target, BYTE** buffer, INT32* size) { in uint32_t_Unmarshal() [all …]
|
D | MathFunctions_fp.h | 11 const BYTE *a, // IN: a buffer 13 const BYTE *b // IN: b buffer 23 BYTE *c, // OUT: results buffer 25 const BYTE *m, // IN: number to be exponentiated 27 const BYTE *e, // IN: power 29 const BYTE *n // IN: modulu 34 const BYTE *a, // IN: a 36 const BYTE *b, // IN: b 38 BYTE *c // OUT: the difference 41 const BYTE *a, // IN: a [all …]
|
D | CpriHash_fp.h | 13 BYTE *dOut // OUT: hash digest 22 BYTE *data, // IN: the buffer to hash 24 BYTE *digest // OUT: hash digest 32 const BYTE **p); 40 BYTE *keyStream, // OUT: key buffer 54 BYTE *keyStream // OUT: key buffer 58 BYTE *mask, // OUT: buffer to receive the mask 61 BYTE *seed // IN: seed size 68 BYTE *key, // IN: the HMAC key 79 BYTE *data // IN: data to be hashed [all …]
|
D | CpriRSA.c | 261 BYTE *dInOut, // OUT: the encrypted data in RSAEP() 266 BYTE exponent[4]; in RSAEP() 297 BYTE *dInOut, // IN/OUT: the decrypted data in RSADP() 339 BYTE *padded, // OUT: the pad data in OaepEncode() 343 BYTE *message // IN: the message being padded in OaepEncode() 345 , BYTE *testSeed // IN: optional seed used for testing. in OaepEncode() 352 BYTE mySeed[MAX_DIGEST_SIZE]; in OaepEncode() 353 BYTE *seed = mySeed; in OaepEncode() 355 BYTE mask[MAX_RSA_KEY_BYTES]; in OaepEncode() 356 BYTE *pp; in OaepEncode() [all …]
|
D | MemoryLib.c | 35 const BYTE *p = (BYTE *)source; in MemoryMove() 36 BYTE *q = (BYTE *)destination; in MemoryMove() 79 const BYTE *b1, *b2; in MemoryEqual() 80 b1 = (BYTE *)buffer1; in MemoryEqual() 81 b2 = (BYTE *)buffer2; in MemoryEqual() 189 BYTE * 195 BYTE *buf = NULL; in MemoryGetActionInputBuffer() 202 buf = (BYTE *)p; in MemoryGetActionInputBuffer() 239 BYTE* 263 BYTE *a = &auth->t.buffer[auth->t.size-1]; in MemoryRemoveTrailingZeros()
|
D | CpriHash.c | 16 BYTE data[OSSL_HASH_STATE_DATA_SIZE]; 84 BYTE *buf // OUT: The buffer that will receive the in MarshalHashState() 107 BYTE *buf // IN: Buffer containing marshaled hash data in GetHashState() 224 const BYTE **p in _cpri__GetHashDER() 307 BYTE *stateData = state->u.data; in _cpri__StartHash() 357 BYTE *data // IN: data to be hashed in _cpri__UpdateHash() 362 BYTE *stateData = state->u.data; in _cpri__UpdateHash() 408 BYTE *dOut // OUT: hash digest in _cpri__CompleteHash() 413 BYTE *stateData = state->u.data; in _cpri__CompleteHash() 417 BYTE temp[MAX_DIGEST_SIZE]; in _cpri__CompleteHash() [all …]
|
D | Global.h | 64 typedef BYTE HASH_STATE_TYPE; 97 typedef BYTE AUTH_VALUE[sizeof(TPMU_HA)]; 101 typedef BYTE TIME_INFO[sizeof(TPMS_TIME_INFO)]; 105 typedef BYTE NAME[sizeof(TPMU_NAME)]; 373 BYTE sha1[NUM_STATIC_PCR][SHA1_DIGEST_SIZE]; 376 BYTE sha256[NUM_STATIC_PCR][SHA256_DIGEST_SIZE]; 379 BYTE sha384[NUM_STATIC_PCR][SHA384_DIGEST_SIZE]; 382 BYTE sha512[NUM_STATIC_PCR][SHA512_DIGEST_SIZE]; 385 BYTE sm3_256[NUM_STATIC_PCR][SM3_256_DIGEST_SIZE]; 733 BYTE ppList[((TPM_CC_PP_LAST - TPM_CC_PP_FIRST + 1) + 7)/8]; [all …]
|
D | MathFunctions.c | 98 const BYTE *a, // IN: a in _math__sub() 100 const BYTE *b, // IN: b in _math__sub() 102 BYTE *c // OUT: the difference in _math__sub() 120 *c-- = (BYTE)borrow; in _math__sub() 129 *c-- = (BYTE)borrow; in _math__sub() 139 *c-- = (BYTE)borrow; in _math__sub() 164 BYTE *a // IN: a in _math__Inc() 184 BYTE *a // IN: a in _math__Dec() 211 const BYTE *a, // IN: a in _math__Mul() 213 const BYTE *b, // IN: b in _math__Mul() [all …]
|
D | CpriRSA_fp.h | 13 BYTE *dOut, // OUT: the decrypted data 17 BYTE *cIn, // IN: the data to decrypt 23 BYTE *cOut, // OUT: the encrypted data 27 BYTE *dIn, // IN: the data to encrypt 46 BYTE *sigOut, // OUT: signature 51 BYTE *hIn // IN: digest buffer 66 BYTE *hIn, // IN: digest buffer 68 BYTE *sigIn, // IN: signature
|
D | stubs_hash.c | 14 BYTE * key, // IN: the HMAC key in _cpri__StartHMAC() 21 BYTE *pb; // temp pointer in _cpri__StartHMAC() 65 BYTE * dOut // OUT: hash digest in _cpri__CompleteHMAC() 68 BYTE digest[MAX_DIGEST_SIZE]; in _cpri__CompleteHMAC() 88 BYTE * keyStream, // OUT: key buffer in _cpri__KDFa() 100 BYTE *stream = keyStream; in _cpri__KDFa() 101 BYTE marshaledUint32[4]; in _cpri__KDFa() 143 _cpri__UpdateHash(&hashState, lLen, (BYTE *)label); in _cpri__KDFa() 173 BYTE * keyStream // OUT: key buffer in _cpri__KDFe() 178 BYTE *stream = keyStream; in _cpri__KDFe() [all …]
|
/external/kernel-headers/original/uapi/linux/ |
D | cciss_defs.h | 44 #define BYTE __u8 macro 59 BYTE Dev; 60 BYTE Bus:6; 61 BYTE Mode:2; /* b00 */ 64 BYTE DevLSB; 65 BYTE DevMSB:6; 66 BYTE Mode:2; /* b01 */ 69 BYTE Dev:5; 70 BYTE Bus:3; 71 BYTE Targ:6; [all …]
|
/external/libpcap/msdos/ |
D | ndis2.h | 239 BYTE majorNdisVersion; /* 2 - Latest version */ 240 BYTE minorNdisVersion; /* 0 */ 242 BYTE majorModuleVersion; 243 BYTE minorModuleVersion; 250 BYTE moduleName[16]; 251 BYTE protocolLevelUpper; 259 BYTE interfaceUpper; 260 BYTE protocolLevelLower; 269 BYTE interfaceLower; 273 BYTE *serviceChars; [all …]
|
D | pktdrvr.h | 50 BYTE class; /* = 1 for DEC/Interl/Xerox Ethernet */ 51 BYTE number; /* = 0 for single LAN adapter */ 53 BYTE funcs; /* Basic/Extended/HiPerf functions */ 56 BYTE name [15]; /* Name of adapter interface,ie.3C523*/ 59 BYTE majVer; /* Major driver implementation ver. */ 60 BYTE minVer; /* Minor driver implementation ver. */ 61 BYTE dummyLen; /* length of following data */ 88 BYTE data [TX_BUF_SIZE]; 98 BYTE data [RX_BUF_SIZE]; 130 extern int PktReceive (BYTE *buf, int max);
|
/external/lzma/DOC/ |
D | 7zFormat.txt | 117 10xxxxxx BYTE y[1] : ( xxxxxx << (8 * 1)) + y 118 110xxxxx BYTE y[2] : ( xxxxx << (8 * 2)) + y 120 1111110x BYTE y[6] : ( x << (8 * 6)) + y 121 11111110 BYTE y[7] : y 122 11111111 BYTE y[8] : y 173 BYTE kSignature[6] = {'7', 'z', 0xBC, 0xAF, 0x27, 0x1C}; 177 BYTE Major; // now = 0 178 BYTE Minor; // now = 2 196 BYTE NID::kArchiveProperties (0x02) 199 BYTE PropertyType; [all …]
|
/external/lz4/lib/ |
D | lz4.c | 139 typedef uint8_t BYTE; typedef 146 typedef unsigned char BYTE; typedef 165 … const union { U32 u; BYTE c[4]; } one = { 1 }; /* don't use static : performance detrimental */ in LZ4_isLittleEndian() 228 const BYTE* p = (const BYTE*)memPtr; in LZ4_readLE16() 238 BYTE* p = (BYTE*)memPtr; in LZ4_writeLE16() 239 p[0] = (BYTE) value; in LZ4_writeLE16() 240 p[1] = (BYTE)(value>>8); in LZ4_writeLE16() 252 BYTE* d = (BYTE*)dstPtr; in LZ4_wildCopy() 253 const BYTE* s = (const BYTE*)srcPtr; in LZ4_wildCopy() 254 BYTE* const e = (BYTE*)dstEnd; in LZ4_wildCopy() [all …]
|
D | lz4hc.c | 97 static void LZ4HC_init (LZ4HC_CCtx_internal* hc4, const BYTE* start) in LZ4HC_init() 111 FORCE_INLINE void LZ4HC_Insert (LZ4HC_CCtx_internal* hc4, const BYTE* ip) in LZ4HC_Insert() 115 const BYTE* const base = hc4->base; in LZ4HC_Insert() 133 const BYTE* ip, const BYTE* const iLimit, in LZ4HC_InsertAndFindBestMatch() 134 const BYTE** matchpos, in LZ4HC_InsertAndFindBestMatch() 139 const BYTE* const base = hc4->base; in LZ4HC_InsertAndFindBestMatch() 140 const BYTE* const dictBase = hc4->dictBase; in LZ4HC_InsertAndFindBestMatch() 154 const BYTE* const match = base + matchIndex; in LZ4HC_InsertAndFindBestMatch() 162 const BYTE* const match = dictBase + matchIndex; in LZ4HC_InsertAndFindBestMatch() 165 const BYTE* vLimit = ip + (dictLimit - matchIndex); in LZ4HC_InsertAndFindBestMatch() [all …]
|
D | lz4frame.c | 80 typedef uint8_t BYTE; typedef 86 typedef unsigned char BYTE; typedef 97 const BYTE* const srcPtr = (const BYTE*)src; in LZ4F_readLE32() 107 BYTE* const dstPtr = (BYTE*)dst; in LZ4F_writeLE32() 108 dstPtr[0] = (BYTE)value32; in LZ4F_writeLE32() 109 dstPtr[1] = (BYTE)(value32 >> 8); in LZ4F_writeLE32() 110 dstPtr[2] = (BYTE)(value32 >> 16); in LZ4F_writeLE32() 111 dstPtr[3] = (BYTE)(value32 >> 24); in LZ4F_writeLE32() 116 const BYTE* const srcPtr = (const BYTE*)src; in LZ4F_readLE64() 130 BYTE* const dstPtr = (BYTE*)dst; in LZ4F_writeLE64() [all …]
|
D | lz4opt.h | 82 const BYTE* const ip, in LZ4HC_BinTree_InsertAndGetAllMatches() 83 const BYTE* const iHighLimit, in LZ4HC_BinTree_InsertAndGetAllMatches() 90 const BYTE* const base = ctx->base; in LZ4HC_BinTree_InsertAndGetAllMatches() 94 const BYTE* const dictBase = ctx->dictBase; in LZ4HC_BinTree_InsertAndGetAllMatches() 95 const BYTE* match; in LZ4HC_BinTree_InsertAndGetAllMatches() 120 const BYTE* vLimit = ip + (dictLimit - matchIndex); in LZ4HC_BinTree_InsertAndGetAllMatches() 170 FORCE_INLINE void LZ4HC_updateBinTree(LZ4HC_CCtx_internal* ctx, const BYTE* const ip, const BYTE* c… in LZ4HC_updateBinTree() 172 const BYTE* const base = ctx->base; in LZ4HC_updateBinTree() 183 const BYTE* const ip, const BYTE* const iHighLimit, in LZ4HC_BinTree_GetAllMatches() 218 const BYTE *inr = NULL; in LZ4HC_compress_optimal() [all …]
|
/external/lz4/tests/ |
D | frametest.c | 52 BYTE* dstPtr = (BYTE*)dstVoidPtr; in FUZ_writeLE32() 53 dstPtr[0] = (BYTE)value32; in FUZ_writeLE32() 54 dstPtr[1] = (BYTE)(value32 >> 8); in FUZ_writeLE32() 55 dstPtr[2] = (BYTE)(value32 >> 16); in FUZ_writeLE32() 56 dstPtr[3] = (BYTE)(value32 >> 24); in FUZ_writeLE32() 126 BYTE* BBuffer = (BYTE*)buffer; in FUZ_fillCompressibleNoiseBuffer() 131 BBuffer[pos++] = (BYTE)(FUZ_rand(seed)); in FUZ_fillCompressibleNoiseBuffer() 149 while (pos < end) BBuffer[pos++] = (BYTE)(FUZ_rand(seed) >> 5); in FUZ_fillCompressibleNoiseBuffer() 229 BYTE* ip = (BYTE*)compressedBuffer; in basicTests() 230 BYTE* const iend = (BYTE*)compressedBuffer + cSize; in basicTests() [all …]
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/model/typesystem/ |
D | PrimitiveTypeTest.java | 161 assertEquals("byte", ResolvedPrimitiveType.BYTE.describe()); in testAsDescribe() 173 … assertEquals(false, ResolvedPrimitiveType.BOOLEAN.isAssignableBy(ResolvedPrimitiveType.BYTE)); in testIsAssignableByOtherPrimitiveTypes() 182 assertEquals(false, ResolvedPrimitiveType.CHAR.isAssignableBy(ResolvedPrimitiveType.BYTE)); in testIsAssignableByOtherPrimitiveTypes() 189 … assertEquals(false, ResolvedPrimitiveType.BYTE.isAssignableBy(ResolvedPrimitiveType.BOOLEAN)); in testIsAssignableByOtherPrimitiveTypes() 190 assertEquals(false, ResolvedPrimitiveType.BYTE.isAssignableBy(ResolvedPrimitiveType.CHAR)); in testIsAssignableByOtherPrimitiveTypes() 191 assertEquals(true, ResolvedPrimitiveType.BYTE.isAssignableBy(ResolvedPrimitiveType.BYTE)); in testIsAssignableByOtherPrimitiveTypes() 192 assertEquals(false, ResolvedPrimitiveType.BYTE.isAssignableBy(ResolvedPrimitiveType.SHORT)); in testIsAssignableByOtherPrimitiveTypes() 193 assertEquals(false, ResolvedPrimitiveType.BYTE.isAssignableBy(ResolvedPrimitiveType.INT)); in testIsAssignableByOtherPrimitiveTypes() 194 assertEquals(false, ResolvedPrimitiveType.BYTE.isAssignableBy(ResolvedPrimitiveType.LONG)); in testIsAssignableByOtherPrimitiveTypes() 195 assertEquals(false, ResolvedPrimitiveType.BYTE.isAssignableBy(ResolvedPrimitiveType.FLOAT)); in testIsAssignableByOtherPrimitiveTypes() [all …]
|