diff options
author | Colin Watson <cjwatson@debian.org> | 2020-04-17 20:57:17 +0100 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2020-04-17 20:57:17 +0100 |
commit | 75073d0a8478441cc97a6efa10b566c5fb1dac81 (patch) | |
tree | b73bff259e1b16829ed8b19ee92df2bbbf36ef7d /src/fido/rs256.h | |
parent | c923f422b1e455bdd8ec3bdb10d005e3bfbacfe0 (diff) |
New upstream version 1.4.0
Diffstat (limited to 'src/fido/rs256.h')
-rw-r--r-- | src/fido/rs256.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/fido/rs256.h b/src/fido/rs256.h index d2fa162..2b08d59 100644 --- a/src/fido/rs256.h +++ b/src/fido/rs256.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 | rs256_pk_t *rs256_pk_new(void); | 25 | rs256_pk_t *rs256_pk_new(void); |
16 | void rs256_pk_free(rs256_pk_t **); | 26 | void rs256_pk_free(rs256_pk_t **); |
17 | EVP_PKEY *rs256_pk_to_EVP_PKEY(const rs256_pk_t *); | 27 | EVP_PKEY *rs256_pk_to_EVP_PKEY(const rs256_pk_t *); |
@@ -19,4 +29,8 @@ EVP_PKEY *rs256_pk_to_EVP_PKEY(const rs256_pk_t *); | |||
19 | int rs256_pk_from_RSA(rs256_pk_t *, const RSA *); | 29 | int rs256_pk_from_RSA(rs256_pk_t *, const RSA *); |
20 | int rs256_pk_from_ptr(rs256_pk_t *, const void *, size_t); | 30 | int rs256_pk_from_ptr(rs256_pk_t *, const void *, size_t); |
21 | 31 | ||
32 | #ifdef __cplusplus | ||
33 | } /* extern "C" */ | ||
34 | #endif /* __cplusplus */ | ||
35 | |||
22 | #endif /* !_FIDO_RS256_H */ | 36 | #endif /* !_FIDO_RS256_H */ |