Home
last modified time | relevance | path

Searched refs:keymasterBlockMode (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/keystore/java/android/security/keystore2/
DKeymasterUtils.java56 int keymasterBlockMode) { in isKeymasterBlockModeIndCpaCompatibleWithSymmetricCrypto() argument
57 switch (keymasterBlockMode) { in isKeymasterBlockModeIndCpaCompatibleWithSymmetricCrypto()
65 throw new IllegalArgumentException("Unsupported block mode: " + keymasterBlockMode); in isKeymasterBlockModeIndCpaCompatibleWithSymmetricCrypto()
DAndroidKeyStoreKeyGeneratorSpi.java204 for (int keymasterBlockMode : mKeymasterBlockModes) { in engineInit()
206 keymasterBlockMode)) { in engineInit()
210 + KeyProperties.BlockMode.fromKeymaster(keymasterBlockMode) in engineInit()
DAndroidKeyStore3DESCipherSpi.java59 int keymasterBlockMode, in AndroidKeyStore3DESCipherSpi() argument
62 mKeymasterBlockMode = keymasterBlockMode; in AndroidKeyStore3DESCipherSpi()
DAndroidKeyStoreUnauthenticatedAESCipherSpi.java133 int keymasterBlockMode, in AndroidKeyStoreUnauthenticatedAESCipherSpi() argument
136 mKeymasterBlockMode = keymasterBlockMode; in AndroidKeyStoreUnauthenticatedAESCipherSpi()
DAndroidKeyStoreAuthenticatedAESCipherSpi.java269 int keymasterBlockMode, in AndroidKeyStoreAuthenticatedAESCipherSpi() argument
271 mKeymasterBlockMode = keymasterBlockMode; in AndroidKeyStoreAuthenticatedAESCipherSpi()
DAndroidKeyStoreSpi.java728 int keymasterBlockMode = KeyProperties.BlockMode.toKeymaster(blockMode); in setSecretKeyEntry() local
731 keymasterBlockMode)) { in setSecretKeyEntry()
739 && keymasterBlockMode == KeymasterDefs.KM_MODE_GCM) { in setSecretKeyEntry()
748 keymasterBlockMode in setSecretKeyEntry()