[BACK]Return to ssh-ed25519-sk.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / ssh

Diff for /src/usr.bin/ssh/ssh-ed25519-sk.c between version 1.8 and 1.9

version 1.8, 2022/10/28 00:36:31 version 1.9, 2022/10/28 00:37:24
Line 53 
Line 53 
         return 1;          return 1;
 }  }
   
   static int
   ssh_ed25519_sk_serialize_public(const struct sshkey *key, struct sshbuf *b,
       const char *typename, enum sshkey_serialize_rep opts)
   {
           int r;
   
           if ((r = sshkey_ed25519_funcs.serialize_public(key, b,
               typename, opts)) != 0)
                   return r;
           if ((r = sshkey_serialize_sk(key, b)) != 0)
                   return r;
   
           return 0;
   }
   
 int  int
 ssh_ed25519_sk_verify(const struct sshkey *key,  ssh_ed25519_sk_verify(const struct sshkey *key,
     const u_char *signature, size_t signaturelen,      const u_char *signature, size_t signaturelen,
Line 185 
Line 200 
         /* .alloc = */          NULL,          /* .alloc = */          NULL,
         /* .cleanup = */        ssh_ed25519_sk_cleanup,          /* .cleanup = */        ssh_ed25519_sk_cleanup,
         /* .equal = */          ssh_ed25519_sk_equal,          /* .equal = */          ssh_ed25519_sk_equal,
           /* .ssh_serialize_public = */ ssh_ed25519_sk_serialize_public,
 };  };
   
 const struct sshkey_impl sshkey_ed25519_sk_impl = {  const struct sshkey_impl sshkey_ed25519_sk_impl = {

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9