Home
last modified time | relevance | path

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

/frameworks/base/keystore/tests/src/android/security/
DKeyStoreTest.java705 args.addEnum(KeymasterDefs.KM_TAG_PURPOSE, KeymasterDefs.KM_PURPOSE_ENCRYPT); in generateRsaKey()
728 args.addEnum(KeymasterDefs.KM_TAG_PURPOSE, KeymasterDefs.KM_PURPOSE_ENCRYPT); in testGenerateRsaWithEntropy()
760 args.addEnum(KeymasterDefs.KM_TAG_PURPOSE, KeymasterDefs.KM_PURPOSE_ENCRYPT); in testAppId()
795 args.addEnum(KeymasterDefs.KM_TAG_PURPOSE, KeymasterDefs.KM_PURPOSE_ENCRYPT); in testAesGcmEncryptSuccess()
812 OperationResult result = mKeyStore.begin(name, KeymasterDefs.KM_PURPOSE_ENCRYPT, in testAesGcmEncryptSuccess()
832 args.addEnum(KeymasterDefs.KM_TAG_PURPOSE, KeymasterDefs.KM_PURPOSE_ENCRYPT); in importAesKey()
881 byte[] cipherText = doOperation(name, KeymasterDefs.KM_PURPOSE_ENCRYPT, testVectors[i], in testAes256Ecb()
897 args.addEnum(KeymasterDefs.KM_TAG_PURPOSE, KeymasterDefs.KM_PURPOSE_ENCRYPT); in testOperationPruning()
913 OperationResult result = mKeyStore.begin(name, KeymasterDefs.KM_PURPOSE_ENCRYPT, in testOperationPruning()
919 result = mKeyStore.begin(name, KeymasterDefs.KM_PURPOSE_ENCRYPT, true, args, null); in testOperationPruning()
[all …]
/frameworks/base/keystore/java/android/security/keystore/
DKeyProperties.java80 return KeymasterDefs.KM_PURPOSE_ENCRYPT; in toKeymaster()
94 case KeymasterDefs.KM_PURPOSE_ENCRYPT: in fromKeymaster()
DAndroidKeyStoreCipherSpiBase.java245 ? KeymasterDefs.KM_PURPOSE_ENCRYPT : KeymasterDefs.KM_PURPOSE_DECRYPT; in ensureKeystoreOperationInitialized()
/frameworks/base/core/java/android/security/keymaster/
DKeymasterDefs.java127 public static final int KM_PURPOSE_ENCRYPT = 0; field in KeymasterDefs