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

Diff for /src/usr.bin/ssh/sshkey.h between version 1.57 and 1.58

version 1.57, 2022/10/28 00:41:17 version 1.58, 2022/10/28 00:41:52
Line 164 
Line 164 
         void (*cleanup)(struct sshkey *);       /* optional */          void (*cleanup)(struct sshkey *);       /* optional */
         int (*equal)(const struct sshkey *, const struct sshkey *);          int (*equal)(const struct sshkey *, const struct sshkey *);
         int (*serialize_public)(const struct sshkey *, struct sshbuf *,          int (*serialize_public)(const struct sshkey *, struct sshbuf *,
             const char *, enum sshkey_serialize_rep);              enum sshkey_serialize_rep);
           int (*deserialize_public)(const char *, struct sshbuf *,
               struct sshkey *);
         int (*generate)(struct sshkey *, int);  /* optional */          int (*generate)(struct sshkey *, int);  /* optional */
         int (*copy_public)(const struct sshkey *, struct sshkey *);          int (*copy_public)(const struct sshkey *, struct sshkey *);
 };  };
Line 309 
Line 311 
 void    sshkey_sk_cleanup(struct sshkey *k);  void    sshkey_sk_cleanup(struct sshkey *k);
 int     sshkey_serialize_sk(const struct sshkey *key, struct sshbuf *b);  int     sshkey_serialize_sk(const struct sshkey *key, struct sshbuf *b);
 int     sshkey_copy_public_sk(const struct sshkey *from, struct sshkey *to);  int     sshkey_copy_public_sk(const struct sshkey *from, struct sshkey *to);
   int     sshkey_deserialize_sk(struct sshbuf *b, struct sshkey *key);
   #ifdef WITH_OPENSSL
   int     check_rsa_length(const RSA *rsa); /* XXX remove */
   #endif
   
 int ssh_rsa_sign(const struct sshkey *key,  int ssh_rsa_sign(const struct sshkey *key,
     u_char **sigp, size_t *lenp, const u_char *data, size_t datalen,      u_char **sigp, size_t *lenp, const u_char *data, size_t datalen,

Legend:
Removed from v.1.57  
changed lines
  Added in v.1.58