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

Diff for /src/usr.bin/ssh/sntrup761.c between version 1.1 and 1.2

version 1.1, 2020/12/29 00:59:15 version 1.2, 2020/12/30 14:13:28
Line 10 
Line 10 
   
 #include <string.h>  #include <string.h>
 #include "crypto_api.h"  #include "crypto_api.h"
   #include "int32_minmax.inc"
   
 #define CRYPTO_NAMESPACE(s) s  #define CRYPTO_NAMESPACE(s) s
   
 /* from supercop-20201130/crypto_sort/int32/portable4/int32_minmax.inc */  
 #define int32_MINMAX(a,b) \  
 do { \  
   int32 ab = b ^ a; \  
   int32 c = b - a; \  
   c ^= ab & (c ^ b); \  
   c >>= 31; \  
   c &= ab; \  
   a ^= c; \  
   b ^= c; \  
 } while(0)  
   
 /* from supercop-20201130/crypto_sort/int32/portable4/sort.c */  /* from supercop-20201130/crypto_sort/int32/portable4/sort.c */
 #define int32 crypto_int32  #define int32 crypto_int32

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2