[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.10 and 1.11

version 1.10, 2022/10/28 00:39:29 version 1.11, 2022/10/28 00:41:17
Line 68 
Line 68 
         return 0;          return 0;
 }  }
   
   static int
   ssh_ed25519_sk_copy_public(const struct sshkey *from, struct sshkey *to)
   {
           int r;
   
           if ((r = sshkey_ed25519_funcs.copy_public(from, to)) != 0)
                   return r;
           if ((r = sshkey_copy_public_sk(from, to)) != 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 202 
Line 214 
         /* .equal = */          ssh_ed25519_sk_equal,          /* .equal = */          ssh_ed25519_sk_equal,
         /* .ssh_serialize_public = */ ssh_ed25519_sk_serialize_public,          /* .ssh_serialize_public = */ ssh_ed25519_sk_serialize_public,
         /* .generate = */       NULL,          /* .generate = */       NULL,
           /* .copy_public = */    ssh_ed25519_sk_copy_public,
 };  };
   
 const struct sshkey_impl sshkey_ed25519_sk_impl = {  const struct sshkey_impl sshkey_ed25519_sk_impl = {

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.11