Home
last modified time | relevance | path

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

123

/titanic_41/usr/src/cmd/ssh/include/
H A Dkey.h40 typedef struct Key Key; typedef
60 struct Key { struct
67 Key *key_new(int); argument
68 Key *key_new_private(int);
69 void key_free(Key *);
70 Key *key_demote(Key *);
71 int key_equal(const Key *, const Key *);
72 char *key_fingerprint(Key *, enum fp_type, enum fp_rep);
73 char *key_type(Key *);
74 int key_write(const Key *, FILE *);
[all …]
H A Dauth.h218 int auth_rhosts_rsa(struct passwd *, char *, Key *);
221 int auth_rsa_challenge_dialog(Key *);
222 BIGNUM *auth_rsa_generate_challenge(Key *);
223 int auth_rsa_verify_response(Key *, BIGNUM *, u_char[]);
224 int auth_rsa_key_allowed(struct passwd *, BIGNUM *, Key **);
226 int auth_rhosts_rsa_key_allowed(struct passwd *, char *, char *, Key *);
227 int hostbased_key_allowed(struct passwd *, const char *, char *, Key *);
228 int user_key_allowed(struct passwd *, Key *);
299 check_key_in_hostfiles(struct passwd *, Key *, const char *,
304 Key *get_hostkey_by_index(int);
[all …]
H A Dauthfile.h25 int key_save_private(Key *, const char *, const char *, const char *);
26 Key *key_load_public(const char *, char **);
27 Key *key_load_public_type(int, const char *, char **);
28 Key *key_load_private(const char *, const char *, char **);
29 Key *key_load_private_type(int, const char *, const char *, char **);
30 Key *key_load_private_pem(int, int, const char *, char **);
H A Dauthfd.h82 Key *ssh_get_first_identity(AuthenticationConnection *, char **, int);
83 Key *ssh_get_next_identity(AuthenticationConnection *, char **, int);
84 int ssh_add_identity(AuthenticationConnection *, Key *, const char *);
85 int ssh_add_identity_constrained(AuthenticationConnection *, Key *, const char *, u_int);
86 int ssh_remove_identity(AuthenticationConnection *, Key *);
92 ssh_decrypt_challenge(AuthenticationConnection *, Key *, BIGNUM *, u_char[16],
96 ssh_agent_sign(AuthenticationConnection *, Key *, u_char **, u_int *, u_char *,
H A Dhostfile.h28 int hostfile_read_key(char **, u_int *, Key *);
30 check_host_in_hostfile(const char *, const char *, const Key *, Key *, int *);
31 int add_host_to_hostfile(const char *, const char *, const Key *, int);
33 lookup_key_in_hostfile_by_type(const char *, const char *, int , Key *, int *);
H A Dsshconnect.h40 Key **keys;
52 int verify_host_key(char *, struct sockaddr *, Key *);
53 int accept_host_key(char *, struct sockaddr *, Key *);
H A Dkex.h152 int (*verify_host_key)(Key *);
153 int (*accept_host_key)(Key *); /* for GSS keyex */
154 Key *(*load_host_key)(int);
155 int (*host_key_index)(Key *);
H A Dssh-dss.h37 int ssh_dss_sign(Key *, u_char **, u_int *, u_char *, u_int);
38 int ssh_dss_verify(Key *, u_char *, u_int, u_char *, u_int);
H A Dssh-rsa.h37 int ssh_rsa_sign(Key *, u_char **, u_int *, u_char *, u_int);
38 int ssh_rsa_verify(Key *, u_char *, u_int, u_char *, u_int);
/titanic_41/usr/src/cmd/ssh/libssh/common/
H A Dkey.c51 Key *
54 Key *k; in key_new()
95 Key *
98 Key *k = key_new(type); in key_new_private()
128 key_free(Key *k) in key_free()
151 key_equal(const Key *a, const Key *b) in key_equal()
177 key_fingerprint_raw(Key *k, enum fp_type dgst_type, u_int *dgst_raw_length) in key_fingerprint_raw()
297 key_fingerprint(Key *k, enum fp_type dgst_type, enum fp_rep dgst_rep) in key_fingerprint()
382 key_read(Key *ret, char **cpp) in key_read()
384 Key *k; in key_read()
[all …]
H A Dauthfile.c69 key_save_private_rsa1(Key *key, const char *filename, const char *passphrase, in key_save_private_rsa1()
166 key_save_private_pem(Key *key, const char *filename, const char *_passphrase, in key_save_private_pem()
206 key_save_private(Key *key, const char *filename, const char *passphrase, in key_save_private()
232 static Key *
236 Key *pub; in key_load_public_rsa1()
288 Key *
291 Key *pub; in key_load_public_type()
312 static Key *
322 Key *prv = NULL; in key_load_private_rsa1()
426 Key *
[all …]
H A Dhostfile.c154 hostfile_read_key(char **cpp, u_int *bitsp, Key *ret) in hostfile_read_key()
176 hostfile_check_key(int bits, const Key *key, const char *host, const char *filename, int linenum) in hostfile_check_key()
202 const char *host, const Key *key, int keytype, Key *found, int *numret) in check_host_in_hostfile_by_key_or_type()
304 check_host_in_hostfile(const char *filename, const char *host, const Key *key, in check_host_in_hostfile()
305 Key *found, int *numret) in check_host_in_hostfile()
315 int keytype, Key *found, int *numret) in lookup_key_in_hostfile_by_type()
327 add_host_to_hostfile(const char *filename, const char *host, const Key *key, in add_host_to_hostfile()
H A Dauthfd.c302 Key *
311 Key *
317 Key *key = NULL; in ssh_get_next_identity()
363 Key* key, BIGNUM *challenge, in ssh_decrypt_challenge()
414 Key *key, in ssh_agent_sign()
471 ssh_encode_identity_ssh2(Buffer *b, Key *key, const char *comment) in ssh_encode_identity_ssh2()
500 ssh_add_identity_constrained(AuthenticationConnection *auth, Key *key, in ssh_add_identity_constrained()
545 ssh_add_identity(AuthenticationConnection *auth, Key *key, const char *comment) in ssh_add_identity()
556 ssh_remove_identity(AuthenticationConnection *auth, Key *key) in ssh_remove_identity()
/titanic_41/usr/src/pkg/manifests/
H A Dservice-key-management-sun-fire-15000.mf33 set name=pkg.description value="Key Management Modules for Sun Fire 15000"
34 set name=pkg.summary value="Key Management Modules for Sun Fire 15000"
62 desc="Key Management Modules for Sun Fire 15000" \
63 name="Key Management Modules for Sun Fire 15000"
64 legacy pkg=SUNWsckmr desc="SMF service for the Key Management daemon" \
65 name="SMF service for the Key Management daemon"
67 desc="Key Management daemon for exchanging security keys from the Service Processor" \
68 name="Key Management daemon"
/titanic_41/usr/src/cmd/ssh/sshd/
H A Dauth-rsa.c59 auth_rsa_generate_challenge(Key *key) in auth_rsa_generate_challenge()
77 auth_rsa_verify_response(Key *key, BIGNUM *challenge, u_char response[16]) in auth_rsa_verify_response()
117 auth_rsa_challenge_dialog(Key *key) in auth_rsa_challenge_dialog()
155 auth_rsa_key_allowed(struct passwd *pw, BIGNUM *client_n, Key **rkey) in auth_rsa_key_allowed()
163 Key *key; in auth_rsa_key_allowed()
290 Key *key; in auth_rsa()
H A Dauth2-pubkey.c61 Key *key = NULL; in userauth_pubkey()
105 Key *prev_key; in userauth_pubkey()
221 user_key_allowed2(struct passwd *pw, Key *key, char *file) in user_key_allowed2()
228 Key *found; in user_key_allowed2()
314 user_key_allowed(struct passwd *pw, Key *key) in user_key_allowed()
345 key_free((Key *) method->method_data); in userauth_pubkey_abandon()
H A Dauth-rh-rsa.c35 Key *client_host_key) in auth_rhosts_rsa_key_allowed()
55 auth_rhosts_rsa(struct passwd *pw, char *cuser, Key *client_host_key) in auth_rhosts_rsa()
/titanic_41/usr/src/lib/libast/common/sfio/
H A Dsftmp.c241 static ulong Key, A; local
245 if(Key == 0)
246 Key = (A >> 16) | ((A&0xffff)<<16);
247 A ^= Key;
252 Key = A*Key + 987654321;
254 Tmpcur[0], (Key>>15)&0x7fff, Key&0x7fff);
/titanic_41/usr/src/lib/libsmbfs/smb/
H A Dcrypt.c58 const uchar_t *Key, int KeyLen, in smb_encrypt_DES() argument
104 smb_initlmkey(des_key, &Key[k * 7]); in smb_encrypt_DES()
168 const uchar_t *Key, int KeyLen, in smb_encrypt_RC4() argument
192 Key, KeyLen, &hKey); in smb_encrypt_RC4()
H A Dsmb_crypt.h53 const uchar_t *Key, int KeyLen,
58 const uchar_t *Key, int KeyLen,
/titanic_41/usr/src/lib/libsqlite/tool/
H A Dreport1.txt11 Key Size: 11045299
12 Avg Key Size: 12
13 Max Key Size: 99
/titanic_41/usr/src/cmd/ssh/ssh-keygen/
H A Dssh-keygen.c131 static Key *
135 Key *prv; in load_identity()
159 Key *k; in do_convert_to_ssh2()
206 static Key *
210 Key *key = NULL; in do_convert_private_ssh2_from_blob()
332 Key *k; in do_convert_from_ssh2()
411 Key *prv; in do_print_public()
436 Key *public; in do_fingerprint()
532 print_host(FILE *f, const char *name, Key *public, int hash) in print_host()
546 Key *public; in do_known_hosts()
[all …]
/titanic_41/usr/src/lib/smbsrv/libsmb/common/
H A Dsmb_crypt.c134 unsigned char *Key, int KeyLen, in smb_auth_DES() argument
180 smb_initlmkey(&Key[k * 7], des_key); in smb_auth_DES()
246 uchar_t *Key, int KeyLen, in smb_auth_RC4() argument
270 Key, KeyLen, &hKey); in smb_auth_RC4()
/titanic_41/usr/src/cmd/ssh/ssh/
H A Dsshconnect2.c80 verify_host_key_callback(Key *hostkey) in verify_host_key_callback()
88 accept_host_key_callback(Key *hostkey) in accept_host_key_callback()
204 Authctxt *authctxt, Key *key,
216 Key *last_key;
262 static int sign_and_send_pubkey(Authctxt *, Key *, sign_cb_fn *);
472 Key *key = NULL; in input_userauth_pk_ok()
1051 sign_and_send_pubkey(Authctxt *authctxt, Key *k, sign_cb_fn *sign_callback) in sign_and_send_pubkey()
1136 send_pubkey_test(Authctxt *authctxt, Key *k, sign_cb_fn *sign_callback, in send_pubkey_test()
1168 static Key *
1171 Key *private; in load_identity_file()
[all …]
/titanic_41/usr/src/cmd/ssh/ssh-keysign/
H A Dssh-keysign.c64 valid_request(struct passwd *pw, char *host, Key **ret, u_char *data, in valid_request()
68 Key *key; in valid_request()
154 Key *keys[2], *key; in main()

123