Commit Graph

80 Commits

Author SHA1 Message Date
ceokot 5fb0228fef
Expose method to convert a public key from curve25519 to ed25519 (#1)
* Expose method to convert a public key from curve25519 to ed25519

* Update provider

Co-authored-by: charles <charles@oxen.io>
2022-07-28 13:29:25 +10:00
Niels Andriesse 61aad347b7 Undo unnecessary changes 2019-08-19 15:02:19 +10:00
Niels Andriesse 9ea0fbd83b Update for seed changes 2019-08-19 14:38:42 +10:00
Niels Andriesse 6b47b627fd Add Curve25519.generateKeyPair(byte[]) 2019-07-18 10:33:00 +10:00
Moxie Marlinspike 70fae57d6d Bump version to 0.5.0 2018-05-04 04:36:11 -07:00
Moxie Marlinspike 0c38f1602b Include support for arm64 and amd64 2018-05-04 04:35:33 -07:00
Moxie Marlinspike 0e7a6a1b2b Bump version to 0.4.1
// FREEBIE
2017-06-23 09:16:36 -07:00
Trevor Perrin 35658a785d Cleanups to VRF (defensive programming, tests, fix bounds-check)
Remove unused functions

Closes #22
// FREEBIE
2017-06-23 09:15:03 -07:00
Moxie Marlinspike ac0f2c764b Bump version to 0.4.0
// FREEBIE
2017-06-22 09:20:43 -07:00
Trevor Perrin b71b9f135d Generalized EdDSA, new VRF
Closes #21
// FREEBIE
2017-06-22 09:20:36 -07:00
Moxie Marlinspike f3dcb98f39 Exclude external junit from Android tests
// FREEBIE
2017-06-22 09:16:20 -07:00
Moxie Marlinspike e25a858c97 Bump version to 0.3.1
// FREEBIE
2017-03-31 13:52:35 -07:00
Moxie Marlinspike 7587cb3fd0 The functions are currently unused, but Stef pointed out that
the xeddsa and vxeddsa verify strictness check had a return
value incompatible with the verify function's return value,
causing a strictness check failure to be interpreted as a
signature verification success.

This change also removes some other old/vestigial code.

// FREEBIE
2017-03-31 12:58:07 -07:00
Moxie Marlinspike ac14bb499e Copy public domain statement from SUPERCOP
// FREEBIE
2016-10-20 16:33:46 -07:00
Moxie Marlinspike fea698a4d6 Bump version to 0.3.0
// FREEBIE
2016-10-18 12:28:35 -07:00
Moxie Marlinspike f596383883 uniqueSignature -> vrfSignature
// FREEBIE
2016-10-18 11:12:25 -07:00
Moxie Marlinspike 40106e80ea maven -> jcenter
// FREEBIE
2016-10-17 15:27:30 -07:00
Moxie Marlinspike 5423528ed8 uxed25519 -> vxed25519
// FREEBIE
2016-10-17 15:22:12 -07:00
Moxie Marlinspike afba05a10e Update gradle
// FREEBIE
2016-10-17 15:20:29 -07:00
Moxie Marlinspike 6cf507f4ec Bump version to 0.2.5
// FREEBIE
2016-08-20 09:53:45 -07:00
Moxie Marlinspike 5451c449e8 xed25519
// FREEBIE
2016-08-18 10:54:34 -07:00
Moxie Marlinspike a6128a4304 uxdsa improvements
// FREEBIE
2016-08-14 10:15:23 -07:00
Moxie Marlinspike 37b015bc99 Plumb unique signatures through Curve25519 interface
// FREEBIE
2016-08-11 17:56:32 -07:00
Moxie Marlinspike a6b7aa9456 Validate arguments
Fixes #11

// FREEBIE
2016-08-11 17:28:23 -07:00
Moxie Marlinspike 2f388f601a Dynamically allocated xdsa buffer
// FREEBIE
2016-08-11 17:25:34 -07:00
Moxie Marlinspike dadb8510a9 Remove unused variable
This will also get rearranged in the new codegen

Fixes #6
// FREEBIE
2016-08-11 17:06:03 -07:00
Moxie Marlinspike d0049e0227 Break up fe_mul method
Fixes #9

// FREEBIE
2016-08-11 16:58:51 -07:00
Moxie Marlinspike b9f2ac4fde Add VUF support
// FREEBIE
2016-08-11 16:58:42 -07:00
Moxie Marlinspike 4566552ee2 Update headers, add LICENSE file
// FREEBIE
2016-05-02 13:44:19 -07:00
Moxie Marlinspike 38620c6245 Add stdlib include for less forgiving compilers. 2015-05-05 11:06:04 -07:00
Moxie Marlinspike 2c8d96f250 Bump version to 0.2.4 2015-05-01 08:07:56 -07:00
Moxie Marlinspike 1cde4297b8 Eliminate max message size for signatures.
Dynamically allocate working buffers instead.

Closes #3
2015-05-01 08:03:47 -07:00
Moxie Marlinspike c8a1fe0f73 Bump version to 0.2.3 2015-02-10 15:22:26 -08:00
Moxie Marlinspike 43bb26cdc8 Add nextInt to SecureRandomProvider interface. 2015-02-10 15:22:08 -08:00
Moxie Marlinspike 98860d4ff7 Bump version to 0.2.2 2015-02-09 14:00:58 -08:00
Moxie Marlinspike fc5af285f5 Fix for some devices that behave strangely with native code.
Sometimes, for whatever reason, native code fails to get installed
on some small percentage of Android devices.  In contrast to every
other device, on LG devices, the call to System.loadLibrary
 *succeeds*, and then the individual native calls throw exceptions.

This change allows the degredation path to work correctly on LG.
2015-02-09 14:00:01 -08:00
Moxie Marlinspike 003a4c0f95 Updated README 2015-02-03 10:20:08 -08:00
Moxie Marlinspike 2eac3e8e36 Bump version to 0.2.1 2015-02-02 16:07:35 -08:00
Moxie Marlinspike 74cc5f2e0b Switch NoSuchProviderException to a RuntimeException 2015-02-02 16:02:28 -08:00
Moxie Marlinspike 12cdc5eb64 Add J2ME tests. 2015-02-02 15:19:40 -08:00
Moxie Marlinspike c957bf1a03 More J2ME fixups. 2015-02-02 14:50:52 -08:00
Moxie Marlinspike cb70c59368 J2ME apparently can't handle nested exceptions. 2015-02-02 13:14:37 -08:00
Moxie Marlinspike 8bc433269d Allow caller to specify Random interface, mostly for J2ME. 2015-02-02 13:12:06 -08:00
Moxie Marlinspike f0cfecb7f2 Fix for allocator bounds on J2ME. 2015-02-02 13:11:24 -08:00
Moxie Marlinspike a198b326e6 We're not going to publish common, so the dependent projects
actually need to treat it as a source set.
2015-01-11 13:59:32 -08:00
Moxie Marlinspike 0f10718240 Refactored into provider model for initial support of J2ME. 2015-01-10 21:31:00 -08:00
Moxie Marlinspike 834de837c9 Add license information. 2015-01-08 15:33:41 -08:00
Moxie Marlinspike c8d383bbb0 Move over to gradle for all building.
Use separate modules in order to build both a java as well as an
android artifact, with separate and shared test cases.
2015-01-08 14:32:17 -08:00
Moxie Marlinspike 8a84af8239 Include JavaDoc. 2015-01-06 13:02:45 -08:00
Moxie Marlinspike 0f2b33755a Rename pure-Java test directory for consistency. 2015-01-06 12:50:28 -08:00