HomeSort by relevance Sort by last modified time
    Searched refs:SwapBytes16 (Results 1 - 25 of 60) sorted by null

1 2 3

  /device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseLib/
SwapBytes16.c 15 SwapBytes16.c
39 SwapBytes16 (
SwapBytes32.c 46 LowerBytes = (UINT32) SwapBytes16 ((UINT16) Operand);
47 HigherBytes = (UINT32) SwapBytes16 ((UINT16) (Operand >> 16));
  /device/linaro/bootloader/edk2/MdePkg/Library/BaseLib/
SwapBytes16.c 34 SwapBytes16 (
SwapBytes32.c 41 LowerBytes = (UINT32) SwapBytes16 ((UINT16) Value);
42 HigherBytes = (UINT32) SwapBytes16 ((UINT16) (Value >> 16));
  /device/linaro/bootloader/edk2/SecurityPkg/Library/Tpm2CommandLib/
Tpm2Session.c 84 SendBuffer.Header.tag = SwapBytes16(TPM_ST_NO_SESSIONS);
91 WriteUnaligned16 ((UINT16 *)Buffer, SwapBytes16 (NonceCaller->size));
96 WriteUnaligned16 ((UINT16 *)Buffer, SwapBytes16 (Salt->size));
104 WriteUnaligned16 ((UINT16 *)Buffer, SwapBytes16 (Symmetric->algorithm));
110 WriteUnaligned16 ((UINT16 *)Buffer, SwapBytes16 (Symmetric->keyBits.aes));
112 WriteUnaligned16 ((UINT16 *)Buffer, SwapBytes16 (Symmetric->mode.aes));
116 WriteUnaligned16 ((UINT16 *)Buffer, SwapBytes16 (Symmetric->keyBits.SM4));
118 WriteUnaligned16 ((UINT16 *)Buffer, SwapBytes16 (Symmetric->mode.SM4));
122 WriteUnaligned16 ((UINT16 *)Buffer, SwapBytes16 (Symmetric->keyBits.sym));
124 WriteUnaligned16 ((UINT16 *)Buffer, SwapBytes16 (Symmetric->mode.sym));
    [all...]
Tpm2Capability.c 92 SendBuffer.Header.tag = SwapBytes16(TPM_ST_NO_SESSIONS);
333 AlgList->algProperties[Index].alg = SwapBytes16 (AlgList->algProperties[Index].alg);
480 Pcrs->pcrSelections[Index].hash = SwapBytes16 (TpmCap.data.assignedPCR.pcrSelections[Index].hash);
639 SendBuffer.Header.tag = SwapBytes16(TPM_ST_NO_SESSIONS);
643 WriteUnaligned16 ((UINT16 *)Buffer, SwapBytes16 (Parameters->type));
647 WriteUnaligned16 ((UINT16 *)Buffer, SwapBytes16 (Parameters->parameters.keyedHashDetail.scheme.scheme));
651 WriteUnaligned16 ((UINT16 *)Buffer, SwapBytes16 (Parameters->parameters.keyedHashDetail.scheme.details.hmac.hashAlg));
655 WriteUnaligned16 ((UINT16 *)Buffer, SwapBytes16 (Parameters->parameters.keyedHashDetail.scheme.details.xor.hashAlg));
657 WriteUnaligned16 ((UINT16 *)Buffer, SwapBytes16 (Parameters->parameters.keyedHashDetail.scheme.details.xor.kdf));
664 WriteUnaligned16 ((UINT16 *)Buffer, SwapBytes16 (Parameters->parameters.symDetail.algorithm));
    [all...]
Tpm2Startup.c 65 Cmd.Header.tag = SwapBytes16(TPM_ST_NO_SESSIONS);
68 Cmd.StartupType = SwapBytes16(StartupType);
110 Cmd.Header.tag = SwapBytes16(TPM_ST_NO_SESSIONS);
113 Cmd.ShutdownType = SwapBytes16(ShutdownType);
Tpm2EnhancedAuthorization.c 119 SendBuffer.Header.tag = SwapBytes16(TPM_ST_SESSIONS);
137 WriteUnaligned16 ((UINT16 *)Buffer, SwapBytes16(NonceTPM->size));
142 WriteUnaligned16 ((UINT16 *)Buffer, SwapBytes16(CpHashA->size));
147 WriteUnaligned16 ((UINT16 *)Buffer, SwapBytes16(PolicyRef->size));
182 Timeout->size = SwapBytes16(ReadUnaligned16 ((UINT16 *)Buffer));
186 PolicyTicket->tag = SwapBytes16(ReadUnaligned16 ((UINT16 *)Buffer));
190 PolicyTicket->digest.size = SwapBytes16(ReadUnaligned16 ((UINT16 *)Buffer));
233 SendBuffer.Header.tag = SwapBytes16(TPM_ST_NO_SESSIONS);
241 WriteUnaligned16 ((UINT16 *)Buffer, SwapBytes16 (HashList->digests[Index].size));
296 SendBuffer.Header.tag = SwapBytes16(TPM_ST_NO_SESSIONS);
    [all...]
Tpm2Test.c 57 Cmd.Header.tag = SwapBytes16(TPM_ST_NO_SESSIONS);
Tpm2Sequences.c 117 Cmd.Header.tag = SwapBytes16(TPM_ST_NO_SESSIONS);
123 WriteUnaligned16 ((UINT16 *)Buffer, SwapBytes16(0));
127 WriteUnaligned16 ((UINT16 *)Buffer, SwapBytes16(HashAlg));
206 Cmd.Header.tag = SwapBytes16(TPM_ST_SESSIONS);
221 WriteUnaligned16 ((UINT16 *)BufferPtr, SwapBytes16(Buffer->size));
310 Cmd.Header.tag = SwapBytes16(TPM_ST_SESSIONS);
330 WriteUnaligned16 ((UINT16 *)BufferPtr, SwapBytes16(Buffer->size));
381 Results->digests[Index].hashAlg = SwapBytes16(ReadUnaligned16 ((UINT16 *)BufferPtr));
432 Cmd.Header.tag = SwapBytes16(TPM_ST_SESSIONS);
447 WriteUnaligned16 ((UINT16 *)BufferPtr, SwapBytes16(Buffer->size));
    [all...]
Tpm2Help.c 110 WriteUnaligned16 ((UINT16 *)Buffer, SwapBytes16 (AuthSessionIn->nonce.size));
121 WriteUnaligned16 ((UINT16 *)Buffer, SwapBytes16 (AuthSessionIn->hmac.size));
132 WriteUnaligned16 ((UINT16 *)Buffer, SwapBytes16(0));
140 WriteUnaligned16 ((UINT16 *)Buffer, SwapBytes16(0));
172 AuthSessionOut->nonce.size = SwapBytes16 (ReadUnaligned16 ((UINT16 *)Buffer));
183 AuthSessionOut->hmac.size = SwapBytes16 (ReadUnaligned16 ((UINT16 *)Buffer));
Tpm2NVStorage.c 191 SendBuffer.Header.tag = SwapBytes16(TPM_ST_NO_SESSIONS);
236 NvPublicSize = SwapBytes16 (RecvBuffer.NvPublic.size);
237 NvNameSize = SwapBytes16 (ReadUnaligned16 ((UINT16 *)((UINT8 *)&RecvBuffer + sizeof(TPM2_RESPONSE_HEADER) + sizeof(UINT16) + NvPublicSize)));
250 NvPublic->nvPublic.nameAlg = SwapBytes16 (NvPublic->nvPublic.nameAlg);
252 NvPublic->nvPublic.authPolicy.size = SwapBytes16 (NvPublic->nvPublic.authPolicy.size);
255 NvPublic->nvPublic.dataSize = SwapBytes16 (ReadUnaligned16 ((UINT16 *)Buffer));
299 SendBuffer.Header.tag = SwapBytes16(TPM_ST_SESSIONS);
316 WriteUnaligned16 ((UINT16 *)Buffer, SwapBytes16(Auth->size));
326 WriteUnaligned16 ((UINT16 *)Buffer, SwapBytes16 (NvPublicSize));
330 WriteUnaligned16 ((UINT16 *)Buffer, SwapBytes16 (NvPublic->nvPublic.nameAlg));
    [all...]
Tpm2Integrity.c 114 Cmd.Header.tag = SwapBytes16(TPM_ST_SESSIONS);
135 WriteUnaligned16 ((UINT16 *)Buffer, SwapBytes16(Digests->digests[Index].hashAlg));
224 Cmd.Header.tag = SwapBytes16(TPM_ST_SESSIONS);
239 WriteUnaligned16 ((UINT16 *)Buffer, SwapBytes16(EventData->size));
284 Digests->digests[Index].hashAlg = SwapBytes16 (ReadUnaligned16 ((UINT16 *)Buffer));
334 SendBuffer.Header.tag = SwapBytes16(TPM_ST_NO_SESSIONS);
339 SendBuffer.PcrSelectionIn.pcrSelections[Index].hash = SwapBytes16(PcrSelectionIn->pcrSelections[Index].hash);
391 PcrSelectionOut->pcrSelections[Index].hash = SwapBytes16(RecvBuffer.PcrSelectionOut.pcrSelections[Index].hash);
403 PcrValues->digests[Index].size = SwapBytes16(Digests->size);
451 Cmd.Header.tag = SwapBytes16(TPM_ST_SESSIONS);
    [all...]
Tpm2Context.c 58 SendBuffer.Header.tag = SwapBytes16(TPM_ST_NO_SESSIONS);
Tpm2Hierarchy.c 155 SendBuffer.Header.tag = SwapBytes16(TPM_ST_SESSIONS);
173 WriteUnaligned16 ((UINT16 *)Buffer, SwapBytes16(AuthPolicy->size));
177 WriteUnaligned16 ((UINT16 *)Buffer, SwapBytes16(HashAlg));
237 Cmd.Header.tag = SwapBytes16(TPM_ST_SESSIONS);
327 Cmd.Header.tag = SwapBytes16(TPM_ST_SESSIONS);
425 Cmd.Header.tag = SwapBytes16(TPM_ST_SESSIONS);
441 WriteUnaligned16 ((UINT16 *)Buffer, SwapBytes16(NewAuth->size));
531 Cmd.Header.tag = SwapBytes16(TPM_ST_SESSIONS);
629 Cmd.Header.tag = SwapBytes16(TPM_ST_SESSIONS);
731 Cmd.Header.tag = SwapBytes16(TPM_ST_SESSIONS);
    [all...]
  /device/linaro/bootloader/edk2/StdLib/LibC/Main/
HtoNtoH.c 52 return SwapBytes16(Datum);
86 return SwapBytes16(Datum);
ByteSwap.c 37 return SwapBytes16(Value);
  /device/linaro/bootloader/edk2/SecurityPkg/Library/Tpm12CommandLib/
Tpm12PhysicalPresence.c 55 Command.Hdr.tag = SwapBytes16 (TPM_TAG_RQU_COMMAND);
58 Command.PhysicalPresence = SwapBytes16 (PhysicalPresence);
Tpm12Startup.c 53 Command.Hdr.tag = SwapBytes16 (TPM_TAG_RQU_COMMAND);
56 Command.TpmSt = SwapBytes16 (TpmSt);
95 Command.tag = SwapBytes16 (TPM_TAG_RQU_COMMAND);
Tpm12Ownership.c 40 Command.tag = SwapBytes16 (TPM_TAG_RQU_COMMAND);
Tpm12SelfTest.c 43 Command.tag = SwapBytes16 (TPM_TAG_RQU_COMMAND);
Tpm12NvStorage.c 83 Command.Hdr.tag = SwapBytes16 (TPM_TAG_RQU_COMMAND);
86 Command.PubInfo.tag = SwapBytes16 (PubInfo->tag);
88 Command.PubInfo.pcrInfoRead.pcrSelection.sizeOfSelect = SwapBytes16 (PubInfo->pcrInfoRead.pcrSelection.sizeOfSelect);
94 Command.PubInfo.pcrInfoWrite.pcrSelection.sizeOfSelect = SwapBytes16 (PubInfo->pcrInfoWrite.pcrSelection.sizeOfSelect);
100 Command.PubInfo.permission.tag = SwapBytes16 (PubInfo->permission.tag);
149 Command.Hdr.tag = SwapBytes16 (TPM_TAG_RQU_COMMAND);
214 Command.Hdr.tag = SwapBytes16 (TPM_TAG_RQU_COMMAND);
Tpm12GetCapability.c 70 Command.Hdr.tag = SwapBytes16 (TPM_TAG_RQU_COMMAND);
111 Command.Hdr.tag = SwapBytes16 (TPM_TAG_RQU_COMMAND);
Tpm12Pcr.c 66 Command.Hdr.tag = SwapBytes16 (TPM_TAG_RQU_COMMAND);
  /device/linaro/bootloader/edk2/EmbeddedPkg/Include/
libfdt_env.h 34 return SwapBytes16 (x);

Completed in 1392 milliseconds

1 2 3