authfd.h (181110) | authfd.h (204917) |
---|---|
1/* $OpenBSD: authfd.h,v 1.36 2006/08/03 03:34:41 deraadt Exp $ */ | 1/* $OpenBSD: authfd.h,v 1.37 2009/08/27 17:44:52 djm Exp $ */ |
2 3/* 4 * Author: Tatu Ylonen <ylo@cs.hut.fi> 5 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 6 * All rights reserved 7 * Functions to interface with the SSH_AUTHENTICATION_FD socket. 8 * 9 * As far as I am concerned, the code I have written for this software --- 60 unchanged lines hidden (view full) --- 70int ssh_get_authentication_socket(void); 71void ssh_close_authentication_socket(int); 72 73AuthenticationConnection *ssh_get_authentication_connection(void); 74void ssh_close_authentication_connection(AuthenticationConnection *); 75int ssh_get_num_identities(AuthenticationConnection *, int); 76Key *ssh_get_first_identity(AuthenticationConnection *, char **, int); 77Key *ssh_get_next_identity(AuthenticationConnection *, char **, int); | 2 3/* 4 * Author: Tatu Ylonen <ylo@cs.hut.fi> 5 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 6 * All rights reserved 7 * Functions to interface with the SSH_AUTHENTICATION_FD socket. 8 * 9 * As far as I am concerned, the code I have written for this software --- 60 unchanged lines hidden (view full) --- 70int ssh_get_authentication_socket(void); 71void ssh_close_authentication_socket(int); 72 73AuthenticationConnection *ssh_get_authentication_connection(void); 74void ssh_close_authentication_connection(AuthenticationConnection *); 75int ssh_get_num_identities(AuthenticationConnection *, int); 76Key *ssh_get_first_identity(AuthenticationConnection *, char **, int); 77Key *ssh_get_next_identity(AuthenticationConnection *, char **, int); |
78int ssh_add_identity(AuthenticationConnection *, Key *, const char *); | |
79int ssh_add_identity_constrained(AuthenticationConnection *, Key *, 80 const char *, u_int, u_int); 81int ssh_remove_identity(AuthenticationConnection *, Key *); 82int ssh_remove_all_identities(AuthenticationConnection *, int); 83int ssh_lock_agent(AuthenticationConnection *, int, const char *); 84int ssh_update_card(AuthenticationConnection *, int, const char *, 85 const char *, u_int, u_int); 86 87int 88ssh_decrypt_challenge(AuthenticationConnection *, Key *, BIGNUM *, u_char[16], 89 u_int, u_char[16]); 90 91int 92ssh_agent_sign(AuthenticationConnection *, Key *, u_char **, u_int *, u_char *, 93 u_int); 94 95#endif /* AUTHFD_H */ | 78int ssh_add_identity_constrained(AuthenticationConnection *, Key *, 79 const char *, u_int, u_int); 80int ssh_remove_identity(AuthenticationConnection *, Key *); 81int ssh_remove_all_identities(AuthenticationConnection *, int); 82int ssh_lock_agent(AuthenticationConnection *, int, const char *); 83int ssh_update_card(AuthenticationConnection *, int, const char *, 84 const char *, u_int, u_int); 85 86int 87ssh_decrypt_challenge(AuthenticationConnection *, Key *, BIGNUM *, u_char[16], 88 u_int, u_char[16]); 89 90int 91ssh_agent_sign(AuthenticationConnection *, Key *, u_char **, u_int *, u_char *, 92 u_int); 93 94#endif /* AUTHFD_H */ |