Skip to content

Commit

Permalink
Cleanup of old ed25519 bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
olorin committed Dec 12, 2016
1 parent 1be4a6b commit 9041581
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
6 changes: 3 additions & 3 deletions cbits/tinfoil/sodium/constants.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@

#include "constants.h"

size_t tinfoil_sodium_pubkey_len() {
size_t tinfoil_sodium_pubkey_len(void) {
return crypto_sign_PUBLICKEYBYTES;
}

size_t tinfoil_sodium_seckey_len() {
size_t tinfoil_sodium_seckey_len(void) {
return crypto_sign_SECRETKEYBYTES;
}

size_t tinfoil_sodium_sig_len() {
size_t tinfoil_sodium_sig_len(void) {
return crypto_sign_BYTES;
}

6 changes: 3 additions & 3 deletions cbits/tinfoil/sodium/constants.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@

#include <sodium.h>

size_t tinfoil_sodium_pubkey_len();
size_t tinfoil_sodium_pubkey_len(void);

size_t tinfoil_sodium_seckey_len();
size_t tinfoil_sodium_seckey_len(void);

size_t tinfoil_sodium_sig_len();
size_t tinfoil_sodium_sig_len(void);

#endif
1 change: 0 additions & 1 deletion test/Test/IO/Tinfoil/Signing/Ed25519/Internal.hs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE GADTs #-}
{-# OPTIONS_GHC -fno-warn-missing-signatures #-}
module Test.IO.Tinfoil.Signing.Ed25519.Internal where

import Data.ByteString (ByteString)
Expand Down

0 comments on commit 9041581

Please sign in to comment.