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.cpp38 constexpr size_t kAesGcmNonceLength = 12; variable
291 if (retval.encrypted_key.nonce.available_read() != kAesGcmNonceLength || in DeserializeAuthEncryptedBlob()
326 auto nonce = generate_nonce(random, kAesGcmNonceLength); in EncryptKey()
/system/keymaster/include/keymaster/cppcose/
Dcppcose.h91 constexpr int kAesGcmNonceLength = 12; variable
/system/keymaster/android_keymaster/
Dandroid_keymaster.cpp57 using cppcose::kAesGcmNonceLength;
518 std::vector<uint8_t> nonce(kAesGcmNonceLength, 0 /* value */); in GenerateCsr()
/system/keymaster/cppcose/
Dcppcose.cpp609 if (!nonce || !nonce->asBstr() || nonce->asBstr()->value().size() != kAesGcmNonceLength) { in decryptCoseEncrypt()