Home
last modified time | relevance | path

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

/frameworks/native/services/bufferhub/
DBufferHubService.cpp114 const std::vector<uint8_t>& tokenHMAC = iter->second.first; in importBuffer() local
116 int numIntsForHMAC = (int)ceil(tokenHMAC.size() * sizeof(uint8_t) / (double)sizeof(int)); in importBuffer()
126 size_t hmacSize = tokenHMAC.size() * sizeof(uint8_t); in importBuffer()
127 if (memcmp(tokenHMAC.data(), &tokenHandle->data[1], hmacSize) != 0) { in importBuffer()