Searched refs:ciphertextWithTag (Results 1 – 2 of 2) sorted by relevance
675 const bytevec& ciphertextWithTag) { in aesGcmDecrypt() argument679 if (ciphertextWithTag.size() < kAesGcmTagSize) return "Missing tag"; in aesGcmDecrypt()681 bytevec plaintext(ciphertextWithTag.size() - kAesGcmTagSize); in aesGcmDecrypt()683 if (!EVP_CipherUpdate(ctx->get(), plaintext.data(), &outlen, ciphertextWithTag.data(), in aesGcmDecrypt()684 ciphertextWithTag.size() - kAesGcmTagSize)) { in aesGcmDecrypt()689 bytevec tag(ciphertextWithTag.end() - kAesGcmTagSize, ciphertextWithTag.end()); in aesGcmDecrypt()
330 const bytevec& ciphertextWithTag);