diff options
author | Doug Hogan <[email protected]> | 2018-12-20 02:05:43 -0800 |
---|---|---|
committer | Doug Hogan <[email protected]> | 2018-12-20 02:30:48 -0800 |
commit | 1abc5cac5dcd40349001ce2bf2530a02ab5ec918 (patch) | |
tree | 346f0667b08054c25a7f45f83299f12b24ecd9d5 /lib/crypto/c_src/eddsa.h | |
parent | c0e453b05f85a06a155decef4de7d2407a8d9cff (diff) | |
download | otp-1abc5cac5dcd40349001ce2bf2530a02ab5ec918.tar.gz otp-1abc5cac5dcd40349001ce2bf2530a02ab5ec918.tar.bz2 otp-1abc5cac5dcd40349001ce2bf2530a02ab5ec918.zip |
Move EDDSA functionality to a new file
Diffstat (limited to 'lib/crypto/c_src/eddsa.h')
-rw-r--r-- | lib/crypto/c_src/eddsa.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/crypto/c_src/eddsa.h b/lib/crypto/c_src/eddsa.h new file mode 100644 index 0000000000..d24d25613f --- /dev/null +++ b/lib/crypto/c_src/eddsa.h @@ -0,0 +1,10 @@ +#ifndef E_EDDSA_H__ +#define E_EDDSA_H__ 1 + +#include "common.h" + +#ifdef HAVE_EDDSA +int get_eddsa_key(ErlNifEnv* env, int public, ERL_NIF_TERM key, EVP_PKEY **pkey); +#endif + +#endif /* E_EDDSA_H__ */ |