Home
last modified time | relevance | path

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

/hardware/interfaces/keymaster/4.0/support/
Dkeymaster_utils.cpp59 constexpr size_t kHmacSize = 32; variable
64 sizeof(token.timestamp) + kHmacSize == in authToken2HidlVec()
79 if (token.mac.size() != kHmacSize) { in authToken2HidlVec()
80 std::fill(pos, pos + kHmacSize, 0); in authToken2HidlVec()
92 sizeof(token.timestamp) + kHmacSize == in hidlVec2AuthToken()
108 token.mac.resize(kHmacSize); in hidlVec2AuthToken()
109 std::copy(pos, pos + kHmacSize, token.mac.data()); in hidlVec2AuthToken()