summaryrefslogtreecommitdiff
path: root/key.h
diff options
context:
space:
mode:
Diffstat (limited to 'key.h')
-rw-r--r--key.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/key.h b/key.h
index ebdf45677..17358ae1f 100644
--- a/key.h
+++ b/key.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: key.h,v 1.35 2013/01/17 23:00:01 djm Exp $ */ 1/* $OpenBSD: key.h,v 1.37 2013/05/19 02:42:42 djm Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 2000, 2001 Markus Friedl. All rights reserved. 4 * Copyright (c) 2000, 2001 Markus Friedl. All rights reserved.
@@ -95,7 +95,7 @@ void key_free(Key *);
95Key *key_demote(const Key *); 95Key *key_demote(const Key *);
96int key_equal_public(const Key *, const Key *); 96int key_equal_public(const Key *, const Key *);
97int key_equal(const Key *, const Key *); 97int key_equal(const Key *, const Key *);
98char *key_fingerprint(Key *, enum fp_type, enum fp_rep); 98char *key_fingerprint(const Key *, enum fp_type, enum fp_rep);
99u_char *key_fingerprint_raw(const Key *, enum fp_type, u_int *); 99u_char *key_fingerprint_raw(const Key *, enum fp_type, u_int *);
100const char *key_type(const Key *); 100const char *key_type(const Key *);
101const char *key_cert_type(const Key *); 101const char *key_cert_type(const Key *);
@@ -118,15 +118,16 @@ int key_cert_is_legacy(const Key *);
118 118
119int key_ecdsa_nid_from_name(const char *); 119int key_ecdsa_nid_from_name(const char *);
120int key_curve_name_to_nid(const char *); 120int key_curve_name_to_nid(const char *);
121const char * key_curve_nid_to_name(int); 121const char *key_curve_nid_to_name(int);
122u_int key_curve_nid_to_bits(int); 122u_int key_curve_nid_to_bits(int);
123int key_ecdsa_bits_to_nid(int); 123int key_ecdsa_bits_to_nid(int);
124#ifdef OPENSSL_HAS_ECC 124#ifdef OPENSSL_HAS_ECC
125int key_ecdsa_key_to_nid(EC_KEY *); 125int key_ecdsa_key_to_nid(EC_KEY *);
126const EVP_MD * key_ec_nid_to_evpmd(int nid); 126const EVP_MD *key_ec_nid_to_evpmd(int nid);
127int key_ec_validate_public(const EC_GROUP *, const EC_POINT *); 127int key_ec_validate_public(const EC_GROUP *, const EC_POINT *);
128int key_ec_validate_private(const EC_KEY *); 128int key_ec_validate_private(const EC_KEY *);
129#endif 129#endif
130char *key_alg_list(void);
130 131
131Key *key_from_blob(const u_char *, u_int); 132Key *key_from_blob(const u_char *, u_int);
132int key_to_blob(const Key *, u_char **, u_int *); 133int key_to_blob(const Key *, u_char **, u_int *);