Home
last modified time | relevance | path

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

123

/aosp12/frameworks/base/packages/BackupEncryption/src/com/android/server/backup/encryption/chunking/
H A DEncryptedChunk.java42 public static EncryptedChunk create(ChunkHash key, byte[] nonce, byte[] encryptedBytes) { in create()
52 private EncryptedChunk(ChunkHash key, byte[] nonce, byte[] encryptedBytes) { in EncryptedChunk()
64 public byte[] nonce() { in nonce() method in EncryptedChunk
/aosp12/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/
H A DIkeAuthPskPayload.java71 byte[] nonce, in IkeAuthPskPayload()
84 byte[] nonce, in calculatePskSignature()
115 byte[] nonce, in verifyInboundSignature()
H A DIkeAuthDigitalSignPayload.java188 byte[] nonce, in IkeAuthDigitalSignPayload()
264 byte[] nonce, in verifyInboundSignature()
H A DIkeAuthPayload.java100 byte[] nonce, in getSignedOctets()
/aosp12/system/keymaster/cppcose/
H A 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()
/aosp12/packages/modules/adb/pairing_auth/
H A Daes_128_gcm.cpp50 std::vector<uint8_t> nonce(EVP_AEAD_nonce_length(EVP_AEAD_CTX_aead(context_.get())), 0); in Encrypt() local
66 std::vector<uint8_t> nonce(EVP_AEAD_nonce_length(EVP_AEAD_CTX_aead(context_.get())), 0); in Decrypt() local
/aosp12/frameworks/base/core/java/android/os/storage/
H A DIObbActionListener.aidl36 void onObbResult(in String filename, int nonce, int status) = 0; in onObbResult()
H A DIStorageManager.aidl63 IObbActionListener token, int nonce, in ObbInfo obbInfo) = 21; in mountObb()
70 void unmountObb(in String rawPath, boolean force, IObbActionListener token, int nonce) = 22; in unmountObb()
/aosp12/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/
H A DWrappedKey.java118 public WrappedKey(byte[] nonce, byte[] keyMaterial, @Nullable byte[] keyMetadata, in WrappedKey()
136 public WrappedKey(byte[] nonce, byte[] keyMaterial, @Nullable byte[] keyMetadata, in WrappedKey()
H A DSecureBox.java325 private static byte[] aesGcmEncrypt(SecretKey key, byte[] nonce, byte[] plaintext, byte[] aad) in aesGcmEncrypt()
335 private static byte[] aesGcmDecrypt(SecretKey key, byte[] nonce, byte[] ciphertext, byte[] aad) in aesGcmDecrypt()
341 AesGcmOperation operation, SecretKey key, byte[] nonce, byte[] text, byte[] aad) in aesGcmInternal()
/aosp12/packages/apps/Car/DebuggingRestrictionController/app/src/main/java/com/android/car/debuggingrestrictioncontroller/auth/
H A DTokenPayload.java26 private String nonce; field in TokenPayload
/aosp12/hardware/interfaces/identity/aidl/default/libeic/
H A DEicProvisioning.c201 uint8_t nonce[12]; in eicProvisioningAddAccessControlProfile() local
296 uint8_t nonce[12]; in eicProvisioningAddEntryValue() local
362 uint8_t nonce[12]; in eicProvisioningFinishGetCredentialData() local
/aosp12/system/keymaster/key_blob_utils/
H A 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
H A Docb_utils.cpp115 const KeymasterKeyBlob& plaintext, const Buffer& nonce, in OcbEncryptKey()
147 const KeymasterKeyBlob& ciphertext, const Buffer& nonce, in OcbDecryptKey()
/aosp12/packages/providers/MediaProvider/tests/src/com/android/providers/media/util/
H A DLoggingTest.java55 final String nonce = String.valueOf(System.nanoTime()); in testSimple() local
/aosp12/frameworks/base/libs/storage/
H A DIObbActionListener.cpp48 int32_t nonce = data.readInt32(); variable
H A DIMountService.cpp446 const sp<IObbActionListener>& token, int32_t nonce, const sp<ObbInfo>& obbInfo) in mountObb()
468 const sp<IObbActionListener>& token, const int32_t nonce) in unmountObb()
/aosp12/frameworks/base/packages/BackupEncryption/proto/
H A Dwrapped_key.proto42 optional bytes nonce = 2; field
/aosp12/packages/apps/Car/DebuggingRestrictionController/app/src/main/java/com/android/car/debuggingrestrictioncontroller/ui/token/
H A DTokenViewModel.java52 final String nonce = Base64.encodeToString(nonceBytes, Base64.DEFAULT); in requestAccessToken() local
/aosp12/system/keymaster/include/keymaster/key_blob_utils/
H A Dauth_encrypted_key_blob.h49 Buffer nonce; member
/aosp12/frameworks/base/native/android/
H A Dstorage_manager.cpp57 int32_t nonce; member in ObbCallback
188 void ObbActionListener::onObbResult(const android::String16& filename, const int32_t nonce, const i… in onObbResult()
/aosp12/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/crypto/
H A DIkeCombinedModeCipher.java131 private AlgorithmParameterSpec getParamSpec(byte[] nonce) { in getParamSpec()
/aosp12/frameworks/base/core/java/android/app/
H A DPropertyInvalidatedCache.java654 final long nonce = SystemProperties.getLong(name, NONCE_UNSET); in invalidateCacheLocked() local
717 final long nonce = SystemProperties.getLong(name, NONCE_UNSET); in corkInvalidations() local
/aosp12/frameworks/base/obex/javax/obex/
H A DHeaderSet.java238 /*package*/ byte[] nonce; field in HeaderSet
/aosp12/system/core/trusty/utils/rpmb_dev/
H A Drpmb_protocol.h53 struct rpmb_nonce nonce; member

123