Rework modInverse main loop to keep better track of degrees
Implement Fermat's Little Theorem and Itoh-Tsujii for comparison
Rewrite Itoh-Tsujii algorithm in non-recursive form, and add a
triple-base (2,3,5) version
some further resource optimisations
Merge remote-tracking branch 'origin/master'
Merge remote branch 'origin/master'
Keep track of all degrees in modInverse() to avoid repetitive scanning
Merge branch 'master' of git.bouncycastle.org:bc-java
Introduce 'banks' into modMultiply to reduce looping over 'A' and
consolidate shift operations
Use 8 banks for width 4
Implement Lopez-Dahab multiplication algorithm for comparison
Merge remote branch 'origin/master'
added override for equals() to reduce calls to getEncoded()
further optimisations for equals()
Merge remote-tracking branch 'origin/master'
Merge remote branch 'origin/master'
Merge branch 'master' of git.bouncycastle.org:bc-java
Improve table-building for Lopez-Dahab multiplication
Optimize Lopez-Dahab multiplication
Implement a modified version of Lopez-Dahab and enable it as default
Merge remote branch 'origin/master'
Improved Cipher input/output streams.
Rewrites of JCE javax.crypto.CipherInputStream and CipherOutputStream that don't silently eat invalid ciphertext exceptions and don't call doFinal() twice (i.e. can be used and used safely with AEAD ciphers).
Improvement to LW API CipherInputStream and CipherOutputStream to support AEADBlockCiphers and simplify internal logic.
Full testing of JCE and LW Cipher streams with common ciphers, including tampering of AEAD ciphertexts.

Oracle bug refs for broken Cipher stream behaviour:
- http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=8016171 (CipherInputStream masks ciphertext tampering with AEAD ciphers in decrypt mode)
- http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=8016249 (CipherInputStream in decrypt mode fails on close with AEAD ciphers)
- http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=8012900 (CICO ignores AAD in GCM mode)