Hi, Thank you for your feedback.
+-From: Sean Daley <spda...@gmail.com> --- |_Date: Thu, 16 Feb 2012 17:12:30 -0500 __ | ... |I looked at the javadoc for the update method in javax.crypto.Cipher |and it does state that: |"Note: this method should be copy-safe, which means the input and |output buffers can reference the same |block of memory and no unprocessed input data is overwritten when the |result is copied into the output buffer." It seems to me that such a behavior has violated the statement, "the input and output buffers can reference the same block of memory", and it is an implementation bug of JsafeJCEFIPS, IMHO. Anyway, you can implement your own "com.jcraft.jsch.Cipher" classes, and must be able to use them like, Session#setConfig("aes128-ctr", "your AES128CTR"); Session#setConfig("aes192-ctr", "your AES192CTR"); Session#setConfig("aes256-ctr", "your AES256CTR"); Sincerely, -- Atsuhiko Yamanaka JCraft,Inc. 1-14-20 HONCHO AOBA-KU, SENDAI, MIYAGI 980-0014 Japan. Tel +81-22-723-2150 Skype callto://jcraft/ Twitter: http://twitter.com/ymnk Facebook: http://facebook.com/aymnk ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ JSch-users mailing list JSch-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jsch-users