First Publicly Shared Version of ODKiTEE v15
This commit is contained in:
17
oemcrypto_ta/oemcrypto_endianness.h
Normal file
17
oemcrypto_ta/oemcrypto_endianness.h
Normal file
@@ -0,0 +1,17 @@
|
||||
// Copyright 2020 Google LLC. All Rights Reserved. This file and proprietary
|
||||
// source code may only be used and distributed under the Widevine Master
|
||||
// License Agreement.
|
||||
|
||||
#ifndef OEMCRYPTO_ENDIANNESS_H_
|
||||
#define OEMCRYPTO_ENDIANNESS_H_
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
// The functions in this header convert between network and host byte order for
|
||||
// various basic integer types.
|
||||
|
||||
uint32_t HostToNetworkU32(uint32_t host);
|
||||
|
||||
uint32_t NetworkToHostU32(uint32_t network);
|
||||
|
||||
#endif // OEMCRYPTO_ENDIANNESS_H_
|
||||
Reference in New Issue
Block a user