/system/keymint/common/src/crypto/ |
D | aes.rs | 110 let nonce: [u8; BLOCK_SIZE] = in new() localVariable 130 let nonce: [u8; BLOCK_SIZE] = in new() localVariable 143 let nonce: [u8; GCM_NONCE_SIZE] = nonce(GCM_NONCE_SIZE, caller_nonce, rng)? in new() localVariable
|
D | des.rs | 79 let nonce: [u8; BLOCK_SIZE] = nonce(BLOCK_SIZE, caller_nonce, rng)? in new() localVariable
|
/system/keymint/wire/src/ |
D | sharedsecret.rs | 17 pub nonce: Vec<u8>, field
|
/system/keymaster/key_blob_utils/ |
D | auth_encrypted_key_blob.cpp | 43 Buffer nonce; in generate_nonce() local 131 Buffer nonce) { in AesGcmEncryptKey() 311 auto nonce = generate_nonce(random, OCB_NONCE_LENGTH); in EncryptKey() local 326 auto nonce = generate_nonce(random, kAesGcmNonceLength); 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/cppcose/ |
D | cppcose.cpp | 40 const bytevec& nonce, in aesGcmInitAndProcessAad() 457 ErrMsgOr<bytevec> createCoseEncryptCiphertext(const bytevec& key, const bytevec& nonce, in createCoseEncryptCiphertext() 472 ErrMsgOr<cppbor::Array> constructCoseEncrypt(const bytevec& key, const bytevec& nonce, in constructCoseEncrypt() 608 auto& nonce = unprotParms->asMap()->get(IV); in decryptCoseEncrypt() local 703 ErrMsgOr<bytevec> aesGcmEncrypt(const bytevec& key, const bytevec& nonce, const bytevec& aad, in aesGcmEncrypt() 729 ErrMsgOr<bytevec> aesGcmDecrypt(const bytevec& key, const bytevec& nonce, const bytevec& aad, in aesGcmDecrypt()
|
/system/keymint/ta/src/ |
D | secret.rs | 12 let mut nonce = vec_try![0u8; 32]?; in get_shared_secret_params() localVariable
|
/system/keymaster/include/keymaster/key_blob_utils/ |
D | auth_encrypted_key_blob.h | 72 Buffer nonce; member
|
/system/keymint/common/src/keyblob/ |
D | legacy.rs | 47 pub nonce: Vec<u8>, field 123 let nonce = consume_vec(&mut data)?; in deserialize() localVariable
|
/system/security/keystore2/tests/ |
D | keystore2_client_import_keys_tests.rs | 422 let mut nonce = [0; 12]; in keystore2_create_wrapped_key_and_import_wrapped_key_success() localVariable 479 let mut nonce = [0; 12]; in keystore2_create_wrapped_key_with_invalid_aad_and_import_wrapped_key_fail() localVariable
|
D | keystore2_client_aes_key_tests.rs | 454 let mut nonce = Some(vec![0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]); in keystore2_aes_key_op_fails_nonce_prohibited() localVariable
|
/system/security/keystore2/test_utils/ |
D | authorizations.rs | 138 pub fn nonce(mut self, b: Vec<u8>) -> Self { in nonce() method
|
/system/core/trusty/utils/rpmb_dev/ |
D | rpmb_protocol.h | 53 struct rpmb_nonce nonce; member
|
/system/vold/ |
D | KeyStorage.cpp | 384 std::string nonce(nonceBlob.value().get().begin(), nonceBlob.value().get().end()); in encryptWithKeystoreKey() local 399 const std::string nonce = ciphertext.substr(0, GCM_NONCE_BYTES); in decryptWithKeystoreKey() local
|
/system/keymint/common/src/ |
D | crypto.rs | 426 pub fn nonce( in nonce() function
|
D | tag.rs | 969 let nonce = get_opt_tag_value!(params, Nonce)?; in check_begin_params() localVariable
|
/system/keymaster/android_keymaster/ |
D | android_keymaster.cpp | 518 std::vector<uint8_t> nonce(kAesGcmNonceLength, 0 /* value */); in GenerateCsr() local
|
/system/security/keystore2/src/ |
D | super_key.rs | 180 nonce: Vec<u8>, field
|
/system/keymaster/include/keymaster/ |
D | android_keymaster_messages.h | 815 uint8_t nonce[32]; member
|