rijndael.h in openssh-2.9p1

J.S.Peatfield at damtp.cam.ac.uk J.S.Peatfield at damtp.cam.ac.uk
Thu May 10 01:34:26 EST 2001


In openssh-2.9p1 th rijndael.h declaration of rijndael_set_key is not
the same as that in rijndael.c.  Some compilers object (e.g. irix5 cc).
Here is a patch if anyone cares...

--cut-here--
*** rijndael.h.orig     Wed May  9 16:17:04 2001
--- rijndael.h  Wed May  9 16:17:06 2001
***************
*** 42,48 ****
  /* These are all based on 32 bit unsigned values and will therefore */
  /* require endian conversions for big-endian architectures          */
  
! rijndael_ctx *rijndael_set_key  __P((rijndael_ctx *, const u4byte *, u4byte, int));
  void rijndael_encrypt __P((rijndael_ctx *, const u4byte *, u4byte *));
  void rijndael_decrypt __P((rijndael_ctx *, const u4byte *, u4byte *));
  
--- 42,48 ----
  /* These are all based on 32 bit unsigned values and will therefore */
  /* require endian conversions for big-endian architectures          */
  
! rijndael_ctx *rijndael_set_key  __P((rijndael_ctx *, const u4byte *, const u4byte, int));
  void rijndael_encrypt __P((rijndael_ctx *, const u4byte *, u4byte *));
  void rijndael_decrypt __P((rijndael_ctx *, const u4byte *, u4byte *));
  
--cut-here--



More information about the openssh-unix-dev mailing list