Home
last modified time | relevance | path

Searched refs:engineUpdate (Results 1 – 25 of 29) sorted by relevance

12

/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
DMacSpiTest.java67 protected void engineUpdate(byte input) { in engineUpdate() method in MacSpiTest.Mock_MacSpi
68 super.engineUpdate(input); in engineUpdate()
72 protected void engineUpdate(byte[] input, int offset, int len) { in engineUpdate() method in MacSpiTest.Mock_MacSpi
73 super.engineUpdate(input, offset, len); in engineUpdate()
101 protected void engineUpdate(byte input) { in engineUpdate() method in MacSpiTest.Mock_MacSpi1
102 super.engineUpdate(input); in engineUpdate()
106 protected void engineUpdate(byte[] input, int offset, int len) { in engineUpdate() method in MacSpiTest.Mock_MacSpi1
107 super.engineUpdate(input, offset, len); in engineUpdate()
110 protected void engineUpdate(ByteBuffer input) { in engineUpdate() method in MacSpiTest.Mock_MacSpi1
111 super.engineUpdate(input); in engineUpdate()
[all …]
DCipherSpiTest.java113 protected byte[] engineUpdate(byte[] input, int inputOffset, int inputLen) { in engineUpdate() method in CipherSpiTest.Mock_CipherSpi
114 return super.engineUpdate(input, inputOffset, inputLen); in engineUpdate()
118 protected int engineUpdate(byte[] input, int inputOffset, int inputLen, byte[] output, in engineUpdate() method in CipherSpiTest.Mock_CipherSpi
120 return super.engineUpdate(input, inputOffset, inputLen, output, outputOffset); in engineUpdate()
165 bb = cSpi.engineUpdate(bb1, 1, 2); in testCipherSpiTests01()
173 cSpi.engineUpdate(bb1, 1, 2, bb2, 7), 2); in testCipherSpiTests01()
235 cSpi.engineUpdate(bbNull, bb1); in testCipherSpi05()
240 cSpi.engineUpdate(bb1, bbNull); in testCipherSpi05()
246 assertEquals("Incorrect number of stored bytes", 0, cSpi.engineUpdate( in testCipherSpi05()
252 cSpi.engineUpdate(bb1, bb2); in testCipherSpi05()
[all …]
DMockMacSpi.java64 protected void engineUpdate(byte input) { in engineUpdate() method in MockMacSpi
69 protected void engineUpdate(byte[] input, int offset, int len) { in engineUpdate() method in MockMacSpi
DCipherOutputStream1Test.java271 protected byte[] engineUpdate(byte[] input, int inputOffset, int inputLen) { in engineUpdate() method in CipherOutputStream1Test.CipherSpiThatThrowsOnSecondDoFinal
276 protected int engineUpdate(byte[] input, int inputOffset, int inputLen, byte[] output, in engineUpdate() method in CipherOutputStream1Test.CipherSpiThatThrowsOnSecondDoFinal
/libcore/ojluni/src/main/java/javax/crypto/
DMacSpi.java77 protected abstract void engineUpdate(byte input); in engineUpdate() method in MacSpi
87 protected abstract void engineUpdate(byte[] input, int offset, int len); in engineUpdate() method in MacSpi
101 protected void engineUpdate(ByteBuffer input) { in engineUpdate() method in MacSpi
110 engineUpdate(b, ofs + pos, lim - pos); in engineUpdate()
118 engineUpdate(b, 0, chunk); in engineUpdate()
DNullCipherSpi.java79 protected byte[] engineUpdate(byte[] input, int inputOffset, in engineUpdate() method in NullCipherSpi
87 protected int engineUpdate(byte[] input, int inputOffset, in engineUpdate() method in NullCipherSpi
98 return engineUpdate(input, inputOffset, inputLen); in engineDoFinal()
105 return engineUpdate(input, inputOffset, inputLen, in engineDoFinal()
DCipherSpi.java488 protected abstract byte[] engineUpdate(byte[] input, int inputOffset, in engineUpdate() method in CipherSpi
517 protected abstract int engineUpdate(byte[] input, int inputOffset, in engineUpdate() method in CipherSpi
552 protected int engineUpdate(ByteBuffer input, ByteBuffer output) in engineUpdate() method in CipherSpi
774 n = engineUpdate(inArray, inOfs, inLen, outArray, outOfs); in bufferCrypt()
794 n = engineUpdate(inArray, 0, chunk, outArray, outOfs); in bufferCrypt()
828 n = engineUpdate(inArray, inOfs, chunk, outArray, 0); in bufferCrypt()
DCipher.java1682 return spi.engineUpdate(input, 0, input.length); in update()
1722 return spi.engineUpdate(input, inputOffset, inputLen); in update()
1776 return spi.engineUpdate(input, inputOffset, inputLen, in update()
1835 return spi.engineUpdate(input, inputOffset, inputLen, in update()
1893 return spi.engineUpdate(input, output); in update()
/libcore/ojluni/src/main/java/java/security/
DMessageDigestSpi.java80 protected abstract void engineUpdate(byte input); in engineUpdate() method in MessageDigestSpi
93 protected abstract void engineUpdate(byte[] input, int offset, int len); in engineUpdate() method in MessageDigestSpi
105 protected void engineUpdate(ByteBuffer input) { in engineUpdate() method in MessageDigestSpi
114 engineUpdate(b, ofs + pos, lim - pos); in engineUpdate()
125 engineUpdate(tempArray, 0, chunk); in engineUpdate()
DMessageDigest.java340 engineUpdate(input); in update()
362 engineUpdate(input, offset, len); in update()
372 engineUpdate(input, 0, input.length); in update()
390 engineUpdate(input); in update()
621 protected void engineUpdate(byte input) { in engineUpdate() method in MessageDigest.Delegate
622 digestSpi.engineUpdate(input); in engineUpdate()
625 protected void engineUpdate(byte[] input, int offset, int len) { in engineUpdate() method in MessageDigest.Delegate
626 digestSpi.engineUpdate(input, offset, len); in engineUpdate()
629 protected void engineUpdate(ByteBuffer input) { in engineUpdate() method in MessageDigest.Delegate
630 digestSpi.engineUpdate(input); in engineUpdate()
DSignatureSpi.java116 protected abstract void engineUpdate(byte b) throws SignatureException; in engineUpdate() method in SignatureSpi
129 protected abstract void engineUpdate(byte[] b, int off, int len) in engineUpdate() method in SignatureSpi
142 protected void engineUpdate(ByteBuffer input) { in engineUpdate() method in SignatureSpi
152 engineUpdate(b, ofs + pos, lim - pos); in engineUpdate()
160 engineUpdate(b, 0, chunk); in engineUpdate()
DSignature.java877 engineUpdate(b); in update()
921 engineUpdate(data, off, len); in update()
949 engineUpdate(data); in update()
1400 protected void engineUpdate(byte b) throws SignatureException { in engineUpdate() method in Signature.Delegate
1402 sigSpi.engineUpdate(b); in engineUpdate()
1405 protected void engineUpdate(byte[] b, int off, int len) in engineUpdate() method in Signature.Delegate
1408 sigSpi.engineUpdate(b, off, len); in engineUpdate()
1411 protected void engineUpdate(ByteBuffer data) { in engineUpdate() method in Signature.Delegate
1413 sigSpi.engineUpdate(data); in engineUpdate()
1509 protected void engineUpdate(byte b) throws SignatureException { in engineUpdate() method in Signature.CipherAdapter
[all …]
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DMessageDigestSpiTest.java57 mds.engineUpdate(ba[0]); in test_constructor()
58 mds.engineUpdate(ba, 0, ba.length); in test_constructor()
152 md.engineUpdate(buf); in test_engineUpdateLjava_nio_ByteBuffer()
160 md.engineUpdate(buf); in test_engineUpdateLjava_nio_ByteBuffer()
192 public void engineUpdate(byte arg0) { in engineUpdate() method in MessageDigestSpiTest.MyMessageDigest
196 public void engineUpdate(byte[] arg0, int arg1, int arg2) { in engineUpdate() method in MessageDigestSpiTest.MyMessageDigest
211 protected void engineUpdate(ByteBuffer input) { in engineUpdate() method in MessageDigestSpiTest.MyMessageDigest
212 super.engineUpdate(input); in engineUpdate()
DSignatureSpiTest.java68 ss1.engineUpdate(b[1]); in testAbstractMethods()
69 ss1.engineUpdate(b, 0, b.length); in testAbstractMethods()
124 protected void engineUpdate(byte b) throws SignatureException { in testEngineGetParameters()
129 protected void engineUpdate(byte[] b, int off, int len) in testEngineGetParameters()
169 public void engineUpdate(byte b) { in engineUpdate() method in SignatureSpiTest.MySignatureSpi1
172 public void engineUpdate(byte[] b, int off, int len) { in engineUpdate() method in SignatureSpiTest.MySignatureSpi1
203 public void engineUpdate(byte b) { in engineUpdate() method in SignatureSpiTest.MySignatureSpi2
206 public void engineUpdate(byte[] b, int off, int len) { in engineUpdate() method in SignatureSpiTest.MySignatureSpi2
255 protected void engineUpdate(byte b) throws SignatureException { in engineUpdate() method in SignatureSpiTest.MySignature
260 protected void engineUpdate(byte[] b, int off, int len) in engineUpdate() method in SignatureSpiTest.MySignature
[all …]
DMessageDigest1Test.java87 public void engineUpdate(byte[] arg0, int arg1, int arg2) { in test_updateLB$LILI()
312 protected void engineUpdate(byte input) { in engineUpdate() method in MessageDigest1Test.TestMessageDigestSpi
317 protected void engineUpdate(byte[] input, int offset, int len) { in engineUpdate() method in MessageDigest1Test.TestMessageDigestSpi
DSignatureTest.java618 protected void engineUpdate(byte b) throws SignatureException { in engineUpdate() method in SignatureTest.MySignature
623 protected void engineUpdate(byte[] b, int off, int len) in engineUpdate() method in SignatureTest.MySignature
678 protected void engineUpdate(byte b) throws SignatureException { in engineUpdate() method in SignatureTest.MySignatureSpi
683 protected void engineUpdate(byte[] b, int off, int len) in engineUpdate() method in SignatureTest.MySignatureSpi
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/
DMyMessageDigest1.java68 public void engineUpdate(byte arg0) { in engineUpdate() method in MyMessageDigest1
75 public void engineUpdate(byte[] arg0, int arg1, int arg2) { in engineUpdate() method in MyMessageDigest1
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/support/
DMyMacSpi.java57 protected void engineUpdate(byte input) { in engineUpdate() method in MyMacSpi
61 protected void engineUpdate(byte[] input, int offset, int len) { in engineUpdate() method in MyMacSpi
DMyCipher.java100 protected byte[] engineUpdate(byte[] input, int inputOffset, int inputLen) { in engineUpdate() method in MyCipher
105 protected int engineUpdate(byte[] input, int inputOffset, int inputLen, in engineUpdate() method in MyCipher
/libcore/luni/src/test/java/libcore/java/security/cert/
DFakeOidProvider.java42 protected void engineUpdate(byte b) throws SignatureException { in engineUpdate() method in FakeOidProvider.FakeOidSignature
46 protected void engineUpdate(byte[] b, int off, int len) throws SignatureException { in engineUpdate() method in FakeOidProvider.FakeOidSignature
/libcore/luni/src/test/java/tests/targets/security/
DMessageDigestTestMD2.java86 protected void engineUpdate(byte input) { in engineUpdate() method in MessageDigestTestMD2.MD2
90 protected void engineUpdate(byte[] input, int offset, int len) { in engineUpdate() method in MessageDigestTestMD2.MD2
DSignatureTestMD2withRSA.java162 protected void engineUpdate(byte b) throws SignatureException { in engineUpdate() method in SignatureTestMD2withRSA.MD2withRSA
166 protected void engineUpdate(byte[] b, int off, int len) in engineUpdate() method in SignatureTestMD2withRSA.MD2withRSA
/libcore/luni/src/test/java/libcore/javax/crypto/
DMockMacSpi.java73 protected void engineUpdate(byte input) { in engineUpdate() method in MockMacSpi
78 protected void engineUpdate(byte[] input, int inputOffset, int inputLen) { in engineUpdate() method in MockMacSpi
DMockCipherSpi.java254 protected byte[] engineUpdate(byte[] input, int inputOffset, int inputLen) { in engineUpdate() method in MockCipherSpi
259 protected int engineUpdate(byte[] input, int inputOffset, int inputLen, byte[] output, in engineUpdate() method in MockCipherSpi
/libcore/ojluni/annotations/hiddenapi/java/security/
DSignature.java222 protected void engineUpdate(byte b) throws java.security.SignatureException { in engineUpdate() method in Signature.CipherAdapter
226 protected void engineUpdate(byte[] b, int off, int len) in engineUpdate() method in Signature.CipherAdapter
315 protected void engineUpdate(byte b) throws java.security.SignatureException { in engineUpdate() method in Signature.Delegate
319 protected void engineUpdate(byte[] b, int off, int len) in engineUpdate() method in Signature.Delegate
324 protected void engineUpdate(java.nio.ByteBuffer data) { in engineUpdate() method in Signature.Delegate

12