diff options
author | Colin Watson <cjwatson@debian.org> | 2020-04-17 20:57:34 +0100 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2020-04-18 09:48:21 +0100 |
commit | df7226c4b684fd229dc046388225c69ded877721 (patch) | |
tree | e69014e1ee868c4ec178b8a36baae7de31786beb /src/fido/eddsa.h | |
parent | f794345c2d734f593da8ed7754e5dbb5809c688d (diff) | |
parent | 75073d0a8478441cc97a6efa10b566c5fb1dac81 (diff) |
Update upstream source from tag 'upstream/1.4.0'
Update to upstream version '1.4.0'
with Debian dir 64889867df57bd13ea0cb964223697d378d391ce
Diffstat (limited to 'src/fido/eddsa.h')
-rw-r--r-- | src/fido/eddsa.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/fido/eddsa.h b/src/fido/eddsa.h index 9de272d..4a81017 100644 --- a/src/fido/eddsa.h +++ b/src/fido/eddsa.h | |||
@@ -12,6 +12,16 @@ | |||
12 | #include <stdint.h> | 12 | #include <stdint.h> |
13 | #include <stdlib.h> | 13 | #include <stdlib.h> |
14 | 14 | ||
15 | #ifdef _FIDO_INTERNAL | ||
16 | #include "types.h" | ||
17 | #else | ||
18 | #include <fido.h> | ||
19 | #endif | ||
20 | |||
21 | #ifdef __cplusplus | ||
22 | extern "C" { | ||
23 | #endif /* __cplusplus */ | ||
24 | |||
15 | eddsa_pk_t *eddsa_pk_new(void); | 25 | eddsa_pk_t *eddsa_pk_new(void); |
16 | void eddsa_pk_free(eddsa_pk_t **); | 26 | void eddsa_pk_free(eddsa_pk_t **); |
17 | EVP_PKEY *eddsa_pk_to_EVP_PKEY(const eddsa_pk_t *); | 27 | EVP_PKEY *eddsa_pk_to_EVP_PKEY(const eddsa_pk_t *); |
@@ -37,4 +47,8 @@ void EVP_MD_CTX_free(EVP_MD_CTX *); | |||
37 | 47 | ||
38 | #endif /* _FIDO_INTERNAL */ | 48 | #endif /* _FIDO_INTERNAL */ |
39 | 49 | ||
50 | #ifdef __cplusplus | ||
51 | } /* extern "C" */ | ||
52 | #endif /* __cplusplus */ | ||
53 | |||
40 | #endif /* !_FIDO_EDDSA_H */ | 54 | #endif /* !_FIDO_EDDSA_H */ |