[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.54 and 1.55

version 1.54, 2022/10/28 00:36:31 version 1.55, 2022/10/28 00:37:24
Line 163 
Line 163 
         int (*alloc)(struct sshkey *);          /* optional */          int (*alloc)(struct sshkey *);          /* optional */
         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 *,
               const char *, enum sshkey_serialize_rep);
 };  };
   
 struct sshkey_impl {  struct sshkey_impl {
Line 303 
Line 305 
 #ifdef SSHKEY_INTERNAL  #ifdef SSHKEY_INTERNAL
 int     sshkey_sk_fields_equal(const struct sshkey *a, const struct sshkey *b);  int     sshkey_sk_fields_equal(const struct sshkey *a, const struct sshkey *b);
 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 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.54  
changed lines
  Added in v.1.55