Home
last modified time | relevance | path

Searched refs:KM_PURPOSE_DECRYPT (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/keystore/tests/src/android/security/
DKeyStoreTest.java706 args.addEnum(KeymasterDefs.KM_TAG_PURPOSE, KeymasterDefs.KM_PURPOSE_DECRYPT); in generateRsaKey()
729 args.addEnum(KeymasterDefs.KM_TAG_PURPOSE, KeymasterDefs.KM_PURPOSE_DECRYPT); in testGenerateRsaWithEntropy()
761 args.addEnum(KeymasterDefs.KM_TAG_PURPOSE, KeymasterDefs.KM_PURPOSE_DECRYPT); in testAppId()
796 args.addEnum(KeymasterDefs.KM_TAG_PURPOSE, KeymasterDefs.KM_PURPOSE_DECRYPT); in testAesGcmEncryptSuccess()
833 args.addEnum(KeymasterDefs.KM_TAG_PURPOSE, KeymasterDefs.KM_PURPOSE_DECRYPT); in importAesKey()
886 byte[] plainText = doOperation(name, KeymasterDefs.KM_PURPOSE_DECRYPT, in testAes256Ecb()
898 args.addEnum(KeymasterDefs.KM_TAG_PURPOSE, KeymasterDefs.KM_PURPOSE_DECRYPT); in testOperationPruning()
931 args.addEnum(KeymasterDefs.KM_TAG_PURPOSE, KeymasterDefs.KM_PURPOSE_DECRYPT); in testAuthNeeded()
/frameworks/base/keystore/java/android/security/keystore/
DKeyProperties.java82 return KeymasterDefs.KM_PURPOSE_DECRYPT; in toKeymaster()
96 case KeymasterDefs.KM_PURPOSE_DECRYPT: in fromKeymaster()
DAndroidKeyStoreCipherSpiBase.java246 ? KeymasterDefs.KM_PURPOSE_ENCRYPT : KeymasterDefs.KM_PURPOSE_DECRYPT; in ensureKeystoreOperationInitialized()
/frameworks/base/core/java/android/security/keymaster/
DKeymasterDefs.java140 public static final int KM_PURPOSE_DECRYPT = 1; field in KeymasterDefs