forked from KqSMea8/AirplayServer
-
Notifications
You must be signed in to change notification settings - Fork 357
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use OpenSSL for elliptic curve crypto
This commit removes the curve25519-donna and ed25519 libraries and replaces them with their OpenSSL implementations. Two new macros were defined in `lib/pairing.h`: - `X25519_KEX_SIZE` for the size of the keys in bytes - `PAIRING_SIG_SIZE` for the length of the signature in bytes These macros were implemented in `lib/raop_handlers.h` too. Also, the `handle_error` function from `lib/crypto.c` was renamed to `crypto_handle_error`, improved slightly and placed into the header `lib/crypto.h`. This way `lib/pairing.c` can call this function when an OpenSSL error occurs.
- Loading branch information
Showing
29 changed files
with
188 additions
and
5,991 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.