Rhys Weatherley
|
04bb4ef115
|
Update link to documentation page
|
2021-04-09 05:03:12 +10:00 |
|
rweather
|
72662b34d6
|
Merge pull request #14 from Nashatyrev/fix/boundary-check-orig
Fix boundary check regression
|
2020-10-21 04:10:00 +10:00 |
|
Anton Nashatyrev
|
98895a9b17
|
Return back checks for encrypt
|
2020-10-20 14:56:26 +03:00 |
|
Anton Nashatyrev
|
e685af924d
|
Fix boundary checks
|
2020-10-20 14:46:50 +03:00 |
|
Anton Nashatyrev
|
afc86a3b6d
|
Add one test vector as a unit test
|
2020-10-20 14:46:45 +03:00 |
|
Anton Nashatyrev
|
6fc4c8c285
|
Fix javadocs
|
2020-10-20 14:46:37 +03:00 |
|
rweather
|
e5c4138be4
|
Merge pull request #13 from rweather/dependabot/maven/junit-junit-4.13.1
Bump junit from 4.12 to 4.13.1
|
2020-10-14 04:07:19 +10:00 |
|
dependabot[bot]
|
c9a5c8aa13
|
Bump junit from 4.12 to 4.13.1
Bumps [junit](https://github.com/junit-team/junit4) from 4.12 to 4.13.1.
- [Release notes](https://github.com/junit-team/junit4/releases)
- [Changelog](https://github.com/junit-team/junit4/blob/main/doc/ReleaseNotes4.12.md)
- [Commits](https://github.com/junit-team/junit4/compare/r4.12...r4.13.1)
Signed-off-by: dependabot[bot] <support@github.com>
|
2020-10-13 15:19:04 +00:00 |
|
rweather
|
594909cde3
|
Merge pull request #12 from polivar3/fix
Boundary checks improvement: detect when plaintextOffset + length is greater than length
|
2020-09-04 04:25:43 +10:00 |
|
Pietro Oliva
|
95fa4af798
|
Simplify boundary checks
|
2020-09-02 15:12:31 -04:00 |
|
Pietro Oliva
|
3b897f2d68
|
Take potential integer overflow into account when performing boundary checks
|
2020-09-02 05:46:58 -04:00 |
|
Pietro Oliva
|
dabedd0a11
|
Boundary checks improvement: detect when plaintextOffset + length is greater than length
|
2020-09-02 03:22:51 -04:00 |
|
Rhys Weatherley
|
18e86b6f8b
|
Improve array bounds checks in CipherState implementations
Thanks to Pietro Oliva for identifying these issues.
|
2020-08-29 07:59:27 +10:00 |
|
rweather
|
a8dce061f6
|
Merge pull request #7 from coinsleuth/master
Mavenized project
|
2019-08-14 07:12:06 +10:00 |
|
Tsoloane Moahloli
|
ef5b1185eb
|
Compiles and tests run
Now fully mavenised
|
2019-08-13 21:45:03 +02:00 |
|
Tsoloane Moahloli
|
5c3e6f1d68
|
mavenised the project
|
2019-08-13 20:44:06 +02:00 |
|
Rhys Weatherley
|
db4855c9fa
|
New Hope extension for Noise
|
2016-10-09 08:49:45 +10:00 |
|
Rhys Weatherley
|
7e14cebc5a
|
Add the NewHope implementation to the tree
|
2016-10-08 19:31:53 +10:00 |
|
Rhys Weatherley
|
683b9b2315
|
Add support for hybrid forward secrecy
|
2016-10-08 19:28:53 +10:00 |
|
Rhys Weatherley
|
4bc27fefce
|
Spec rev31: New token names and behaviours
|
2016-10-08 15:44:29 +10:00 |
|
Rhys Weatherley
|
0ccd438e61
|
Spec rev30: Remove NXfallback and IXfallback for now
The new fallback patterns have been bumped to a later revision.
|
2016-07-08 18:50:29 +10:00 |
|
Rhys Weatherley
|
7df51d1469
|
Spec rev30: Nonce value 2^64 - 1 is reserved; adjust rollover checks
|
2016-07-08 18:21:09 +10:00 |
|
Rhys Weatherley
|
3cc08ef765
|
Spec rev30: Fixes for the new fallback patterns
|
2016-07-08 18:08:16 +10:00 |
|
Rhys Weatherley
|
36223590c4
|
Spec rev30: Add the "no identity hiding" patterns
|
2016-07-08 05:39:28 +10:00 |
|
Rhys Weatherley
|
f1a2a468c3
|
Spec rev30: Add NXfallback and IXfallback patterns
|
2016-07-03 13:24:25 +10:00 |
|
Rhys Weatherley
|
ac6ec2b537
|
Spec rev30: Call MixKey() on ephemeral pre-messages when PSK active
|
2016-07-03 09:09:31 +10:00 |
|
Rhys Weatherley
|
881da5a644
|
Spec rev30: Hash ephemeral pre-messages before static pre-messages
|
2016-07-02 18:07:44 +10:00 |
|
Rhys Weatherley
|
d88803fa78
|
Remove AESGCMCipherState for now
Doesn't work yet, and it is difficult to get it to compile on
older Android versions. Remove it for now until we can come up
with a better solution.
|
2016-06-30 08:37:55 +10:00 |
|
Rhys Weatherley
|
2bda3038b3
|
Modify tests so both the system and fallback algorithms can be tested
|
2016-06-29 16:02:58 +10:00 |
|
Rhys Weatherley
|
7a467ab511
|
Dcoument new fallback implementations in the README
|
2016-06-29 14:47:43 +10:00 |
|
Rhys Weatherley
|
01136906e3
|
Fallback implementations of SHA256 and SHA512
|
2016-06-29 14:31:59 +10:00 |
|
Rhys Weatherley
|
0d93e22b41
|
Fallback implementation of AESGCM with no JCE dependencies
|
2016-06-29 11:20:58 +10:00 |
|
Rhys Weatherley
|
db53b3321a
|
Import the public domain Rijndael AES implementation
|
2016-06-29 10:49:21 +10:00 |
|
Rhys Weatherley
|
ea4de93775
|
Fail if the JCE AES implementation does not support 256-bit keys
|
2016-06-29 09:17:24 +10:00 |
|
Rhys Weatherley
|
fba5785035
|
Remove direct references to GCMParameterSpec
Doesn't exist in JDK's prior to 1.6
|
2016-06-29 07:44:12 +10:00 |
|
Rhys Weatherley
|
1964c5a394
|
Remove references to AEADBadTagException
|
2016-06-29 07:28:49 +10:00 |
|
Rhys Weatherley
|
148f2b92f4
|
Replace multi-catch try statements
Older JDK's, particularly those on Android, don't have multi-catch try's.
|
2016-06-29 07:10:59 +10:00 |
|
Rhys Weatherley
|
63519b8e89
|
Documentation generation
|
2016-06-28 15:09:13 +10:00 |
|
Rhys Weatherley
|
0ae13f66aa
|
README and LICENSE files
|
2016-06-28 14:43:54 +10:00 |
|
Rhys Weatherley
|
cb4e98cdd6
|
Test harness for running JSON format vector tests
|
2016-06-28 14:31:07 +10:00 |
|
Rhys Weatherley
|
cb9ea54fd7
|
Code cleanups in the unit tests
|
2016-06-27 19:17:00 +10:00 |
|
Rhys Weatherley
|
b5c1689d07
|
Add the Curve448 primitive to the crypto package
|
2016-06-27 19:10:49 +10:00 |
|
Rhys Weatherley
|
8b83fc5c27
|
Implement AES/GCM on top of AES/CTR
Older JDK's do not have built-in AES/GCM but they do have AES/CTR.
|
2016-06-27 13:35:12 +10:00 |
|
Rhys Weatherley
|
7901c7df23
|
Unit tests and API improvements for CipherState
|
2016-06-26 15:28:46 +10:00 |
|
Rhys Weatherley
|
b29ba50927
|
HandshakeState API
|
2016-06-25 15:57:05 +10:00 |
|
Rhys Weatherley
|
1764404d1d
|
Add the Curve25519 primitive to the crypto package
|
2016-06-22 17:59:52 +10:00 |
|
Rhys Weatherley
|
5e10f7dda9
|
Interface to Diffie-Hellman algorithms
|
2016-06-18 15:57:29 +10:00 |
|
Rhys Weatherley
|
a47b03674d
|
ChaChaPoly implementation
|
2016-06-18 14:00:25 +10:00 |
|
Rhys Weatherley
|
688faaec7c
|
Fallback implementations of BLAKE2b and BLAKE2s
|
2016-06-18 06:13:39 +10:00 |
|
Rhys Weatherley
|
0be151459d
|
Unit tests for the hash algorithms
|
2016-06-17 18:12:58 +10:00 |
|