Home
last modified time | relevance | path

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

/system/vold/
DKeyStorage.cpp74 static bool checkSize(const std::string& kind, size_t actual, size_t expected) { in checkSize() function
153 if (!checkSize("nonce", nonce.size(), GCM_NONCE_BYTES)) return false; in encryptWithKeymasterKey()
159 if (!checkSize("mac", mac.size(), GCM_MAC_BYTES)) return false; in encryptWithKeymasterKey()