Home
last modified time | relevance | path

Searched refs:kAesGcmNonceLength (Results 1 – 4 of 4) sorted by relevance

/system/keymaster/key_blob_utils/
Dauth_encrypted_key_blob.cpp35 constexpr size_t kAesGcmNonceLength = 12; variable
278 if (retval.encrypted_key.nonce.available_read() != kAesGcmNonceLength || in DeserializeAuthEncryptedBlob()
310 auto nonce = generate_nonce(random, kAesGcmNonceLength, error); in EncryptKey()
/system/keymaster/include/keymaster/cppcose/
Dcppcose.h80 constexpr int kAesGcmNonceLength = 12; variable
/system/keymaster/android_keymaster/
Dandroid_keymaster.cpp55 using cppcose::kAesGcmNonceLength;
497 std::vector<uint8_t> nonce(kAesGcmNonceLength, 0 /* value */); in GenerateCsr()
/system/keymaster/cppcose/
Dcppcose.cpp355 if (!nonce || !nonce->asBstr() || nonce->asBstr()->value().size() != kAesGcmNonceLength) { in decryptCoseEncrypt()