Home
last modified time | relevance | path

Searched refs:hton (Results 1 – 5 of 5) sorted by relevance

/system/keymaster/km_openssl/
Dckdf.cpp48 const uint32_t net_order_L = hton(L); in DEFINE_OPENSSL_OBJECT_POINTER()
77 uint32_t net_order_i = hton(i); in DEFINE_OPENSSL_OBJECT_POINTER()
/system/keymaster/tests/
Dkeymaster_enforcement_test.cpp589 token.authenticator_type = hton(static_cast<uint32_t>(HW_AUTH_PASSWORD)); in TEST_F()
612 token.authenticator_type = hton(static_cast<uint32_t>(HW_AUTH_PASSWORD)); in TEST_F()
641 token.authenticator_type = hton(static_cast<uint32_t>(HW_AUTH_PASSWORD)); in TEST_F()
665 token.authenticator_type = hton(static_cast<uint32_t>(HW_AUTH_PASSWORD)); in TEST_F()
692 token.authenticator_type = hton(static_cast<uint32_t>(HW_AUTH_PASSWORD)); in TEST_F()
721 token.authenticator_type = hton(static_cast<uint32_t>(HW_AUTH_PASSWORD)); in TEST_F()
750 token.authenticator_type = hton(static_cast<uint32_t>(HW_AUTH_PASSWORD)); in TEST_F()
773 token.authenticator_type = hton(static_cast<uint32_t>(HW_AUTH_PASSWORD)); in TEST_F()
826 token.authenticator_type = hton(static_cast<uint32_t>(HW_AUTH_PASSWORD)); in TEST_F()
827 token.timestamp = hton(kmen.current_time()); in TEST_F()
[all …]
/system/keymaster/ng/
DKeyMintUtils.cpp26 using keymaster::hton;
119 pos = copy_bytes_to_iterator(hton(static_cast<uint32_t>(token->authenticatorType)), pos); in authToken2AidlVec()
120 pos = copy_bytes_to_iterator(hton(token->timestamp.milliSeconds), pos); in authToken2AidlVec()
/system/teeui/libteeui/include/teeui/
Dutils.h144 inline static IntType hton(const IntType& value) {
156 inline static IntType hton(const IntType& value) { return value; }
159 template <typename IntType> inline IntType hton(const IntType& value) {
160 return choose_hton<IntType, __BYTE_ORDER__>::hton(value);
165 return choose_hton<IntType, __BYTE_ORDER__>::hton(value);
/system/keymaster/include/keymaster/
Dandroid_keymaster_utils.h73 template <typename T> T hton(T t) { in hton() function