Home
last modified time | relevance | path

Searched refs:Key (Results 1 – 25 of 89) sorted by relevance

1234

/mirbsd/src/usr.bin/ssh/
Dkey.h32 typedef struct Key Key; typedef
52 struct Key { struct
59 Key *key_new(int); argument
60 Key *key_new_private(int);
61 void key_free(Key *);
62 Key *key_demote(const Key *);
63 int key_equal(const Key *, const Key *);
64 char *key_fingerprint(const Key *, enum fp_type, enum fp_rep);
65 u_char *key_fingerprint_raw(const Key *, enum fp_type, u_int *);
66 const char *key_type(const Key *);
[all …]
Dauth.h98 int auth_rhosts_rsa(Authctxt *, char *, Key *);
101 int auth_rsa_challenge_dialog(Key *);
102 BIGNUM *auth_rsa_generate_challenge(Key *);
103 int auth_rsa_verify_response(Key *, BIGNUM *, u_char[]);
104 int auth_rsa_key_allowed(struct passwd *, BIGNUM *, Key **);
106 int auth_rhosts_rsa_key_allowed(struct passwd *, char *, char *, Key *);
107 int hostbased_key_allowed(struct passwd *, const char *, char *, Key *);
108 int user_key_allowed(struct passwd *, Key *);
140 check_key_in_hostfiles(struct passwd *, Key *, const char *,
144 Key *get_hostkey_by_index(int);
[all …]
Dmonitor_wrap.h43 int mm_key_sign(Key *, u_char **, u_int *, u_char *, u_int);
48 int mm_key_allowed(enum mm_keytype, char *, char *, Key *);
49 int mm_user_key_allowed(struct passwd *, Key *);
50 int mm_hostbased_key_allowed(struct passwd *, char *, char *, Key *);
51 int mm_auth_rhosts_rsa_key_allowed(struct passwd *, char *, char *, Key *);
52 int mm_key_verify(Key *, u_char *, u_int, u_char *, u_int);
53 int mm_auth_rsa_key_allowed(struct passwd *, BIGNUM *, Key **);
54 int mm_auth_rsa_verify_response(Key *, BIGNUM *, u_char *);
55 BIGNUM *mm_auth_rsa_generate_challenge(Key *);
Dauthfile.h18 int key_save_private(Key *, const char *, const char *, const char *);
19 Key *key_load_public(const char *, char **);
20 Key *key_load_public_type(int, const char *, char **);
21 Key *key_load_private(const char *, const char *, char **);
22 Key *key_load_private_type(int, const char *, const char *, char **, int *);
23 Key *key_load_private_pem(int, int, const char *, char **);
Dkey.c57 Key *
60 Key *k; in key_new()
100 Key *
103 Key *k = key_new(type); in key_new_private()
133 key_free(Key *k) in key_free()
159 key_equal(const Key *a, const Key *b) in key_equal()
182 key_fingerprint_raw(const Key *k, enum fp_type dgst_type, in key_fingerprint_raw()
336 key_fingerprint_randomart(u_char *dgst_raw, u_int dgst_raw_len, const Key *k) in key_fingerprint_randomart()
412 key_fingerprint(const Key *k, enum fp_type dgst_type, enum fp_rep dgst_rep) in key_fingerprint()
500 key_read(Key *ret, char **cpp) in key_read()
[all …]
Dauthfd.h76 Key *ssh_get_first_identity(AuthenticationConnection *, char **, int);
77 Key *ssh_get_next_identity(AuthenticationConnection *, char **, int);
78 int ssh_add_identity_constrained(AuthenticationConnection *, Key *,
80 int ssh_remove_identity(AuthenticationConnection *, Key *);
87 ssh_decrypt_challenge(AuthenticationConnection *, Key *, BIGNUM *, u_char[16],
91 ssh_agent_sign(AuthenticationConnection *, Key *, u_char **, u_int *, u_char *,
Dhostfile.h21 int hostfile_read_key(char **, u_int *, Key *);
23 const Key *, Key *, int *);
24 int add_host_to_hostfile(const char *, const char *, const Key *, int);
26 int, Key *, int *);
Dauthfile.c82 key_save_private_rsa1(Key *key, const char *filename, const char *passphrase, in key_save_private_rsa1()
177 key_save_private_pem(Key *key, const char *filename, const char *_passphrase, in key_save_private_pem()
217 key_save_private(Key *key, const char *filename, const char *passphrase, in key_save_private()
241 static Key *
245 Key *pub; in key_load_public_rsa1()
306 Key *
309 Key *pub; in key_load_public_type()
330 static Key *
341 Key *prv = NULL; in key_load_private_rsa1()
462 Key *
[all …]
Dhostfile.c148 hostfile_read_key(char **cpp, u_int *bitsp, Key *ret) in hostfile_read_key()
170 hostfile_check_key(int bits, const Key *key, const char *host, const char *filename, int linenum) in hostfile_check_key()
196 const char *host, const Key *key, int keytype, Key *found, int *numret) in check_host_in_hostfile_by_key_or_type()
298 check_host_in_hostfile(const char *filename, const char *host, const Key *key, in check_host_in_hostfile()
299 Key *found, int *numret) in check_host_in_hostfile()
309 int keytype, Key *found, int *numret) in lookup_key_in_hostfile_by_type()
321 add_host_to_hostfile(const char *filename, const char *host, const Key *key, in add_host_to_hostfile()
Dauth-rsa.c67 auth_rsa_generate_challenge(Key *key) in auth_rsa_generate_challenge()
87 auth_rsa_verify_response(Key *key, BIGNUM *challenge, u_char response[16]) in auth_rsa_verify_response()
127 auth_rsa_challenge_dialog(Key *key) in auth_rsa_challenge_dialog()
165 auth_rsa_key_allowed(struct passwd *pw, BIGNUM *client_n, Key **rkey) in auth_rsa_key_allowed()
172 Key *key; in auth_rsa_key_allowed()
281 Key *key; in auth_rsa()
Dscard.h34 Key **sc_get_keys(const char *, const char *);
36 int sc_put_key(Key *, const char *);
37 char *sc_get_key_label(Key *);
Dauthfd.c303 Key *
312 Key *
319 Key *key = NULL; in ssh_get_next_identity()
365 Key* key, BIGNUM *challenge, in ssh_decrypt_challenge()
416 Key *key, in ssh_agent_sign()
473 ssh_encode_identity_ssh2(Buffer *b, Key *key, const char *comment) in ssh_encode_identity_ssh2()
502 ssh_add_identity_constrained(AuthenticationConnection *auth, Key *key, in ssh_add_identity_constrained()
553 ssh_remove_identity(AuthenticationConnection *auth, Key *key) in ssh_remove_identity()
Dssh-keygen.c151 static Key *
155 Key *prv; in load_identity()
179 Key *k; in do_convert_to_ssh2()
219 Key *k; in do_convert_to_ossl()
259 static Key *
263 Key *key = NULL; in do_convert_private_ssh2_from_blob()
385 Key *k; in do_convert_from_ssh2()
464 Key *k; in do_convert_from_ossl()
516 Key *prv; in do_print_public()
541 Key *prv = NULL; in do_upload()
[all …]
Dkex.h126 int (*verify_host_key)(Key *);
127 Key *(*load_host_key)(int);
128 int (*host_key_index)(Key *);
Dauth2-pubkey.c65 Key *key = NULL; in userauth_pubkey()
176 user_key_allowed2(struct passwd *pw, Key *key, char *file) in user_key_allowed2()
182 Key *found; in user_key_allowed2()
250 user_key_allowed(struct passwd *pw, Key *key) in user_key_allowed()
Ddns.h49 int verify_host_key_dns(const char *, struct sockaddr *, const Key *, int *);
50 int export_dns_rr(const char *, const Key *, FILE *, int);
Dsshconnect.h29 Key **keys;
43 int verify_host_key(char *, struct sockaddr *, Key *);
Dscard.c145 sc_read_pubkey(Key * k) in sc_read_pubkey()
363 Key **
366 Key *k, *n, **keys; in sc_get_keys()
391 keys = xcalloc((nkeys+1), sizeof(Key *)); in sc_get_keys()
481 sc_put_key(Key *prv, const char *id) in sc_put_key()
566 sc_get_key_label(Key *key) in sc_get_key_label()
Dauth-rh-rsa.c40 Key *client_host_key) in auth_rhosts_rsa_key_allowed()
65 auth_rhosts_rsa(Authctxt *authctxt, char *cuser, Key *client_host_key) in auth_rhosts_rsa()
Dmonitor_wrap.c175 mm_key_sign(Key *key, u_char **sigp, u_int *lenp, u_char *data, u_int datalen) in mm_key_sign()
312 mm_user_key_allowed(struct passwd *pw, Key *key) in mm_user_key_allowed()
319 Key *key) in mm_hostbased_key_allowed()
326 char *host, Key *key) in mm_auth_rhosts_rsa_key_allowed()
350 mm_key_allowed(enum mm_keytype type, char *user, char *host, Key *key) in mm_key_allowed()
397 mm_key_verify(Key *key, u_char *sig, u_int siglen, u_char *data, u_int datalen) in mm_key_verify()
852 mm_auth_rsa_key_allowed(struct passwd *pw, BIGNUM *client_n, Key **rkey) in mm_auth_rsa_key_allowed()
855 Key *key; in mm_auth_rsa_key_allowed()
889 mm_auth_rsa_generate_challenge(Key *key) in mm_auth_rsa_generate_challenge()
920 mm_auth_rsa_verify_response(Key *key, BIGNUM *p, u_char response[16]) in mm_auth_rsa_verify_response()
Ddns.c79 u_char **digest, u_int *digest_len, const Key *key) in dns_read_key()
177 const Key *hostkey, int *flags) in verify_host_key_dns()
276 export_dns_rr(const char *hostname, const Key *key, FILE *f, int generic) in export_dns_rr()
Dssh-keysign.c59 valid_request(struct passwd *pw, char *host, Key **ret, u_char *data, in valid_request()
63 Key *key = NULL; in valid_request()
150 Key *keys[2], *key; in main()
/mirbsd/src/lib/libssl/src/doc/
Dstandards.txt48 PKCS#8: Private-Key Information Syntax Standard
52 2560 X.509 Internet Public Key Infrastructure Online Certificate
76 3279 Algorithms and Identifiers for the Internet X.509 Public Key
81 3280 Internet X.509 Public Key Infrastructure Certificate and
86 3447 Public-Key Cryptography Standards (PKCS) #1: RSA Cryptography
91 3820 Internet X.509 Public Key Infrastructure (PKI) Proxy Certificate
108 Certificate-Based Key Management. S. Kent. February 1993. (Format:
116 1424 Privacy Enhancement for Internet Electronic Mail: Part IV: Key
120 2025 The Simple Public-Key GSS-API Mechanism (SPKM). C. Adams. October
123 2510 Internet X.509 Public Key Infrastructure Certificate Management
[all …]
Dfingerprints.txt15 Key fingerprint = C4CA B749 C34F 7F4C C04F DAC9 A7AF 9E78 F709 453B
21 Key fingerprint = D0 5D 8C 61 6E 27 E6 60 41 EC B1 B8 D5 7E E5 97
25 Key fingerprint = 7B 79 19 FA 71 6B 87 25 0E 77 21 E5 52 D9 83 BF
31 Key fingerprint = 00 C9 21 8E D1 AB 70 37 DD 67 A2 3A 0A 6F 8D A5
35 Key fingerprint = 13 D0 B8 9D 37 30 C3 ED AC 9C 24 7D 45 8C 17 67
40 Key fingerprint = 7656 55DE 62E3 96FF 2587 EB6C 4F6D E156 2118 CF83
47 Key fingerprint = C7 AC 7E AD 56 6A 65 EC F6 16 66 83 7E 86 68 28
/mirbsd/src/gnu/usr.bin/perl/lib/DBM_Filter/t/
D02core.t188 #diag "Test Set: Key and Value Filter, no stacking, no closure";
218 #diag "Test Set: Key Only Filter, no stacking, no closure";
278 #diag "Test Set: Key and Value Filter, with stacking, no closure";
311 #diag "Test Set: Key Filter != Value Filter, with stacking, no closure";
350 #diag "Test Set: Key only Filter, with stacking, no closure";
416 #diag "Test Set: Combination Key/Value + Key Filter != Value Filter, with stacking, no closure";
452 #diag "Test Set: Combination Key/Value + Key + Key/Value, no closure";
488 #diag "Test Set: Combination Key/Value + Key + Key/Value, with closure";
524 #diag "Test Set: Combination Key/Value + Key + Key/Value, immediate";
569 #diag "Test Set: Combination Key/Value + Key + Key/Value, immediate, closure";

1234