Home
last modified time | relevance | path

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

/system/vold/
DKeyStorage.cpp53 static constexpr size_t GCM_NONCE_BYTES = 12; variable
153 if (!checkSize("nonce", nonce.size(), GCM_NONCE_BYTES)) return false; in encryptWithKeymasterKey()
167 auto nonce = ciphertext.substr(0, GCM_NONCE_BYTES); in decryptWithKeymasterKey()
168 auto bodyAndMac = ciphertext.substr(GCM_NONCE_BYTES); in decryptWithKeymasterKey()