Searched refs:PURPOSE_ENCRYPT (Results 1 – 14 of 14) 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()302 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()
240 KeyProperties.PURPOSE_ENCRYPT in initialize()320 if (((spec.getPurposes() & KeyProperties.PURPOSE_ENCRYPT) != 0) in initialize()
88 KeyProperties.PURPOSE_ENCRYPT | KeyProperties.PURPOSE_DECRYPT) in setSymmetricKeyEntry()
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()
245 KeyProperties.PURPOSE_ENCRYPT | KeyProperties.PURPOSE_DECRYPT) in getOrCreateSecretKey()
462 new KeyProtection.Builder(KeyProperties.PURPOSE_ENCRYPT) in generateAndLoadKey()
1550 new KeyProtection.Builder(KeyProperties.PURPOSE_ENCRYPT) in tieProfileLockToParent()
40830 field public static final int PURPOSE_ENCRYPT = 1; // 0x1