Searched refs:GCM_NONCE_BYTES (Results 1 – 1 of 1) sorted by relevance
53 static constexpr size_t GCM_NONCE_BYTES = 12; variable153 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()