version 1.9, 2017/10/07 19:39:19 |
version 1.9.2.2, 2018/09/06 06:51:33 |
|
|
/* $NetBSD$ */ |
/* $NetBSD$ */ |
/* $OpenBSD: authfd.h,v 1.41 2017/06/28 01:09:22 djm Exp $ */ |
/* $OpenBSD: authfd.h,v 1.44 2018/07/12 04:35:25 djm Exp $ */ |
|
|
/* |
/* |
* Author: Tatu Ylonen <ylo@cs.hut.fi> |
* Author: Tatu Ylonen <ylo@cs.hut.fi> |
Line 30 void ssh_close_authentication_socket(int |
|
Line 30 void ssh_close_authentication_socket(int |
|
int ssh_lock_agent(int sock, int lock, const char *password); |
int ssh_lock_agent(int sock, int lock, const char *password); |
int ssh_fetch_identitylist(int sock, struct ssh_identitylist **idlp); |
int ssh_fetch_identitylist(int sock, struct ssh_identitylist **idlp); |
void ssh_free_identitylist(struct ssh_identitylist *idl); |
void ssh_free_identitylist(struct ssh_identitylist *idl); |
int ssh_add_identity_constrained(int sock, struct sshkey *key, |
int ssh_add_identity_constrained(int sock, const struct sshkey *key, |
const char *comment, u_int life, u_int confirm); |
const char *comment, u_int life, u_int confirm, u_int maxsign); |
int ssh_remove_identity(int sock, struct sshkey *key); |
int ssh_remove_identity(int sock, struct sshkey *key); |
int ssh_update_card(int sock, int add, const char *reader_id, |
int ssh_update_card(int sock, int add, const char *reader_id, |
const char *pin, u_int life, u_int confirm); |
const char *pin, u_int life, u_int confirm); |
int ssh_remove_all_identities(int sock, int version); |
int ssh_remove_all_identities(int sock, int version); |
|
|
int ssh_decrypt_challenge(int sock, struct sshkey* key, BIGNUM *challenge, |
|
u_char session_id[16], u_char response[16]); |
|
int ssh_agent_sign(int sock, const struct sshkey *key, |
int ssh_agent_sign(int sock, const struct sshkey *key, |
u_char **sigp, size_t *lenp, |
u_char **sigp, size_t *lenp, |
const u_char *data, size_t datalen, const char *alg, u_int compat); |
const u_char *data, size_t datalen, const char *alg, u_int compat); |
Line 78 int ssh_agent_sign(int sock, const struc |
|
Line 76 int ssh_agent_sign(int sock, const struc |
|
|
|
#define SSH_AGENT_CONSTRAIN_LIFETIME 1 |
#define SSH_AGENT_CONSTRAIN_LIFETIME 1 |
#define SSH_AGENT_CONSTRAIN_CONFIRM 2 |
#define SSH_AGENT_CONSTRAIN_CONFIRM 2 |
|
#define SSH_AGENT_CONSTRAIN_MAXSIGN 3 |
|
|
/* extended failure messages */ |
/* extended failure messages */ |
#define SSH2_AGENT_FAILURE 30 |
#define SSH2_AGENT_FAILURE 30 |