Home
last modified time | relevance | path

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

/trusty/user/base/lib/apploader_package/include/apploader/
Dcose.h60 constexpr size_t kAesGcmIvSize = 12; variable
/trusty/user/base/lib/apploader_package/
Dcose.cpp701 if (nonce.size() != kAesGcmIvSize) { in encryptAesGcm()
727 if (EVP_CIPHER_CTX_ctrl(ctx.get(), EVP_CTRL_GCM_SET_IVLEN, kAesGcmIvSize, in encryptAesGcm()
819 std::optional<std::vector<uint8_t>> iv = getRandom(kAesGcmIvSize); in coseEncryptAesGcm()
956 if (nonce.size() != kAesGcmIvSize) { in decryptAesGcmInPlace()
984 if (EVP_CIPHER_CTX_ctrl(ctx.get(), EVP_CTRL_GCM_SET_IVLEN, kAesGcmIvSize, in decryptAesGcmInPlace()
Dpackage.cpp120 if (nonce.size() != kAesGcmIvSize) { in hwaesDecryptAesGcmInPlace()