HomeSort by relevance Sort by last modified time
    Searched refs:opmode (Results 1 - 25 of 39) sorted by null

1 2

  /libcore/luni/src/test/java/libcore/javax/crypto/
MockCipherSpi.java 104 protected void engineInit(int opmode, Key key, SecureRandom random)
110 protected void engineInit(int opmode, Key key, AlgorithmParameterSpec params,
116 protected void engineInit(int opmode, Key key, AlgorithmParameters params,
124 protected void engineInit(int opmode, Key key, SecureRandom random)
130 protected void engineInit(int opmode, Key key, AlgorithmParameterSpec params,
136 protected void engineInit(int opmode, Key key, AlgorithmParameters params,
144 protected void engineInit(int opmode, Key key, SecureRandom random)
150 protected void engineInit(int opmode, Key key, AlgorithmParameterSpec params,
156 protected void engineInit(int opmode, Key key, AlgorithmParameters params,
164 protected void engineInit(int opmode, Key key, SecureRandom random
    [all...]
  /libcore/ojluni/src/main/java/javax/crypto/
Cipher.java 685 private int opmode = 0; field in class:Cipher
948 private void chooseProvider(InitType initType, int opmode, Key key,
954 final InitParams initParams = new InitParams(initType, opmode, key, random,
2714 final int opmode; field in class:Cipher.InitParams
    [all...]
CipherSpi.java 312 * the value of <code>opmode</code>.
339 * @param opmode the operation mode of this cipher (this is one of
351 protected abstract void engineInit(int opmode, Key key,
361 * the value of <code>opmode</code>.
388 * @param opmode the operation mode of this cipher (this is one of
403 protected abstract void engineInit(int opmode, Key key,
414 * the value of <code>opmode</code>.
441 * @param opmode the operation mode of this cipher (this is one of
456 protected abstract void engineInit(int opmode, Key key,
    [all...]
  /cts/tests/tests/keystore/src/android/keystore/cts/
AESGCMCipherTestBase.java 151 private void assertKatTransformWithAadProvidedInOneGo(int opmode,
153 initKat(opmode);
157 initKat(opmode);
161 initKat(opmode);
166 private void assertKatTransformWithAadProvidedInChunks(int opmode,
169 initKat(opmode);
BlockCipherTestBase.java 95 private byte[] getKatInput(int opmode) {
96 switch (opmode) {
102 throw new IllegalArgumentException("Invalid opmode: " + opmode);
106 private byte[] getKatOutput(int opmode) {
107 switch (opmode) {
113 throw new IllegalArgumentException("Invalid opmode: " + opmode);
532 private void assertKeyDoesNotSurviveReinitialization(int opmode) throws Exception {
533 byte[] input = getKatInput(opmode);
    [all...]
AESCipherNistCavpKatTest.java 286 int opmode = (encrypt) ? Cipher.ENCRYPT_MODE : Cipher.DECRYPT_MODE; local
288 cipher.init(opmode, key, new IvParameterSpec(testVector.iv));
290 cipher.init(opmode, key);
  /external/apache-harmony/crypto/src/test/support/common/java/org/apache/harmony/crypto/tests/support/
MyCipher.java 80 protected void engineInit(int opmode, Key key, SecureRandom random)
85 protected void engineInit(int opmode, Key key,
91 protected void engineInit(int opmode, Key key, AlgorithmParameters params,
  /external/conscrypt/src/main/java/org/conscrypt/
OpenSSLCipherRSA.java 154 private void engineInitInternal(int opmode, Key key) throws InvalidKeyException {
155 if (opmode == Cipher.ENCRYPT_MODE || opmode == Cipher.WRAP_MODE) {
157 } else if (opmode == Cipher.DECRYPT_MODE || opmode == Cipher.UNWRAP_MODE) {
160 throw new InvalidParameterException("Unsupported opmode " + opmode);
193 protected void engineInit(int opmode, Key key, SecureRandom random) throws InvalidKeyException {
194 engineInitInternal(opmode, key);
198 protected void engineInit(int opmode, Key key, AlgorithmParameterSpec params
    [all...]
OpenSSLCipher.java 259 protected void engineInit(int opmode, Key key, SecureRandom random) throws InvalidKeyException {
260 checkAndSetEncodedKey(opmode, key);
270 protected void engineInit(int opmode, Key key, AlgorithmParameterSpec params,
272 checkAndSetEncodedKey(opmode, key);
277 protected void engineInit(int opmode, Key key, AlgorithmParameters params, SecureRandom random)
291 engineInit(opmode, key, spec, random);
425 private byte[] checkAndSetEncodedKey(int opmode, Key key) throws InvalidKeyException {
426 if (opmode == Cipher.ENCRYPT_MODE || opmode == Cipher.WRAP_MODE) {
428 } else if (opmode == Cipher.DECRYPT_MODE || opmode == Cipher.UNWRAP_MODE)
    [all...]
  /libcore/luni/src/test/java/org/apache/harmony/crypto/tests/support/
MyCipher.java 83 protected void engineInit(int opmode, Key key, SecureRandom random)
88 protected void engineInit(int opmode, Key key,
94 protected void engineInit(int opmode, Key key, AlgorithmParameters params,
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/util/
BaseStreamCipher.java 147 int opmode,
239 if ((opmode == Cipher.ENCRYPT_MODE) || (opmode == Cipher.WRAP_MODE))
255 switch (opmode)
266 throw new InvalidParameterException("unknown opmode " + opmode + " passed");
276 int opmode,
305 engineInit(opmode, key, paramSpec, random);
310 int opmode,
317 engineInit(opmode, key, (AlgorithmParameterSpec)null, random)
    [all...]
BaseWrapCipher.java 140 int opmode,
188 switch (opmode)
205 int opmode,
235 engineInit(opmode, key, paramSpec, random);
239 int opmode,
246 engineInit(opmode, key, (AlgorithmParameterSpec)null, random);
BaseBlockCipher.java 497 int opmode,
836 if ((opmode == Cipher.ENCRYPT_MODE) || (opmode == Cipher.WRAP_MODE))
875 switch (opmode)
    [all...]
  /libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
CipherSpiTest.java 83 protected void engineInit(int opmode, Key key, SecureRandom random)
85 super.engineInit(opmode, key, random);
89 protected void engineInit(int opmode, Key key, AlgorithmParameterSpec params,
91 super.engineInit(opmode, key, params, random);
95 protected void engineInit(int opmode, Key key, AlgorithmParameters params,
97 super.engineInit(opmode, key, params, random);
340 protected void engineInit(int opmode, Key key, SecureRandom random)
344 protected void engineInit(int opmode, Key key,
349 protected void engineInit(int opmode, Key key, AlgorithmParameters params,
  /frameworks/base/keystore/java/android/security/keystore/
AndroidKeyStoreCipherSpiBase.java 100 protected final void engineInit(int opmode, Key key, SecureRandom random)
106 init(opmode, key, random);
122 protected final void engineInit(int opmode, Key key, AlgorithmParameters params,
128 init(opmode, key, random);
140 protected final void engineInit(int opmode, Key key, AlgorithmParameterSpec params,
146 init(opmode, key, random);
157 private void init(int opmode, Key key, SecureRandom random) throws InvalidKeyException {
158 switch (opmode) {
168 throw new InvalidParameterException("Unsupported opmode: " + opmode);
    [all...]
AndroidKeyStoreRSACipherSpi.java 357 protected final void initKey(int opmode, Key key) throws InvalidKeyException {
376 switch (opmode) {
385 "RSA private keys cannot be used with " + opmodeToString(opmode)
393 "RSA private keys cannot be used with opmode: " + opmode);
397 switch (opmode) {
405 "RSA public keys cannot be used with " + opmodeToString(opmode)
408 + ". Only RSA private keys supported for this opmode.");
412 "RSA public keys cannot be used with " + opmodeToString(opmode));
AndroidKeyStoreUnauthenticatedAESCipherSpi.java 126 protected final void initKey(int opmode, Key key) throws InvalidKeyException {
AndroidKeyStoreAuthenticatedAESCipherSpi.java 274 protected final void initKey(int opmode, Key key) throws InvalidKeyException {
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/rsa/
CipherSpi.java 246 int opmode,
258 if (privateKeyOnly && opmode == Cipher.ENCRYPT_MODE)
268 if (publicKeyOnly && opmode == Cipher.ENCRYPT_MODE)
334 switch (opmode)
345 throw new InvalidParameterException("unknown opmode " + opmode + " passed to RSA");
350 int opmode,
371 engineInit(opmode, key, paramSpec, random);
375 int opmode,
382 engineInit(opmode, key, (AlgorithmParameterSpec)null, random)
    [all...]
  /external/autotest/client/tests/kvm/deps/
setuprss.bat 7 netsh firewall set opmode disable
  /external/apache-harmony/crypto/src/test/api/java.injected/javax/crypto/
CipherSpiTest.java 253 protected void engineInit(int opmode, Key key, SecureRandom random)
257 protected void engineInit(int opmode, Key key,
262 protected void engineInit(int opmode, Key key, AlgorithmParameters params,
  /external/mksh/src/
tree.c 301 wdvarput(struct shf *shf, const char *wp, int quotelevel, int opmode)
334 if (opmode & WDS_TPUTS) {
369 if (opmode & WDS_TPUTS) {
375 if (opmode & WDS_TPUTS) {
387 wp = wdvarput(shf, wp, 0, opmode);
644 wdstrip(const char *wp, int opmode)
649 wdvarput(&shf, wp, 0, opmode);
  /toolchain/binutils/binutils-2.25/gas/config/
tc-m68hc11.c 1152 get_operand (operand *oper, int which, long opmode)
1171 if (*p == '*' && (opmode & (M6811_OP_DIRECT | M6811_OP_IND16)))
1178 if (!(opmode & (M6811_OP_IMM8 | M6811_OP_IMM16 | M6811_OP_BITMASK)))
    [all...]
  /hardware/broadcom/wlan/bcmdhd/dhdutil/include/proto/
802.11.h 2935 uint16 opmode; \/* operation mode *\/ member in struct:ht_add_ie
    [all...]
  /external/wpa_supplicant_8/src/drivers/
driver_bsd.c 75 enum ieee80211_opmode opmode; /* operation mode */ member in struct:bsd_driver_data
401 if (drv->opmode == IEEE80211_M_IBSS ||
402 drv->opmode == IEEE80211_M_AHDEMO)
    [all...]

Completed in 539 milliseconds

1 2