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.cpp441 inline static IntType hton(const IntType& value) { in hton() function
453 inline static IntType hton(const IntType& value) { return value; } in hton() function
456 template <typename IntType> inline IntType hton(const IntType& value) { in hton() function
457 return choose_hton<IntType, __BYTE_ORDER__>::hton(value); in hton()
462 return choose_hton<IntType, __BYTE_ORDER__>::hton(value); in ntoh()
/system/keymaster/
Dkeymaster_enforcement_test.cpp526 token.authenticator_type = hton(static_cast<uint32_t>(HW_AUTH_PASSWORD)); in TEST_F()
549 token.authenticator_type = hton(static_cast<uint32_t>(HW_AUTH_PASSWORD)); in TEST_F()
578 token.authenticator_type = hton(static_cast<uint32_t>(HW_AUTH_PASSWORD)); in TEST_F()
602 token.authenticator_type = hton(static_cast<uint32_t>(HW_AUTH_PASSWORD)); in TEST_F()
629 token.authenticator_type = hton(static_cast<uint32_t>(HW_AUTH_PASSWORD)); in TEST_F()
658 token.authenticator_type = hton(static_cast<uint32_t>(HW_AUTH_PASSWORD)); in TEST_F()
687 token.authenticator_type = hton(static_cast<uint32_t>(HW_AUTH_PASSWORD)); in TEST_F()
710 token.authenticator_type = hton(static_cast<uint32_t>(HW_AUTH_PASSWORD)); in TEST_F()
762 token.authenticator_type = hton(static_cast<uint32_t>(HW_AUTH_PASSWORD)); in TEST_F()
763 token.timestamp = hton(kmen.current_time()); in TEST_F()
[all …]
/system/security/keystore/tests/
Dauth_token_table_test.cpp74 token->authenticator_type = hton(static_cast<uint32_t>(HW_AUTH_PASSWORD)); in make_token()
76 token->timestamp = hton(timestamp); in make_token()
/system/keymaster/include/keymaster/
Dandroid_keymaster_utils.h207 template <typename T> T hton(T t) { in hton() function