Home
last modified time | relevance | path

Searched refs:KEY_SIZE_BITS (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/services/backup/java/com/android/server/backup/encryption/keys/
DTertiaryKeyGenerator.java27 private static final int KEY_SIZE_BITS = 256; field in TertiaryKeyGenerator
36 mKeyGenerator.init(KEY_SIZE_BITS, secureRandom); in TertiaryKeyGenerator()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/testing/
DCryptoTestUtils.java28 private static final int KEY_SIZE_BITS = 256; field in CryptoTestUtils
34 keyGenerator.init(KEY_SIZE_BITS); in generateAesKey()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/encryption/keys/
DTertiaryKeyGeneratorTest.java37 private static final int KEY_SIZE_BITS = 256; field in TertiaryKeyGeneratorTest
60 assertThat(secretKey.getEncoded()).hasLength(KEY_SIZE_BITS / 8); in generate_generates256BitKeys()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/encryption/chunking/cdc/
DFingerprintMixerTest.java45 private static final int KEY_SIZE_BITS = 256; field in FingerprintMixerTest
77 byte[] keyBytes = new byte[KEY_SIZE_BITS / 8]; in create_withUnencodableSecretKey_throwsInvalidKeyException()
182 byte[] keyBytes = new byte[KEY_SIZE_BITS / 8]; in randomKey()
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/
DRecoverableKeyGenerator.java49 static final int KEY_SIZE_BITS = 256; field in RecoverableKeyGenerator
101 mKeyGenerator.init(KEY_SIZE_BITS); in generateAndStoreKey()
DPlatformKeyManager.java73 private static final int KEY_SIZE_BITS = 256; field in PlatformKeyManager
486 keyGenerator.init(KEY_SIZE_BITS); in generateAesKey()
DRecoverableKeyStoreManager.java776 if (keyBytes.length != RecoverableKeyGenerator.KEY_SIZE_BITS / Byte.SIZE) { in importKeyWithMetadata()
778 + RecoverableKeyGenerator.KEY_SIZE_BITS); in importKeyWithMetadata()
780 "The given key does not contain " + RecoverableKeyGenerator.KEY_SIZE_BITS in importKeyWithMetadata()
/frameworks/base/services/robotests/src/com/android/server/testing/shadows/
DShadowRecoveryController.java48 private static final int KEY_SIZE_BITS = 256; field in ShadowRecoveryController
88 keyGenerator.init(KEY_SIZE_BITS); in generateKey()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/
DRecoverableKeyGeneratorTest.java57 private static final int KEY_SIZE_BYTES = RecoverableKeyGenerator.KEY_SIZE_BITS / Byte.SIZE;