OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:cspi
(Results
1 - 3
of
3
) sorted by null
/external/apache-harmony/crypto/src/test/api/java.injected/javax/crypto/
CipherSpiTest.java
59
CipherSpi
cSpi
= new myCipherSpi();
60
assertEquals("BlockSize is not 0",
cSpi
.engineGetBlockSize(), 0);
61
assertEquals("OutputSize is not 0",
cSpi
.engineGetOutputSize(1), 0);
62
byte[] bb =
cSpi
.engineGetIV();
64
assertNull("Not null result",
cSpi
.engineGetParameters());
67
bb =
cSpi
.engineUpdate(bb1, 1, 2);
70
bb =
cSpi
.engineDoFinal(bb1, 1, 2);
75
cSpi
.engineUpdate(bb1, 1, 2, bb2, 7), 2);
78
2,
cSpi
.engineDoFinal(bb1, 1, 2, bb2, 0));
86
CipherSpi
cSpi
= new myCipherSpi()
[
all
...]
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
CipherSpiTest.java
145
Mock_CipherSpi
cSpi
= new Mock_CipherSpi();
146
assertEquals("BlockSize is not 0",
cSpi
.engineGetBlockSize(), 0);
147
assertEquals("OutputSize is not 0",
cSpi
.engineGetOutputSize(1), 0);
148
byte[] bb =
cSpi
.engineGetIV();
150
assertNull("Not null result",
cSpi
.engineGetParameters());
153
bb =
cSpi
.engineUpdate(bb1, 1, 2);
156
bb =
cSpi
.engineDoFinal(bb1, 1, 2);
161
cSpi
.engineUpdate(bb1, 1, 2, bb2, 7), 2);
164
2,
cSpi
.engineDoFinal(bb1, 1, 2, bb2, 0));
172
Mock_CipherSpi
cSpi
= new Mock_CipherSpi()
[
all
...]
/libcore/luni/src/main/java/javax/crypto/
Cipher.java
318
CipherSpi
cspi
= (CipherSpi) engineSpi;
local
319
Cipher c = new Cipher(
cspi
, engineProvider, transformation);
[
all
...]
Completed in 71 milliseconds