Searched refs:PURPOSE_ENCRYPT (Results 1 – 15 of 15) sorted by relevance
43 PURPOSE_ENCRYPT,54 public static final int PURPOSE_ENCRYPT = 1 << 0; field in KeyProperties84 case PURPOSE_ENCRYPT: in toKeymaster()102 return PURPOSE_ENCRYPT; in fromKeymaster()
192 if (((spec.getPurposes() & KeyProperties.PURPOSE_ENCRYPT) != 0) in engineInit()298 if (((spec.getPurposes() & KeyProperties.PURPOSE_ENCRYPT) != 0) in engineGenerateKey()
322 KeyProperties.PURPOSE_ENCRYPT in getLegacyKeyProtectionParameter()503 if (((purposes & KeyProperties.PURPOSE_ENCRYPT) != 0) in setPrivateKeyEntry()696 if (((purposes & KeyProperties.PURPOSE_ENCRYPT) != 0) in setSecretKeyEntry()731 if (((purposes & KeyProperties.PURPOSE_ENCRYPT) != 0) in setSecretKeyEntry()
239 KeyProperties.PURPOSE_ENCRYPT in initialize()319 if (((spec.getPurposes() & KeyProperties.PURPOSE_ENCRYPT) != 0) in initialize()
88 KeyProperties.PURPOSE_ENCRYPT | KeyProperties.PURPOSE_DECRYPT) in setSymmetricKeyEntry()
161 KeyProperties.PURPOSE_ENCRYPT | KeyProperties.PURPOSE_DECRYPT) in getOrCreateSecretKey()
126 assertEquals(KeyProperties.PURPOSE_ENCRYPT, getEncryptKeyProtection().getPurposes()); in init_createsEncryptKeyWithCorrectPurposes()594 KeyProperties.PURPOSE_ENCRYPT | KeyProperties.PURPOSE_DECRYPT) in generateAndroidKeyStoreKey()
176 WRAPPING_KEY_ALIAS, KeyProperties.PURPOSE_ENCRYPT | KeyProperties.PURPOSE_DECRYPT) in generatePlatformKey()
206 KeyProperties.PURPOSE_ENCRYPT | KeyProperties.PURPOSE_DECRYPT) in generateAndroidKeyStoreKey()
871 WRAPPING_KEY_ALIAS, KeyProperties.PURPOSE_ENCRYPT | KeyProperties.PURPOSE_DECRYPT) in generateAndroidKeyStoreKey()
1318 WRAPPING_KEY_ALIAS, KeyProperties.PURPOSE_ENCRYPT | KeyProperties.PURPOSE_DECRYPT) in generateAndroidKeyStoreKey()
469 new KeyProtection.Builder(KeyProperties.PURPOSE_ENCRYPT) in generateAndLoadKey()
1602 new KeyProtection.Builder(KeyProperties.PURPOSE_ENCRYPT) in tieProfileLockToParent()
41270 field public static final int PURPOSE_ENCRYPT = 1; // 0x1
41414 field public static final int PURPOSE_ENCRYPT = 1; // 0x1