Searched refs:ciphertextWithTag (Results 1 – 2 of 2) sorted by relevance
436 const bytevec& ciphertextWithTag) { in aesGcmDecrypt() argument440 if (ciphertextWithTag.size() < kAesGcmTagSize) return "Missing tag"; in aesGcmDecrypt()442 bytevec plaintext(ciphertextWithTag.size() - kAesGcmTagSize); in aesGcmDecrypt()444 if (!EVP_CipherUpdate(ctx->get(), plaintext.data(), &outlen, ciphertextWithTag.data(), in aesGcmDecrypt()445 ciphertextWithTag.size() - kAesGcmTagSize)) { in aesGcmDecrypt()450 bytevec tag(ciphertextWithTag.end() - kAesGcmTagSize, ciphertextWithTag.end()); in aesGcmDecrypt()
291 const bytevec& ciphertextWithTag);