/system/keymaster/cppcose/ |
D | cppcose.cpp | 32 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/ |
D | auth_encrypted_key_blob.cpp | 43 Buffer nonce; in generate_nonce() local 120 Buffer nonce, // in AesGcmEncryptKey() 310 auto nonce = generate_nonce(random, kAesGcmNonceLength, error); in EncryptKey() local
|
D | ocb_utils.cpp | 115 const KeymasterKeyBlob& plaintext, const Buffer& nonce, in OcbEncryptKey() 147 const KeymasterKeyBlob& ciphertext, const Buffer& nonce, in OcbDecryptKey()
|
D | ocb.c | 761 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/ |
D | auth_encrypted_key_blob.h | 49 Buffer nonce; member
|
/system/core/trusty/utils/rpmb_dev/ |
D | rpmb_protocol.h | 53 struct rpmb_nonce nonce; member
|
/system/keymaster/tests/ |
D | android_keymaster_test_utils.cpp | 595 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()
|
D | android_keymaster_test.cpp | 2427 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/ |
D | KeyStorage.cpp | 394 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/ |
D | android_keymaster.cpp | 497 std::vector<uint8_t> nonce(kAesGcmNonceLength, 0 /* value */); in GenerateCsr() local
|
/system/security/keystore2/src/ |
D | super_key.rs | 178 nonce: Vec<u8>, field
|
/system/keymaster/include/keymaster/ |
D | android_keymaster_messages.h | 775 uint8_t nonce[32]; member
|