Home
last modified time | relevance | path

Searched refs:UINT32 (Results 1 – 25 of 503) sorted by relevance

12345678910>>...21

/external/libnfc-nci/halimpl/bcm2079x/include/
Dandroid_logmsg.h35 void ScrLog (UINT32 trace_set_mask, const char* fmt_str, ...);
36 void LogMsg (UINT32 trace_set_mask, const char *fmt_str, ...);
37 void LogMsg_0 (UINT32 trace_set_mask, const char *p_str);
38 void LogMsg_1 (UINT32 trace_set_mask, const char *fmt_str, UINT32 p1);
39 void LogMsg_2 (UINT32 trace_set_mask, const char *fmt_str, UINT32 p1, UINT32 p2);
40 void LogMsg_3 (UINT32 trace_set_mask, const char *fmt_str, UINT32 p1, UINT32 p2, UINT32 p3);
41 void LogMsg_4 (UINT32 trace_set_mask, const char *fmt_str, UINT32 p1, UINT32 p2, UINT32 p3, UINT32
42 void LogMsg_5 (UINT32 trace_set_mask, const char *fmt_str, UINT32 p1, UINT32 p2, UINT32 p3, UINT32
43 void LogMsg_6 (UINT32 trace_set_mask, const char *fmt_str, UINT32 p1, UINT32 p2, UINT32 p3, UINT32
44 UINT8* scru_dump_hex (UINT8* p, char* pTitle, UINT32 len, UINT32 layer, UINT32 type);
[all …]
/external/libnfc-nci/src/nfc/include/
Dndef_utils.h101 EXPORT_NDEF_API extern tNDEF_STATUS NDEF_MsgValidate (UINT8 *p_msg, UINT32 msg_len, BOOLEAN b_allow…
125 EXPORT_NDEF_API extern UINT32 NDEF_MsgGetRecLength (UINT8 *p_cur_rec);
242 EXPORT_NDEF_API extern UINT8 *NDEF_RecGetPayload (UINT8 *p_rec, UINT32 *p_payload_len);
257 EXPORT_NDEF_API extern void NDEF_MsgInit (UINT8 *p_msg, UINT32 max_size, UINT32 *p_cur_size);
269 EXPORT_NDEF_API extern tNDEF_STATUS NDEF_MsgAddRec (UINT8 *p_msg, UINT32 max_size, UINT32 *p_cur_s…
272 UINT8 *p_payload, UINT32 payload_len);
285 EXPORT_NDEF_API extern tNDEF_STATUS NDEF_MsgInsertRec (UINT8 *p_msg, UINT32 max_size, UINT32 *p_cu…
288 UINT8 *p_payload, UINT32 payload_len);
300 EXPORT_NDEF_API extern tNDEF_STATUS NDEF_MsgAppendRec (UINT8 *p_msg, UINT32 max_size, UINT32 *p_cu…
301 UINT8 *p_new_rec, UINT32 new_rec_len);
[all …]
/external/libnfc-nci/halimpl/bcm2079x/adaptation/
Dandroid_logmsg.cpp25 extern UINT32 ScrProtocolTraceFlag;
35 static void dumpbin (const char* data, int size, UINT32 trace_layer, UINT32 trace_type);
92 void ScrLog (UINT32 trace_set_mask, const char *fmt_str, ...) in ScrLog()
104 UINT8 *scru_dump_hex (UINT8 *p, char *pTitle, UINT32 len, UINT32 layer, UINT32 type) in scru_dump_hex()
113 void dumpbin(const char* data, int size, UINT32 trace_layer, UINT32 trace_type) in dumpbin()
201 UINT32 nBytes = ((BT_HDR_SIZE + p_buf->offset + p_buf->len)*2)+1; in DispHciCmd()
219 UINT32 nBytes = ((BT_HDR_SIZE + p_buf->offset + p_buf->len)*2)+1; in DispHciEvt()
245 UINT32 nBytes = ((BT_HDR_SIZE + p_buf->offset + p_buf->len)*2)+1; in DispLLCP()
271 UINT32 nBytes = (len*2)+1; in DispHcp()
289 void DispCHO (UINT8 *pMsg, UINT32 MsgLen, BOOLEAN is_rx) {} in DispCHO()
[all …]
/external/tpm2/
DNV.c14 typedef UINT32 NV_ITER; // type of a NV iterator
130 static UINT32
143 if(*iter + sizeof(UINT32) > s_evictNvEnd || *iter == 0) in NvNext()
149 _plat__NvMemoryRead(*iter, sizeof(UINT32), iter); in NvNext()
151 return currentIter + sizeof(UINT32); // entity stores after the pointer in NvNext()
159 static UINT32
165 UINT32 endAddr = s_evictNvStart; in NvGetEnd()
166 UINT32 currentAddr; in NvGetEnd()
172 endAddr -= sizeof(UINT32); in NvGetEnd()
173 _plat__NvMemoryRead(endAddr, sizeof(UINT32), &endAddr); in NvGetEnd()
[all …]
DCpriSym_fp.h12 UINT32 keySizeInBits, // IN: key size in bit
16 UINT32 dInSize, // IN: data size
21 UINT32 keySizeInBits, // IN: key size in bit
25 UINT32 dInSize, // IN: data size
35 _cpri__AESEncryptCTR(((BYTE *)dOut), ((UINT32)keySize), ((BYTE *)key), \
36 ((BYTE *)iv), ((UINT32)dInSize), ((BYTE *)dIn))
39 UINT32 keySizeInBits, // IN: key size in bit
42 UINT32 dInSize, // IN: data size
54 _cpri__AESEncryptOFB(((BYTE *)dOut), ((UINT32)keySizeInBits), ((BYTE *)key), \
55 ((BYTE *)iv), ((UINT32)dInSize), ((BYTE *)dIn))
[all …]
Dtpm_types.h18 typedef uint32_t UINT32; typedef
32 typedef UINT32 TPM_ALGORITHM_ID;
33 typedef UINT32 TPM_MODIFIER_INDICATOR;
34 typedef UINT32 TPM_AUTHORIZATION_SIZE;
35 typedef UINT32 TPM_PARAMETER_SIZE;
41 typedef UINT32 TPM_GENERATED;
54 typedef UINT32 TPM_RC;
234 typedef UINT32 TPM_CAP;
249 typedef UINT32 TPM_PT;
321 typedef UINT32 TPM_PT_PCR;
[all …]
DGlobal.c52 UINT32 s_encryptSessionIndex;
53 UINT32 s_decryptSessionIndex;
54 UINT32 s_auditSessionIndex;
56 UINT32 s_sessionNum;
72 UINT32 s_reservedAddr[NV_RESERVE_LAST];
73 UINT32 s_reservedSize[NV_RESERVE_LAST];
74 UINT32 s_ramIndexSize;
76 UINT32 s_ramIndexSizeAddr;
77 UINT32 s_ramIndexAddr;
78 UINT32 s_maxCountAddr;
[all …]
DGlobal.h234 typedef UINT32 AUTH_ROLE;
326 UINT32 pcrCounter; // PCR counter value when PCR is
385 UINT32 pcrCounter;
704 UINT32 resetCount;
732 UINT32 failedTries; // the current count of unexpired
734 UINT32 maxTries; // number of unexpired authorization
737 UINT32 recoveryTime; // time between authorization failures
739 UINT32 lockoutRecovery; // time that must expire between
761 UINT32 algorithmSet;
774 UINT32 firmwareV1;
[all …]
DRSAKeySieve.c69 UINT32
101 UINT32
105 const UINT32 n // IN, the number of the SET bit in FindNthSetBit()
108 UINT32 i; in FindNthSetBit()
110 UINT32 retValue; in FindNthSetBit()
118 retValue = (UINT32)(pA - a) * 8; in FindNthSetBit()
154 UINT32 inner; in RandomForRsa()
205 UINT32
207 UINT32 bits // IN: Number of bits in the RSA prime in MillerRabinRounds()
330 UINT32
[all …]
DMathFunctions_fp.h10 LIB_EXPORT int _math__Comp(const UINT32 aSize, // IN: size of a
12 const UINT32 bSize, // IN: size of b
20 LIB_EXPORT BOOL _math__IsPrime(const UINT32 prime);
22 _math__ModExp(UINT32 cSize, // IN: size of the result
24 const UINT32 mSize, // IN: size of number to be exponentiated
26 const UINT32 eSize, // IN: size of power
28 const UINT32 nSize, // IN: modulus size
33 LIB_EXPORT int _math__sub(const UINT32 aSize, // IN: size of a
35 const UINT32 bSize, // IN: size of b
40 LIB_EXPORT int _math__uComp(const UINT32 aSize, // IN: size of a
[all …]
DCpriRSA_fp.h12 UINT32 *dOutSize, // OUT: the size of the decrypted data
16 UINT32 cInSize, // IN: the amount of data to decrypt
22 _cpri__EncryptRSA(UINT32 *cOutSize, // OUT: the size of the encrypted data
26 UINT32 dInSize, // IN: the amount of data to encrypt
35 UINT32 e, // IN: The public exponent
41 UINT32 *counter // IN/OUT: Counter value to allow KFD iteration to be
45 _cpri__SignRSA(UINT32 *sigOutSize, // OUT: size of signature
50 UINT32 hInSize, // IN: size of digest to be signed
55 UINT32 exponent, // IN: the public modulu
65 UINT32 hInSize, // IN: size of digest to be checked
[all …]
DPCR.c50 UINT32 *groupIndex // OUT: group index if PCR belongs a in PCRBelongsAuthGroup()
82 UINT32 *groupIndex // OUT: group index if PCR belongs a group that in PCRBelongsPolicyGroup()
138 UINT32 groupIndex; in PCRPolicyIsAvailable()
154 UINT32 groupIndex; in PCRGetAuthValue()
178 UINT32 groupIndex; in PCRGetAuthPolicy()
202 UINT32 i; in PCRSimStart()
245 UINT32 pcrIndex // IN: PCR index in PCR_SAVE in GetSavedPcrPointer()
293 UINT32 pcr, // IN: The number of the PCR in PcrIsAllocated()
297 UINT32 i; in PcrIsAllocated()
331 UINT32 pcrNumber // IN: PCR number in GetPcrPointer()
[all …]
DPCR_fp.h11 UINT32 *maxPCR, // OUT: Maximum number of PCR
12 UINT32 *sizeNeeded, // OUT: required space
13 UINT32 *sizeAvailable // OUT: available space
16 UINT32 *groupIndex // OUT: group index if PCR belongs
23 UINT32 *groupIndex // OUT: group index if PCR
30 UINT32 count, // IN: count of return
45 UINT32 count, // IN: count of returned handle
50 UINT32 count, // IN: count of returned propertie
58 UINT32 size, // IN: size of data to be extended
67 BOOL PcrIsAllocated(UINT32 pcr, // IN: The number of the PCR
[all …]
DTpmFail.c31 UINT32 size;
37 UINT32 function;
38 UINT32 line;
39 UINT32 code;
96 UINT32 integer, in MarshalUint32()
116 UINT32 usize; in UnmarshalHeader()
190 UINT32 marshalSize; in TpmFailureMode()
191 UINT32 capability; in TpmFailureMode()
193 UINT32 pt; // unmarshaled property type in TpmFailureMode()
194 UINT32 count; // unmarshaled property count in TpmFailureMode()
[all …]
DCpriHash_fp.h12 UINT32 dOutSize, // IN: size of digest buffer
21 UINT32 dataSize, // IN: size of buffer to hash
23 UINT32 digestSize, // IN: size of the digest buffer
39 UINT32 sizeInBits, // IN: size of generated key in bit
41 UINT32 *counterInOut, // IN/OUT: caller may provide the iteration
53 UINT32 sizeInBits, // IN: size of generated key in bit
57 _cpri__MGF1(UINT32 mSize, // IN: length of the mask to be produced
60 UINT32 sSize, // IN: size of the seed
78 UINT32 dataSize, // IN: the size of data to be added to the digest
86 UINT32 dOutSize, // IN: size of digest buffer
[all …]
DRSAKeySieve.h60 UINT32 lastPrime;
61 UINT32 index;
62 UINT32 final;
68 extern UINT32 failedAtIteration[10];
69 extern UINT32 MillerRabinTrials;
70 extern UINT32 totalFieldsSieved;
71 extern UINT32 emptyFieldsSieved;
72 extern UINT32 noPrimeFields;
73 extern UINT32 primesChecked;
DSessionProcess_fp.h13 UINT32 resHandleSize, // IN: size of response handle buffer
14 UINT32 resParmSize, // IN: size of response parameter buffer
15 UINT32 *resSessionSize // OUT: response session area
19 UINT32 handleNum, // IN: number of handles in command
22 UINT32 parmBufferSize // IN: size of parameter buffer
28 UINT32 handleNum, // IN: number of element in handle array
31 UINT32 sessionBufferSize, // IN: size of session buffer
33 UINT32 parmBufferSize // IN: size of parameter buffer
DNV_fp.h13 UINT32 NvCapGetCounterAvail(void);
14 UINT32 NvCapGetCounterNumber(void);
15 UINT32 NvCapGetIndexNumber(void);
16 UINT32 NvCapGetPersistentAvail(void);
17 UINT32 NvCapGetPersistentNumber(void);
36 UINT32 offset, // IN: offset of NV data
52 UINT32 count, // IN: maximum number of returned handle
57 UINT32 count, // IN: maximum number of returned handle
81 UINT32 offset, // IN: offset of NV data
82 UINT32 size, // IN: size of NV data
DCryptUtil_fp.h15 UINT32 maxCount, // IN: count of returned curve
18 UINT32 CryptCapGetEccCurveNumber(void);
20 LIB_EXPORT int CryptCompare(const UINT32 aSize, // IN: size of a
22 const UINT32 bSize, // IN: size of b
35 int CryptCompareSigned(UINT32 aSize, // IN: size of a
37 UINT32 bSize, // IN: size of b
114 LIB_EXPORT TPM_ALG_ID CryptGetHashAlgByIndex(UINT32 index // IN: the index
189 ((TPM2B *)contextU), ((TPM2B *)contextV), ((UINT32)sizeInBits), \
190 ((BYTE *)keyStream), ((UINT32 *)counterInOut), ((BOOL)FALSE))
206 ((TPM2B *)contextU), ((TPM2B *)contextV), ((UINT32)sizeInBits), \
[all …]
DCryptoEngine.h24 typedef UINT32 NUMDIGITS; // When a size is a number of "digits"
43 UINT32 rng;
44 UINT32 hash;
45 UINT32 sym;
47 UINT32 rsa;
50 UINT32 ecc;
144 typedef UINT32 DRBG_SEED[(DRBG_KEY_SIZE_BITS + DRBG_IV_SIZE_BITS) / 32];
147 UINT32 magic;
149 UINT32 lastValue[4]; // used when the TPM does continuous self-test
167 UINT32 curveID; // The curve identifier
[all …]
DCpriSym.c84 UINT32 keySizeInBits, // IN: key size in bit in _cpri__AESEncryptCBC()
88 UINT32 dInSize, // IN: data size (is required to be a multiple in _cpri__AESEncryptCBC()
139 UINT32 keySizeInBits, // IN: key size in bit in _cpri__AESDecryptCBC()
144 UINT32 dInSize, // IN: data size in _cpri__AESDecryptCBC()
200 UINT32 keySizeInBits, // IN: key size in bit in _cpri__AESEncryptCFB()
204 UINT32 dInSize, // IN: data size in _cpri__AESEncryptCFB()
254 UINT32 keySizeInBits, // IN: key size in bit in _cpri__AESDecryptCFB()
258 UINT32 dInSize, // IN: data size in _cpri__AESDecryptCFB()
310 UINT32 keySizeInBits, // IN: key size in bit in _cpri__AESEncryptCTR()
314 UINT32 dInSize, // IN: data size in _cpri__AESEncryptCTR()
[all …]
/external/libnfc-nci/src/nfc/ndef/
Dndef_cho_utils.c35 static UINT8 *ndef_get_bt_oob_record (UINT8 *p_msg, UINT32 max_size, UINT32 *p_cur_size,
76 tNDEF_STATUS NDEF_MsgCreateWktHr (UINT8 *p_msg, UINT32 max_size, UINT32 *p_cur_size, in NDEF_MsgCreateWktHr()
100 tNDEF_STATUS NDEF_MsgCreateWktHs (UINT8 *p_msg, UINT32 max_size, UINT32 *p_cur_size, in NDEF_MsgCreateWktHs()
124 tNDEF_STATUS NDEF_MsgAddWktHc (UINT8 *p_msg, UINT32 max_size, UINT32 *p_cur_size, in NDEF_MsgAddWktHc()
131 UINT32 payload_len; in NDEF_MsgAddWktHc()
145 payload_len = (UINT32)carrier_type_len + carrier_data_len + 2; in NDEF_MsgAddWktHc()
164 tNDEF_STATUS NDEF_MsgAddWktAc (UINT8 *p_msg, UINT32 max_size, UINT32 *p_cur_size, in NDEF_MsgAddWktAc()
169 UINT32 payload_len; in NDEF_MsgAddWktAc()
234 tNDEF_STATUS NDEF_MsgAddWktCr (UINT8 *p_msg, UINT32 max_size, UINT32 *p_cur_size, in NDEF_MsgAddWktCr()
258 tNDEF_STATUS NDEF_MsgAddWktErr (UINT8 *p_msg, UINT32 max_size, UINT32 *p_cur_size, in NDEF_MsgAddWktErr()
[all …]
Dndef_utils.c43 static void shiftdown (UINT8 *p_mem, UINT32 len, UINT32 shift_amount) in shiftdown()
47 register UINT32 xx; in shiftdown()
60 static void shiftup (UINT8 *p_dest, UINT8 *p_src, UINT32 len) in shiftup()
64 register UINT32 xx; in shiftup()
79 tNDEF_STATUS NDEF_MsgValidate (UINT8 *p_msg, UINT32 msg_len, BOOLEAN b_allow_chunks) in NDEF_MsgValidate()
85 UINT32 payload_len; in NDEF_MsgValidate()
225 UINT32 payload_len; in NDEF_MsgGetNumRecs()
269 UINT32 NDEF_MsgGetRecLength (UINT8 *p_cur_rec) in NDEF_MsgGetRecLength()
272 UINT32 rec_len = 0; in NDEF_MsgGetRecLength()
273 UINT32 payload_len; in NDEF_MsgGetRecLength()
[all …]
/external/vboot_reference/utility/
Defidecompress.c66 UINT32 mOutBuf;
67 UINT32 mInBuf;
70 UINT32 mBitBuf;
71 UINT32 mSubBitBuf;
73 UINT32 mCompSize;
74 UINT32 mOrigSize;
114 Sd->mBitBuf = (UINT32) (Sd->mBitBuf << NumOfBits); in FillBuf()
118 Sd->mBitBuf |= (UINT32) (Sd->mSubBitBuf << (NumOfBits = (UINT16) (NumOfBits - Sd->mBitCount))); in FillBuf()
144 UINT32
168 UINT32 OutBits; in GetBits()
[all …]
/external/libnfc-nci/src/nfa/int/
Dnfa_cho_int.h140 UINT32 max_ndef_size;
141 UINT32 cur_ndef_size;
151 UINT32 max_ndef_size;
152 UINT32 cur_ndef_size;
163 UINT32 error_data;
228 UINT32 tx_ndef_cur_size; /* current size of NDEF message */
229 UINT32 tx_ndef_sent_size; /* transmitted size of NDEF message */
232 UINT32 rx_ndef_buf_size; /* allocate buffer size for rx NDEF msg */
233 UINT32 rx_ndef_cur_size; /* current rx size of NDEF message */
282 tNFA_STATUS nfa_cho_send_hs_error (UINT8 error_reason, UINT32 error_data);
[all …]

12345678910>>...21