[BACK]Return to authfd.h CVS log [TXT][DIR] Up to [local] / src / usr.bin / ssh

Diff for /src/usr.bin/ssh/authfd.h between version 1.1 and 1.2

version 1.1, 1999/09/26 20:53:33 version 1.2, 1999/09/28 04:45:35
Line 69 
Line 69 
    The caller must initialize the integers before the call, and free the     The caller must initialize the integers before the call, and free the
    comment after a successful call (before calling ssh_get_next_identity). */     comment after a successful call (before calling ssh_get_next_identity). */
 int ssh_get_first_identity(AuthenticationConnection *connection,  int ssh_get_first_identity(AuthenticationConnection *connection,
                            int *bitsp, MP_INT *e, MP_INT *n, char **comment);                             int *bitsp, BIGNUM *e, BIGNUM *n, char **comment);
   
 /* Returns the next authentication identity for the agent.  Other functions  /* Returns the next authentication identity for the agent.  Other functions
    can be called between this and ssh_get_first_identity or two calls of this     can be called between this and ssh_get_first_identity or two calls of this
    function.  This returns 0 if there are no more identities.  The caller     function.  This returns 0 if there are no more identities.  The caller
    must free comment after a successful return. */     must free comment after a successful return. */
 int ssh_get_next_identity(AuthenticationConnection *connection,  int ssh_get_next_identity(AuthenticationConnection *connection,
                           int *bitsp, MP_INT *e, MP_INT *n, char **comment);                            int *bitsp, BIGNUM *e, BIGNUM *n, char **comment);
   
 /* Requests the agent to decrypt the given challenge.  Returns true if  /* Requests the agent to decrypt the given challenge.  Returns true if
    the agent claims it was able to decrypt it. */     the agent claims it was able to decrypt it. */
 int ssh_decrypt_challenge(AuthenticationConnection *auth,  int ssh_decrypt_challenge(AuthenticationConnection *auth,
                           int bits, MP_INT *e, MP_INT *n, MP_INT *challenge,                            int bits, BIGNUM *e, BIGNUM *n, BIGNUM *challenge,
                           unsigned char session_id[16],                            unsigned char session_id[16],
                           unsigned int response_type,                            unsigned int response_type,
                           unsigned char response[16]);                            unsigned char response[16]);
Line 90 
Line 90 
    be used by normal applications.  This returns true if the identity     be used by normal applications.  This returns true if the identity
    was successfully added. */     was successfully added. */
 int ssh_add_identity(AuthenticationConnection *connection,  int ssh_add_identity(AuthenticationConnection *connection,
                      RSAPrivateKey *key, const char *comment);                       RSA *key, const char *comment);
   
 /* Removes the identity from the authentication server.  This call is  /* Removes the identity from the authentication server.  This call is
    not meant to be used by normal applications.  This returns true if the     not meant to be used by normal applications.  This returns true if the
    identity was successfully added. */     identity was successfully added. */
 int ssh_remove_identity(AuthenticationConnection *connection,  int ssh_remove_identity(AuthenticationConnection *connection,
                         RSAPublicKey *key);                          RSA *key);
   
 /* Removes all identities from the authentication agent.  This call is not  /* Removes all identities from the authentication agent.  This call is not
    meant to be used by normal applications.  This returns true if the     meant to be used by normal applications.  This returns true if the

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2