Home
last modified time | relevance | path

Searched defs:nonce (Results 1 – 12 of 12) sorted by relevance

/system/keymaster/cppcose/
Dcppcose.cpp32 const bytevec& nonce, in aesGcmInitAndProcessAad()
222 ErrMsgOr<bytevec> createCoseEncryptCiphertext(const bytevec& key, const bytevec& nonce, in createCoseEncryptCiphertext()
237 ErrMsgOr<cppbor::Array> constructCoseEncrypt(const bytevec& key, const bytevec& nonce, in constructCoseEncrypt()
354 auto& nonce = unprotParms->asMap()->get(IV); in decryptCoseEncrypt() local
409 ErrMsgOr<bytevec> aesGcmEncrypt(const bytevec& key, const bytevec& nonce, const bytevec& aad, in aesGcmEncrypt()
435 ErrMsgOr<bytevec> aesGcmDecrypt(const bytevec& key, const bytevec& nonce, const bytevec& aad, in aesGcmDecrypt()
/system/keymaster/key_blob_utils/
Dauth_encrypted_key_blob.cpp43 Buffer nonce; in generate_nonce() local
120 Buffer nonce, // in AesGcmEncryptKey()
310 auto nonce = generate_nonce(random, kAesGcmNonceLength, error); in EncryptKey() local
Docb_utils.cpp115 const KeymasterKeyBlob& plaintext, const Buffer& nonce, in OcbEncryptKey()
147 const KeymasterKeyBlob& ciphertext, const Buffer& nonce, in OcbDecryptKey()
Docb.c761 static block gen_offset_from_nonce(ae_ctx* ctx, const void* nonce) { in gen_offset_from_nonce()
938 int ae_encrypt(ae_ctx* ctx, const void* nonce, const void* pt, int pt_len, const void* ad, in ae_encrypt()
1155 int ae_decrypt(ae_ctx* ctx, const void* nonce, const void* ct, int ct_len, const void* ad, in ae_decrypt()
/system/keymaster/include/keymaster/key_blob_utils/
Dauth_encrypted_key_blob.h49 Buffer nonce; member
/system/core/trusty/utils/rpmb_dev/
Drpmb_protocol.h53 struct rpmb_nonce nonce; member
/system/keymaster/tests/
Dandroid_keymaster_test_utils.cpp595 keymaster_padding_t padding, const string& nonce) { in DecryptMessage()
606 keymaster_padding_t padding, const string& nonce) { in DecryptMessage()
629 keymaster_padding_t padding, const string& nonce) { in DecryptMessage()
676 void Keymaster2Test::CheckAesCtrTestVector(const string& key, const string& nonce, in CheckAesCtrTestVector()
Dandroid_keymaster_test.cpp2427 const char* nonce; member
2468 const string nonce = hex2str(test.nonce); in TEST_P() local
2751 uint8_t nonce[] = { in TEST_P() local
/system/vold/
DKeyStorage.cpp394 std::string nonce(nonceBlob.value().get().begin(), nonceBlob.value().get().end()); in encryptWithKeymasterKey() local
409 const std::string nonce = ciphertext.substr(0, GCM_NONCE_BYTES); in decryptWithKeymasterKey() local
/system/keymaster/android_keymaster/
Dandroid_keymaster.cpp497 std::vector<uint8_t> nonce(kAesGcmNonceLength, 0 /* value */); in GenerateCsr() local
/system/security/keystore2/src/
Dsuper_key.rs178 nonce: Vec<u8>, field
/system/keymaster/include/keymaster/
Dandroid_keymaster_messages.h775 uint8_t nonce[32]; member