Home
last modified time | relevance | path

Searched refs:cipherSpi (Results 1 – 3 of 3) sorted by relevance

/libcore/ojluni/src/main/java/javax/crypto/
DCipher.java400 protected Cipher(CipherSpi cipherSpi, in Cipher() argument
403 if (cipherSpi == null) { in Cipher()
406 if (!(cipherSpi instanceof NullCipherSpi) && provider == null) { in Cipher()
410 this.spi = cipherSpi; in Cipher()
416 new SpiAndProviderUpdater(provider, cipherSpi); in Cipher()
419 private Cipher(CipherSpi cipherSpi, in Cipher() argument
423 this.spi = cipherSpi; in Cipher()
429 new SpiAndProviderUpdater(provider, cipherSpi); in Cipher()
2786 void setCipherSpiImplAndProvider(CipherSpi cipherSpi, Provider provider) { in setCipherSpiImplAndProvider() argument
2787 Cipher.this.spi = cipherSpi; in setCipherSpiImplAndProvider()
[all …]
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
DCipherSpiTest.java343 Mock_CipherSpi cipherSpi = new Mock_CipherSpi() { in testCrypt_doNotCallPositionInNonArrayBackedInputBuffer() local
348 cipherSpi.engineUpdate(nonArrayBackedInputBuffer, nonArrayBackedOutputBuffer); in testCrypt_doNotCallPositionInNonArrayBackedInputBuffer()
364 Mock_CipherSpi cipherSpi = new Mock_CipherSpi() { in testCrypt_doNotCallPutForZeroLengthOutput() local
372 cipherSpi.engineUpdate(nonArrayBackedInputBuffer, nonArrayBackedOutputBuffer); in testCrypt_doNotCallPutForZeroLengthOutput()
413 Mock_CipherSpi cipherSpi = new Mock_CipherSpi() { in testCrypt_outputSizeUpdatedAfterShortBufferException() local
437 cipherSpi.engineUpdate(inputBuffer, outputBuffer); in testCrypt_outputSizeUpdatedAfterShortBufferException()
/libcore/ojluni/annotations/mmodule/javax/crypto/
DCipher.annotated.java47 protected Cipher(javax.crypto.CipherSpi cipherSpi, java.security.Provider provider, java.lang.Strin… in Cipher() argument