sha256.c: remove unneeded macro.
--HG-- extra : convert_revision : d00be17201375e7562fb43b28e1c7b9da3b049b2
This commit is contained in:
parent
aee08a7f8f
commit
e53bb1c885
12
lib/sha256.c
12
lib/sha256.c
@ -66,18 +66,6 @@
|
|||||||
}
|
}
|
||||||
#endif /* WORDS_BIGENDIAN */
|
#endif /* WORDS_BIGENDIAN */
|
||||||
|
|
||||||
/*
|
|
||||||
* Macro for incrementally adding the unsigned 64-bit integer n to the
|
|
||||||
* unsigned 128-bit integer (represented using a two-element array of
|
|
||||||
* 64-bit words):
|
|
||||||
*/
|
|
||||||
#define ADDINC128(w,n) { \
|
|
||||||
(w)[0] += (sha2_word64)(n); \
|
|
||||||
if ((w)[0] < (n)) { \
|
|
||||||
(w)[1]++; \
|
|
||||||
} \
|
|
||||||
}
|
|
||||||
|
|
||||||
/*** THE SIX LOGICAL FUNCTIONS ****************************************/
|
/*** THE SIX LOGICAL FUNCTIONS ****************************************/
|
||||||
/*
|
/*
|
||||||
* Bit shifting and rotation (used by the six SHA-XYZ logical functions:
|
* Bit shifting and rotation (used by the six SHA-XYZ logical functions:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user