Home
last modified time | relevance | path

Searched refs:NUGGET_UPDATE_PASSWORD_LEN (Results 1 – 3 of 3) sorted by relevance

/external/nos/host/android/hals/authsecret/test/
Dtest.cpp36 const uint8_t EXPECTED_PASSWORD[NUGGET_UPDATE_PASSWORD_LEN] = {
46 const uint8_t DEFUALT_PASSWORD[NUGGET_UPDATE_PASSWORD_LEN] = {
59 return memcmp(msg->old_password.password, pwd, NUGGET_UPDATE_PASSWORD_LEN) == 0
66 return memcmp(msg->new_password.password, pwd, NUGGET_UPDATE_PASSWORD_LEN) == 0
122 return memcmp(msg->password.password, pwd, NUGGET_UPDATE_PASSWORD_LEN) == 0
/external/nos/host/android/hals/authsecret/
DAuthSecret.cpp43 SHA1_Update(&c, &password.password, NUGGET_UPDATE_PASSWORD_LEN); in CalculatePasswordDigest()
64 static_assert(SHA256_DIGEST_LENGTH == NUGGET_UPDATE_PASSWORD_LEN, in DeriveCitadelUpdatePassword()
89 memset(&msg->old_password.password, 0xff, NUGGET_UPDATE_PASSWORD_LEN); in TryEnrollCitadelUpdatePassword()
/external/nos/host/generic/nugget/include/
Dapp_nugget.h95 #define NUGGET_UPDATE_PASSWORD_LEN 32 macro
98 uint8_t password[NUGGET_UPDATE_PASSWORD_LEN];