Home
last modified time | relevance | path

Searched refs:opmode (Results 1 – 5 of 5) sorted by relevance

/libcore/luni/src/test/java/libcore/javax/crypto/
DMockCipherSpi.java104 protected void engineInit(int opmode, Key key, SecureRandom random) in engineInit() argument
110 protected void engineInit(int opmode, Key key, AlgorithmParameterSpec params, in engineInit() argument
116 protected void engineInit(int opmode, Key key, AlgorithmParameters params, in engineInit() argument
124 protected void engineInit(int opmode, Key key, SecureRandom random) in engineInit() argument
130 protected void engineInit(int opmode, Key key, AlgorithmParameterSpec params, in engineInit() argument
136 protected void engineInit(int opmode, Key key, AlgorithmParameters params, in engineInit() argument
144 protected void engineInit(int opmode, Key key, SecureRandom random) in engineInit() argument
150 protected void engineInit(int opmode, Key key, AlgorithmParameterSpec params, in engineInit() argument
156 protected void engineInit(int opmode, Key key, AlgorithmParameters params, in engineInit() argument
164 protected void engineInit(int opmode, Key key, SecureRandom random) in engineInit() argument
[all …]
/libcore/ojluni/src/main/java/javax/crypto/
DCipher.java685 private int opmode = 0; field in Cipher
948 private void chooseProvider(InitType initType, int opmode, Key key, in chooseProvider() argument
954 final InitParams initParams = new InitParams(initType, opmode, key, random, in chooseProvider()
1087 private static void checkOpmode(int opmode) { in checkOpmode() argument
1088 if ((opmode < ENCRYPT_MODE) || (opmode > UNWRAP_MODE)) { in checkOpmode()
1142 public final void init(int opmode, Key key) throws InvalidKeyException { in init() argument
1143 init(opmode, key, JceSecurity.RANDOM); in init()
1192 public final void init(int opmode, Key key, SecureRandom random) in init() argument
1196 checkOpmode(opmode); in init()
1199 chooseProvider(InitType.KEY, opmode, key, null, null, random); in init()
[all …]
DCipherSpi.java351 protected abstract void engineInit(int opmode, Key key, in engineInit() argument
403 protected abstract void engineInit(int opmode, Key key, in engineInit() argument
456 protected abstract void engineInit(int opmode, Key key, in engineInit() argument
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
DCipherSpiTest.java83 protected void engineInit(int opmode, Key key, SecureRandom random) in engineInit() argument
85 super.engineInit(opmode, key, random); in engineInit()
89 protected void engineInit(int opmode, Key key, AlgorithmParameterSpec params, in engineInit() argument
91 super.engineInit(opmode, key, params, random); in engineInit()
95 protected void engineInit(int opmode, Key key, AlgorithmParameters params, in engineInit() argument
97 super.engineInit(opmode, key, params, random); in engineInit()
340 protected void engineInit(int opmode, Key key, SecureRandom random) in engineInit() argument
344 protected void engineInit(int opmode, Key key, in engineInit() argument
349 protected void engineInit(int opmode, Key key, AlgorithmParameters params, in engineInit() argument
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/support/
DMyCipher.java83 protected void engineInit(int opmode, Key key, SecureRandom random) in engineInit() argument
88 protected void engineInit(int opmode, Key key, in engineInit() argument
94 protected void engineInit(int opmode, Key key, AlgorithmParameters params, in engineInit() argument