aboutsummaryrefslogtreecommitdiff
path: root/contrib/libfido2/tools/extern.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/libfido2/tools/extern.h')
-rw-r--r--contrib/libfido2/tools/extern.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/contrib/libfido2/tools/extern.h b/contrib/libfido2/tools/extern.h
index 8b25dadd45ac..ed4b348cfe46 100644
--- a/contrib/libfido2/tools/extern.h
+++ b/contrib/libfido2/tools/extern.h
@@ -2,6 +2,7 @@
* Copyright (c) 2018 Yubico AB. All rights reserved.
* Use of this source code is governed by a BSD-style
* license that can be found in the LICENSE file.
+ * SPDX-License-Identifier: BSD-2-Clause
*/
#ifndef _EXTERN_H_
@@ -85,7 +86,8 @@ int token_info(int, char **, char *);
int token_list(int, char **, char *);
int token_reset(char *);
int token_set(int, char **, char *);
-int write_ec_pubkey(FILE *, const void *, size_t);
+int write_es256_pubkey(FILE *, const void *, size_t);
+int write_es384_pubkey(FILE *, const void *, size_t);
int write_rsa_pubkey(FILE *, const void *, size_t);
int read_file(const char *, u_char **, size_t *);
int write_file(const char *, const u_char *, size_t);