Home
last modified time | relevance | path

Searched refs:BYTE_ARRAY_TO_UINT32 (Results 1 – 11 of 11) sorted by relevance

/external/ms-tpm-20-ref/Samples/ARM32-FirmwareTPM/optee_ta/fTPM/platform/
DAdminPPI.c251 cmd.inputParameters.FunctionIndex = BYTE_ARRAY_TO_UINT32(CmdBuffer); in _admin__PPIRequest()
262 cmd.inputParameters.Op = BYTE_ARRAY_TO_UINT32(CmdBuffer); in _admin__PPIRequest()
311 cmd.header.paramSize = BYTE_ARRAY_TO_UINT32(CmdBuffer); in _admin__PPICommand()
315 cmd.header.commandCode = BYTE_ARRAY_TO_UINT32(CmdBuffer); in _admin__PPICommand()
347 FunctionIndex = BYTE_ARRAY_TO_UINT32(CmdBuffer); in _admin__PPICommand()
380 Op = BYTE_ARRAY_TO_UINT32(CmdBuffer); in _admin__PPICommand()
415 PPIResponse.header.paramSize = BYTE_ARRAY_TO_UINT32((BYTE *)ResponseSize); in _admin__PPICommand()
416 … PPIResponse.header.responseCode = BYTE_ARRAY_TO_UINT32((BYTE *)&PPIResponse.header.responseCode); in _admin__PPICommand()
/external/ms-tpm-20-ref/TPMCmd/tpm/include/
Dswap.h63 #define BYTE_ARRAY_TO_UINT32(b) ByteArrayToUint32((BYTE *)(b)) macro
78 #define BYTE_ARRAY_TO_UINT32(b) *((uint32_t *)(b)) macro
93 #define BYTE_ARRAY_TO_UINT32(b) REVERSE_ENDIAN_32(*((uint32_t *)(b))) macro
DTpmTypes.h748 {UINT32 x = BYTE_ARRAY_TO_UINT32(a); \
796 { UINT32 x = BYTE_ARRAY_TO_UINT32(a); i = UINT32_TO_TPMA_OBJECT(x); }
955 {UINT32 x = BYTE_ARRAY_TO_UINT32(a); \
1004 {UINT32 x = BYTE_ARRAY_TO_UINT32(a); \
1043 { UINT32 x = BYTE_ARRAY_TO_UINT32(a); i = UINT32_TO_TPMA_MEMORY(x); }
1075 { UINT32 x = BYTE_ARRAY_TO_UINT32(a); i = UINT32_TO_TPMA_CC(x); }
1123 { UINT32 x = BYTE_ARRAY_TO_UINT32(a); i = UINT32_TO_TPMA_MODES(x); }
1148 {UINT32 x = BYTE_ARRAY_TO_UINT32(a); \
1207 { UINT32 x = BYTE_ARRAY_TO_UINT32(a); i = UINT32_TO_TPMA_ACT(x); }
2225 { UINT32 x = BYTE_ARRAY_TO_UINT32(a); i = UINT32_TO_TPM_NV_INDEX(x); }
[all …]
/external/ms-tpm-20-ref/TPMCmd/tpm/src/support/
DPropertyCap.c86 *value = BYTE_ARRAY_TO_UINT32(MANUFACTURER); in TPMPropertyIsDefined()
90 *value = BYTE_ARRAY_TO_UINT32(VENDOR_STRING_1); in TPMPropertyIsDefined()
95 *value = BYTE_ARRAY_TO_UINT32(VENDOR_STRING_2); in TPMPropertyIsDefined()
103 *value = BYTE_ARRAY_TO_UINT32(VENDOR_STRING_3); in TPMPropertyIsDefined()
111 *value = BYTE_ARRAY_TO_UINT32(VENDOR_STRING_4); in TPMPropertyIsDefined()
DMemory.c263 return (((UINT64)BYTE_ARRAY_TO_UINT32(a)) << 32) + BYTE_ARRAY_TO_UINT32(&a[4]); in ByteArrayToUint64()
DTpmFail.c149 *target = BYTE_ARRAY_TO_UINT32(*buffer); in Unmarshal32()
DMarshal.c143 *target = BYTE_ARRAY_TO_UINT32(*buffer); in UINT32_Unmarshal()
/external/ms-tpm-20-ref/Samples/ARM32-FirmwareTPM/optee_ta/fTPM/include/
DfTPM.h68 #define BYTE_ARRAY_TO_UINT32(b) (uint32_t)( ((b)[0] << 24) \ macro
/external/ms-tpm-20-ref/Samples/ARM32-FirmwareTPM/optee_ta/fTPM/
DfTPM.c314 cmdLen = BYTE_ARRAY_TO_UINT32((uint8_t *)&(cmdBuf[2])); in fTPM_Submit_Command()
/external/ms-tpm-20-ref/Samples/Nucleo-TPM/Shared/TPMDevice/src/
DTpmDevice.c534 TPM_CC cc = BYTE_ARRAY_TO_UINT32(in); in TpmDecodeTPM_CC()
554 TPM_RC rc = BYTE_ARRAY_TO_UINT32(in); in TpmDecodeTPM_RC()
/external/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/
DCryptUtil.c857 cipherSize = BYTE_ARRAY_TO_UINT32(buffer); in CryptParameterEncryption()
923 cipherSize = BYTE_ARRAY_TO_UINT32(buffer); in CryptParameterDecryption()