loudmouth/lm-sha.c
changeset 681 e3370fbe0a25
parent 518 cdd6a0c5b439
equal deleted inserted replaced
680:13923a5a7b89 681:e3370fbe0a25
    73 
    73 
    74 #ifdef __cplusplus
    74 #ifdef __cplusplus
    75 }
    75 }
    76 #endif
    76 #endif
    77 
    77 
    78 #ifndef lint
       
    79 static const char rcsid[] =
       
    80 "$Id$";
       
    81 #endif /* !lint */
       
    82 
       
    83 #define ROTL(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
    78 #define ROTL(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
    84 #define ROTR(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
    79 #define ROTR(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
    85 
    80 
    86 #define F_0_19(x, y, z) ((z) ^ ((x) & ((y) ^ (z))))
    81 #define F_0_19(x, y, z) ((z) ^ ((x) & ((y) ^ (z))))
    87 #define F_20_39(x, y, z) ((x) ^ (y) ^ (z))
    82 #define F_20_39(x, y, z) ((x) ^ (y) ^ (z))