Replace extra25519 #16

Merged
sarah merged 1 commits from bugfix into master 2020-03-28 03:18:13 +00:00
Owner

There is no nice library that does ed25519 to curve25519 conversions, which we need to do EDH over tor onions (which use ed25519 public keys)

~~We used to use AGLs extra25519 library but this was recently deprecated. As such the following functions have been taken from SUPERCOP.
~~

After benchmarking the age implementation that uses bignums it's a little faster than the flattened custom feild implementation pulled from extra25519 and much more concise and understandable.

Erinn needs to review.

There is no nice library that does ed25519 to curve25519 conversions, which we need to do EDH over tor onions (which use ed25519 public keys) ~~We used to use AGLs extra25519 library but this was recently deprecated. As such the following functions have been taken from SUPERCOP. ~~ After benchmarking the age implementation that uses bignums it's a little faster than the flattened custom feild implementation pulled from extra25519 and much more concise and understandable. Erinn needs to review.
dan was assigned by sarah 2020-03-21 19:46:32 +00:00
erinn was assigned by sarah 2020-03-21 19:46:32 +00:00
sarah changed title from WIP: Replace extra25519 - Here be Dragons to WIP: Replace extra25519 2020-03-24 17:34:54 +00:00
Owner

👍 lgtm

:thumbsup: lgtm
Owner

(gave one comment irl about a missing return, then lgtm!)

(gave one comment irl about a missing return, then lgtm!)
sarah changed title from WIP: Replace extra25519 to Replace extra25519 2020-03-27 21:58:58 +00:00
Member
Drone Build Status: failure https://build.openprivacy.ca/cwtch.im/tapir/179
Member
Drone Build Status: failure https://build.openprivacy.ca/cwtch.im/tapir/180
Member
Drone Build Status: failure https://build.openprivacy.ca/cwtch.im/tapir/183
Member
Drone Build Status: failure https://build.openprivacy.ca/cwtch.im/tapir/184
Member
Drone Build Status: failure https://build.openprivacy.ca/cwtch.im/tapir/188
Member
Drone Build Status: failure https://build.openprivacy.ca/cwtch.im/tapir/187
Member
Drone Build Status: success https://build.openprivacy.ca/cwtch.im/tapir/191
Member
Drone Build Status: success https://build.openprivacy.ca/cwtch.im/tapir/192
Member
Drone Build Status: success https://build.openprivacy.ca/cwtch.im/tapir/196
Member
Drone Build Status: success https://build.openprivacy.ca/cwtch.im/tapir/195
sarah closed this pull request 2020-03-28 03:18:13 +00:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No Assignees
4 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: cwtch.im/tapir#16
No description provided.