diff options
Diffstat (limited to 'src/fido/es256.h')
-rw-r--r-- | src/fido/es256.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/fido/es256.h b/src/fido/es256.h index d3d13dd..80f4db3 100644 --- a/src/fido/es256.h +++ b/src/fido/es256.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 | es256_pk_t *es256_pk_new(void); | 25 | es256_pk_t *es256_pk_new(void); |
16 | void es256_pk_free(es256_pk_t **); | 26 | void es256_pk_free(es256_pk_t **); |
17 | EVP_PKEY *es256_pk_to_EVP_PKEY(const es256_pk_t *); | 27 | EVP_PKEY *es256_pk_to_EVP_PKEY(const es256_pk_t *); |
@@ -31,4 +41,8 @@ int es256_pk_set_x(es256_pk_t *, const unsigned char *); | |||
31 | int es256_pk_set_y(es256_pk_t *, const unsigned char *); | 41 | int es256_pk_set_y(es256_pk_t *, const unsigned char *); |
32 | #endif | 42 | #endif |
33 | 43 | ||
44 | #ifdef __cplusplus | ||
45 | } /* extern "C" */ | ||
46 | #endif /* __cplusplus */ | ||
47 | |||
34 | #endif /* !_FIDO_ES256_H */ | 48 | #endif /* !_FIDO_ES256_H */ |