Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/quite/humla-spongycastle.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-03-11Merge branch 'feature/idea-pgp' of https://github.com/timw/bc-java into ↵David Hook
timw-feature/idea-pgp
2014-03-11Merge branch 'feature/update-size-testing' of ↵David Hook
https://github.com/timw/bc-java into timw-feature/update-size-testing
2014-03-11Merge remote-tracking branch 'origin/master'David Hook
2014-03-10Support IDEA as a PGP block cipher and update IDEA patent verbiage.Tim Whittington
2014-03-10Optimize some of the addition/doubling internalsPeter Dettman
2014-03-10Add multiplyAddToExt method to fieldsPeter Dettman
2014-03-10Fix invalid update output size calculation for 0 byte input to padded ↵Tim Whittington
buffered block cipher.
2014-03-10Fix buffer underflows in cipher light weight API input/output streams and ↵Tim Whittington
beef up testing. Buffer underflows could occur when: - decrypting data > internal buffer size in output stream (input stream was fixed in prior commit) - packet mode AE cipher (e.g. CCM) is used with a data size > internal buffer size (since all output is buffered) Buffer is now sized appropriately to every cipher operation immediately prior to it (using getUpdateOutputSize/getOutputSize as appropriate) in both streams. Tests now run over boundaries of various block/buffer sizes to try to expose issues (0, 64 bit block, 128 bit block, 1K, 2K, 4K).
2014-03-10Implement and test consistent use of DataLengthException and ↵Tim Whittington
OutputLengthException in AEAD ciphers.
2014-03-10Add tests for output and update-output size calculation for AEAD ciphers and ↵Tim Whittington
make all implementations consistent. Modified buffering in EAXBlockCipher to blockSize + macLength (instead of blockSize * 2) to align it with the OCB/GCM/CCM implementations and its own update-output size calculations (which often overestimated by a block size). As a side-effect this reduces data copying a bit.
2014-03-10Add notes about accuracy of output size calculations of AEADBlockCipher and ↵Tim Whittington
appropriate handling of plaintext output during decryption prior to authentication.
2014-03-10Refactor temporary variables in reductionsPeter Dettman
2014-03-10Inline reduce32 calls and registerize some values to avoid extra writesPeter Dettman
2014-03-10Use more specific Nat methodsPeter Dettman
2014-03-07added getBlockSize() methodDavid Hook
2014-03-06Minor improvement to reductionPeter Dettman
2014-03-06Avoid redundant subtractionPeter Dettman
2014-03-05Improved reductionPeter Dettman
2014-03-05Reduction optimization for secp256r1Peter Dettman
2014-03-05Use Nat methods instead of specific Nat*.*Ext methodsPeter Dettman
Reduction improvements in curve25519 and secp256r1
2014-03-04Fix infinite loop issue when there is no sqrtPeter Dettman
Add test case to check that sqrt returns null for non-squares
2014-03-04Remove some length-specific methods in favour of the Nat classPeter Dettman
Add more method variations to Nat Use customized reductions in various fields
2014-03-04Just use shift methods from Nat class evverywherePeter Dettman
2014-03-03Merge branch 'master' of git.bouncycastle.org:bc-javaPeter Dettman
2014-03-03Refactoring in the Nat* classes and some new method variationsPeter Dettman
Improved reduction in some fields
2014-03-03Share single temp variable across calls in sqrt()Peter Dettman
2014-03-03Refactor reduction methods and change scope of PExt fieldsPeter Dettman
2014-03-03Add/rename mulAddTo variationsPeter Dettman
2014-03-03Merge remote-tracking branch 'origin/master'David Hook
2014-03-03fixed buffer underflowDavid Hook
2014-03-02Allow for (very rare) cases where the sqrt() algorithm needs to retryPeter Dettman
2014-03-02Added match for SHA512/256 and SHA512/224David Hook
2014-02-28Avoid a few negations in sqrt()Peter Dettman
2014-02-27Optimized sqrt() for custom secp224r1Peter Dettman
2014-02-27Equality/hashcode should ignore "excess" wordsPeter Dettman
2014-02-27Optimize sqrt() for custom secp384r1Peter Dettman
2014-02-27Optimize final adjustments in reduce()Peter Dettman
2014-02-27Simplify twice()Peter Dettman
2014-02-27Optimize final adjustments in reduce()/reduce32()Peter Dettman
2014-02-27Remove commented codePeter Dettman
2014-02-27Remove unused importPeter Dettman
2014-02-27Optimize final adjustments in reduce()Peter Dettman
2014-02-26Add custom curve for secp384r1 (P-384)Peter Dettman
2014-02-26Round out the Nat192 methodsPeter Dettman
Use Nat*.Copy methods in fields
2014-02-26Add extra arg to addWord() and add variant of copy()Peter Dettman
2014-02-26FormattingPeter Dettman
2014-02-26Optimization for custom curve reduction when only a few bits needPeter Dettman
reducing; used to delay reduction in point doubling.
2014-02-26Optimize sqrt() for custom curve secp224k1Peter Dettman
2014-02-26Refactoring in sqrt()Peter Dettman
2014-02-26Add custom curve for secp224k1Peter Dettman