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.java61 int keymasterBlockMode) { in isKeymasterBlockModeIndCpaCompatibleWithSymmetricCrypto() argument
62 switch (keymasterBlockMode) { in isKeymasterBlockModeIndCpaCompatibleWithSymmetricCrypto()
70 throw new IllegalArgumentException("Unsupported block mode: " + keymasterBlockMode); in isKeymasterBlockModeIndCpaCompatibleWithSymmetricCrypto()
DAndroidKeyStore3DESCipherSpi.java59 int keymasterBlockMode, in AndroidKeyStore3DESCipherSpi() argument
62 mKeymasterBlockMode = keymasterBlockMode; in AndroidKeyStore3DESCipherSpi()
DAndroidKeyStoreKeyGeneratorSpi.java205 for (int keymasterBlockMode : mKeymasterBlockModes) { in engineInit()
207 keymasterBlockMode)) { in engineInit()
211 + KeyProperties.BlockMode.fromKeymaster(keymasterBlockMode) in engineInit()
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.java823 int keymasterBlockMode = KeyProperties.BlockMode.toKeymaster(blockMode); in setSecretKeyEntry() local
826 keymasterBlockMode)) { in setSecretKeyEntry()
834 && keymasterBlockMode == KeymasterDefs.KM_MODE_GCM) { in setSecretKeyEntry()
843 keymasterBlockMode in setSecretKeyEntry()