OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:forEncryption
(Results
1 - 21
of
21
) sorted by null
/dalvik/libcore/security/src/main/java/org/bouncycastle/crypto/
AsymmetricBlockCipher.java
13
* @param
forEncryption
if true the cipher is initialised for
17
public void init(boolean
forEncryption
, CipherParameters param);
BlockCipher.java
12
* @param
forEncryption
if true the cipher is initialised for
18
public void init(boolean
forEncryption
, CipherParameters params)
StreamCipher.java
11
* @param
forEncryption
if true the cipher is initialised for
17
public void init(boolean
forEncryption
, CipherParameters params)
StreamBlockCipher.java
35
* @param
forEncryption
true if we are setting up for encryption, false otherwise.
39
boolean
forEncryption
,
42
cipher.init(
forEncryption
, params);
BufferedAsymmetricBlockCipher.java
48
* @param
forEncryption
if true the cipher is initialised for
53
boolean
forEncryption
,
58
cipher.init(
forEncryption
, params);
BufferedBlockCipher.java
17
protected boolean
forEncryption
;
74
* @param
forEncryption
if true the cipher is initialised for
81
boolean
forEncryption
,
85
this.
forEncryption
=
forEncryption
;
89
cipher.init(
forEncryption
, params);
/dalvik/libcore/security/src/main/java/org/bouncycastle/crypto/engines/
RSAEngine.java
18
private boolean
forEncryption
;
24
* @param
forEncryption
true if we are encrypting, false otherwise.
28
boolean
forEncryption
,
32
this.
forEncryption
=
forEncryption
;
57
if (
forEncryption
)
78
if (
forEncryption
)
167
if (
forEncryption
)
DESedeEngine.java
19
private boolean
forEncryption
;
53
this.
forEncryption
= encrypting;
107
if (
forEncryption
)
NullEngine.java
27
public void init(boolean
forEncryption
, CipherParameters params) throws IllegalArgumentException
IESEngine.java
28
boolean
forEncryption
;
77
* @param
forEncryption
whether or not this is encryption/decryption.
83
boolean
forEncryption
,
88
this.
forEncryption
=
forEncryption
;
236
if (
forEncryption
)
AESLightEngine.java
171
boolean
forEncryption
)
217
if (!
forEncryption
)
234
private boolean
forEncryption
;
248
* @param
forEncryption
whether or not we are for encryption.
254
boolean
forEncryption
,
259
WorkingKey = generateWorkingKey(((KeyParameter)params).getKey(),
forEncryption
);
260
this.
forEncryption
=
forEncryption
;
298
if (
forEncryption
)
AESEngine.java
273
boolean
forEncryption
)
319
if (!
forEncryption
)
336
private boolean
forEncryption
;
350
* @param
forEncryption
whether or not we are for encryption.
356
boolean
forEncryption
,
361
WorkingKey = generateWorkingKey(((KeyParameter)params).getKey(),
forEncryption
);
362
this.
forEncryption
=
forEncryption
;
400
if (
forEncryption
)
AESFastEngine.java
[
all
...]
/dalvik/libcore/security/src/main/java/org/bouncycastle/crypto/encodings/
PKCS1Encoding.java
32
private boolean
forEncryption
;
53
boolean
forEncryption
,
71
engine.init(
forEncryption
, kParam);
74
this.
forEncryption
=
forEncryption
;
81
if (
forEncryption
)
95
if (
forEncryption
)
111
if (
forEncryption
)
ISO9796d1Encoding.java
25
private boolean
forEncryption
;
41
boolean
forEncryption
,
57
engine.init(
forEncryption
, kParam);
61
this.
forEncryption
=
forEncryption
;
73
if (
forEncryption
)
90
if (
forEncryption
)
129
if (
forEncryption
)
OAEPEncoding.java
24
private boolean
forEncryption
;
62
boolean
forEncryption
,
80
engine.init(
forEncryption
, kParam);
82
this.
forEncryption
=
forEncryption
;
89
if (
forEncryption
)
103
if (
forEncryption
)
119
if (
forEncryption
)
/dalvik/libcore/security/src/main/java/org/bouncycastle/crypto/paddings/
PaddedBufferedBlockCipher.java
53
* @param
forEncryption
if true the cipher is initialised for
60
boolean
forEncryption
,
64
this.
forEncryption
=
forEncryption
;
74
cipher.init(
forEncryption
, p.getParameters());
80
cipher.init(
forEncryption
, params);
100
if (
forEncryption
)
249
if (
forEncryption
)
/dalvik/libcore/security/src/main/java/org/bouncycastle/crypto/modes/
CCMBlockCipher.java
21
private boolean
forEncryption
;
54
public void init(boolean
forEncryption
, CipherParameters params)
62
this.
forEncryption
=
forEncryption
;
104
ctrCipher.init(
forEncryption
, new ParametersWithIV(params.getKey(), iv));
106
if (
forEncryption
)
PaddedBlockCipher.java
50
if (
forEncryption
)
196
if (
forEncryption
)
SICBlockCipher.java
49
boolean
forEncryption
, //ignored by this CTR mode
CTSBlockCipher.java
201
if (
forEncryption
)
Completed in 418 milliseconds