diff options
Diffstat (limited to 'key.h')
-rw-r--r-- | key.h | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -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. |
@@ -96,7 +96,7 @@ void key_free(Key *); | |||
96 | Key *key_demote(const Key *); | 96 | Key *key_demote(const Key *); |
97 | int key_equal_public(const Key *, const Key *); | 97 | int key_equal_public(const Key *, const Key *); |
98 | int key_equal(const Key *, const Key *); | 98 | int key_equal(const Key *, const Key *); |
99 | char *key_fingerprint(Key *, enum fp_type, enum fp_rep); | 99 | char *key_fingerprint(const Key *, enum fp_type, enum fp_rep); |
100 | u_char *key_fingerprint_raw(const Key *, enum fp_type, u_int *); | 100 | u_char *key_fingerprint_raw(const Key *, enum fp_type, u_int *); |
101 | const char *key_type(const Key *); | 101 | const char *key_type(const Key *); |
102 | const char *key_cert_type(const Key *); | 102 | const char *key_cert_type(const Key *); |
@@ -119,15 +119,16 @@ int key_cert_is_legacy(const Key *); | |||
119 | 119 | ||
120 | int key_ecdsa_nid_from_name(const char *); | 120 | int key_ecdsa_nid_from_name(const char *); |
121 | int key_curve_name_to_nid(const char *); | 121 | int key_curve_name_to_nid(const char *); |
122 | const char * key_curve_nid_to_name(int); | 122 | const char *key_curve_nid_to_name(int); |
123 | u_int key_curve_nid_to_bits(int); | 123 | u_int key_curve_nid_to_bits(int); |
124 | int key_ecdsa_bits_to_nid(int); | 124 | int key_ecdsa_bits_to_nid(int); |
125 | #ifdef OPENSSL_HAS_ECC | 125 | #ifdef OPENSSL_HAS_ECC |
126 | int key_ecdsa_key_to_nid(EC_KEY *); | 126 | int key_ecdsa_key_to_nid(EC_KEY *); |
127 | const EVP_MD * key_ec_nid_to_evpmd(int nid); | 127 | const EVP_MD *key_ec_nid_to_evpmd(int nid); |
128 | int key_ec_validate_public(const EC_GROUP *, const EC_POINT *); | 128 | int key_ec_validate_public(const EC_GROUP *, const EC_POINT *); |
129 | int key_ec_validate_private(const EC_KEY *); | 129 | int key_ec_validate_private(const EC_KEY *); |
130 | #endif | 130 | #endif |
131 | char *key_alg_list(void); | ||
131 | 132 | ||
132 | Key *key_from_blob(const u_char *, u_int); | 133 | Key *key_from_blob(const u_char *, u_int); |
133 | int key_to_blob(const Key *, u_char **, u_int *); | 134 | int key_to_blob(const Key *, u_char **, u_int *); |