Home
last modified time | relevance | path

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

/system/security/keystore/
Dauth_token_table.cpp33 inline static IntType hton(const IntType& value) { in hton() function
45 inline static IntType hton(const IntType& value) { return value; } in hton() function
48 template <typename IntType> inline IntType hton(const IntType& value) { in hton() function
49 return choose_hton<IntType, __BYTE_ORDER__>::hton(value); in hton()
54 return choose_hton<IntType, __BYTE_ORDER__>::hton(value); in ntoh()
Dkeymaster_enforcement.cpp407 inline static IntType hton(const IntType& value) { in hton() function
419 inline static IntType hton(const IntType& value) { return value; } in hton() function
422 template <typename IntType> inline IntType hton(const IntType& value) { in hton() function
423 return choose_hton<IntType, __BYTE_ORDER__>::hton(value); in hton()
428 return choose_hton<IntType, __BYTE_ORDER__>::hton(value); in ntoh()
/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.cpp580 token.authenticator_type = hton(static_cast<uint32_t>(HW_AUTH_PASSWORD)); in TEST_F()
603 token.authenticator_type = hton(static_cast<uint32_t>(HW_AUTH_PASSWORD)); in TEST_F()
632 token.authenticator_type = hton(static_cast<uint32_t>(HW_AUTH_PASSWORD)); in TEST_F()
656 token.authenticator_type = hton(static_cast<uint32_t>(HW_AUTH_PASSWORD)); in TEST_F()
683 token.authenticator_type = hton(static_cast<uint32_t>(HW_AUTH_PASSWORD)); in TEST_F()
712 token.authenticator_type = hton(static_cast<uint32_t>(HW_AUTH_PASSWORD)); in TEST_F()
741 token.authenticator_type = hton(static_cast<uint32_t>(HW_AUTH_PASSWORD)); in TEST_F()
764 token.authenticator_type = hton(static_cast<uint32_t>(HW_AUTH_PASSWORD)); in TEST_F()
817 token.authenticator_type = hton(static_cast<uint32_t>(HW_AUTH_PASSWORD)); in TEST_F()
818 token.timestamp = hton(kmen.current_time()); in TEST_F()
[all …]
/system/keymaster/include/keymaster/
Dandroid_keymaster_utils.h230 template <typename T> T hton(T t) { in hton() function