Searched refs:keyClaimant (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/ |
D | KeySyncUtilsTest.java | 106 byte[] keyClaimant = KeySyncUtils.generateKeyClaimant(); in generateKeyClaimant_returns16Bytes() 108 assertEquals(KEY_CLAIMANT_LENGTH_BYTES, keyClaimant.length); in generateKeyClaimant_returns16Bytes() 250 byte[] keyClaimant = KeySyncUtils.generateKeyClaimant(); in decryptRecoveryClaimResponse_decryptsAValidResponse() 255 /*sharedSecret=*/ keyClaimant, in decryptRecoveryClaimResponse_decryptsAValidResponse() 260 keyClaimant, vaultParams, encryptedPayload); in decryptRecoveryClaimResponse_decryptsAValidResponse() 287 byte[] keyClaimant = KeySyncUtils.generateKeyClaimant(); in encryptRecoveryClaim_encryptsLockScreenAndKeyClaimant() 296 keyClaimant); in encryptRecoveryClaim_encryptsLockScreenAndKeyClaimant() 303 assertArrayEquals(KeySyncUtils.concat(LOCK_SCREEN_HASH_1, keyClaimant), decrypted); in encryptRecoveryClaim_encryptsLockScreenAndKeyClaimant() 309 byte[] keyClaimant = KeySyncUtils.generateKeyClaimant(); in encryptRecoveryClaim_cannotBeDecryptedWithoutChallenge() 317 keyClaimant); in encryptRecoveryClaim_cannotBeDecryptedWithoutChallenge() [all …]
|
D | RecoverableKeyStoreManagerTest.java | 962 byte[] keyClaimant = mRecoverySessionStorage.get(Binder.getCallingUid(), TEST_SESSION_ID) in recoverKeyChainSnapshot_throwsIfFailedToDecryptAllApplicationKeys() 966 keyClaimant, TEST_SECRET, TEST_VAULT_PARAMS, recoveryKey); in recoverKeyChainSnapshot_throwsIfFailedToDecryptAllApplicationKeys() 992 byte[] keyClaimant = mRecoverySessionStorage.get(Binder.getCallingUid(), TEST_SESSION_ID) in recoverKeyChainSnapshot_doesNotThrowIfNoApplicationKeysToBeDecrypted() 996 keyClaimant, TEST_SECRET, TEST_VAULT_PARAMS, recoveryKey); in recoverKeyChainSnapshot_doesNotThrowIfNoApplicationKeysToBeDecrypted() 1012 byte[] keyClaimant = mRecoverySessionStorage.get(Binder.getCallingUid(), TEST_SESSION_ID) in recoverKeyChainSnapshot_returnsDecryptedKeys() 1016 keyClaimant, TEST_SECRET, TEST_VAULT_PARAMS, recoveryKey); in recoverKeyChainSnapshot_returnsDecryptedKeys() 1042 byte[] keyClaimant = mRecoverySessionStorage.get(Binder.getCallingUid(), TEST_SESSION_ID) in recoverKeyChainSnapshot_worksOnOtherApplicationKeysIfOneDecryptionFails() 1046 keyClaimant, TEST_SECRET, TEST_VAULT_PARAMS, recoveryKey); in recoverKeyChainSnapshot_worksOnOtherApplicationKeysIfOneDecryptionFails() 1278 byte[] keyClaimant, in encryptClaimResponse() argument 1286 /*sharedSecret=*/ keyClaimant, in encryptClaimResponse()
|
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/ |
D | KeySyncUtils.java | 217 byte[] keyClaimant) throws NoSuchAlgorithmException, InvalidKeyException { in encryptRecoveryClaim() argument 222 /*payload=*/ concat(thmKfHash, keyClaimant)); in encryptRecoveryClaim() 238 byte[] keyClaimant, byte[] vaultParams, byte[] encryptedResponse) in decryptRecoveryClaimResponse() argument 242 /*sharedSecret=*/ keyClaimant, in decryptRecoveryClaimResponse()
|
D | RecoverableKeyStoreManager.java | 513 byte[] keyClaimant = KeySyncUtils.generateKeyClaimant(); in startRecoverySession() 517 new RecoverySessionStorage.Entry(sessionId, kfHash, keyClaimant, vaultParams)); in startRecoverySession() 527 keyClaimant); in startRecoverySession()
|
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/storage/ |
D | RecoverySessionStorage.java | 148 public Entry(String sessionId, byte[] lskfHash, byte[] keyClaimant, byte[] vaultParams) { in Entry() argument 151 mKeyClaimant = keyClaimant; in Entry()
|