Home
last modified time | relevance | path

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

/system/keymaster/cppcose/
Dcppcose.cpp436 const bytevec& ciphertextWithTag) { in aesGcmDecrypt() argument
440 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()
/system/keymaster/include/keymaster/cppcose/
Dcppcose.h291 const bytevec& ciphertextWithTag);