Lines Matching refs:cipherSpi

149   private CipherSpi cipherSpi;  field in Cipher
338 Cipher(CipherSpi cipherSpi, Provider provider, String transformation) in Cipher() argument
340 this.cipherSpi = cipherSpi; in Cipher()
365 if (cipherSpi != null) in getBlockSize()
367 return cipherSpi.engineGetBlockSize(); in getBlockSize()
390 if (cipherSpi != null) in getIV()
392 return cipherSpi.engineGetIV(); in getIV()
405 if (cipherSpi != null) { in getParameters()
406 return cipherSpi.engineGetParameters(); in getParameters()
485 if (cipherSpi == null) in doFinal()
495 return cipherSpi.engineDoFinal(input, inputOffset, inputLength); in doFinal()
522 if (cipherSpi == null) in doFinal()
530 return cipherSpi.engineDoFinal(new byte[0], 0, 0, output, outputOffset); in doFinal()
560 if (cipherSpi == null) in doFinal()
573 return cipherSpi.engineDoFinal(input, inputOffset, inputLength, in doFinal()
619 return cipherSpi.engineDoFinal (input, output); in doFinal()
634 if (cipherSpi == null) in getOutputSize()
636 return cipherSpi.engineGetOutputSize(inputLength); in getOutputSize()
699 if (cipherSpi != null) in init()
701 cipherSpi.engineInit(opmode, key, new SecureRandom()); in init()
818 if (cipherSpi != null) in init()
820 cipherSpi.engineInit(opmode, key, random); in init()
917 if (cipherSpi != null) in init()
919 cipherSpi.engineInit(opmode, key, params, random); in init()
952 if (cipherSpi != null) in init()
954 cipherSpi.engineInit(opmode, key, params, random); in init()
982 if (cipherSpi == null) in unwrap()
990 return cipherSpi.engineUnwrap(wrappedKey, wrappedKeyAlgorithm, in unwrap()
1022 if (cipherSpi == null) in update()
1033 return cipherSpi.engineUpdate(input, inputOffset, inputLength); in update()
1076 if (cipherSpi == null) in update()
1090 return cipherSpi.engineUpdate(input, inputOffset, inputLength, in update()
1120 return cipherSpi.engineUpdate (input, output); in update()
1138 if (cipherSpi == null) in wrap()
1146 return cipherSpi.engineWrap(key); in wrap()