/libcore/luni/src/test/java/libcore/javax/crypto/ |
D | MockCipherSpi.java | 104 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/ |
D | Cipher.java | 685 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 …]
|
D | CipherSpi.java | 351 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/ |
D | CipherSpiTest.java | 83 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/ |
D | MyCipher.java | 83 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
|