Home
last modified time | relevance | path

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

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