Home
last modified time | relevance | path

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

/packages/modules/NeuralNetworks/common/
DTokenHasher.cpp33 if (SHA256_Init(&mHasher) == 0 || in TokenHasher()
34 SHA256_Update(&mHasher, token, ANEURALNETWORKS_BYTE_SIZE_OF_CACHE_TOKEN) == 0) { in TokenHasher()
41 if (SHA256_Update(&mHasher, bytes, length) == 0) { in update()
53 if (SHA256_Final(mToken.data(), &mHasher) == 0) { in finish()
/packages/modules/NeuralNetworks/common/include/
DTokenHasher.h62 SHA256_CTX mHasher; variable