[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.59 and 1.60

version 1.59, 2022/10/28 00:43:08 version 1.60, 2022/10/28 00:44:17
Line 167 
Line 167 
             enum sshkey_serialize_rep);              enum sshkey_serialize_rep);
         int (*deserialize_public)(const char *, struct sshbuf *,          int (*deserialize_public)(const char *, struct sshbuf *,
             struct sshkey *);              struct sshkey *);
           int (*serialize_private)(const struct sshkey *, struct sshbuf *,
               enum sshkey_serialize_rep);
         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 *);
         int (*sign)(struct sshkey *, u_char **, size_t *,          int (*sign)(struct sshkey *, u_char **, size_t *,
Line 318 
Line 320 
 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);  int     sshkey_deserialize_sk(struct sshbuf *b, struct sshkey *key);
   int     sshkey_serialize_private_sk(const struct sshkey *key,
       struct sshbuf *buf);
 #ifdef WITH_OPENSSL  #ifdef WITH_OPENSSL
 int     check_rsa_length(const RSA *rsa); /* XXX remove */  int     check_rsa_length(const RSA *rsa); /* XXX remove */
 #endif  #endif

Legend:
Removed from v.1.59  
changed lines
  Added in v.1.60