Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions base64.c
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@

#include <stdlib.h>
#include <string.h>
#include "base64.h"

static const char Base64[] =
"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
Expand Down
2 changes: 2 additions & 0 deletions base64.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
int b64_pton(char const *, unsigned char *, size_t);
int b64_ntop(unsigned char const *, size_t , char *, size_t);
1 change: 1 addition & 0 deletions signify.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
#include "sha2.h"

#include "crypto_api.h"
#include "base64.h"
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of adding a new header, wouldn't it be enough to add the function prototypes to compat.h?

#include "signify.h"

#define SIGBYTES crypto_sign_ed25519_BYTES
Expand Down