diff options
| -rw-r--r-- | sys/src/libsec/port/sha2block128.c | 4 | ||||
| -rw-r--r-- | sys/src/libsec/port/sha2block64.c | 3 |
2 files changed, 3 insertions, 4 deletions
diff --git a/sys/src/libsec/port/sha2block128.c b/sys/src/libsec/port/sha2block128.c index 6bf662a41..728afa8cd 100644 --- a/sys/src/libsec/port/sha2block128.c +++ b/sys/src/libsec/port/sha2block128.c @@ -4,8 +4,8 @@ * note: the following upper and lower case macro names are distinct * and reflect the functions defined in FIPS pub. 180-2. */ -#include <u.h> -#include <libc.h> + +#include "os.h" #define ROTR(x,n) (((x) >> (n)) | ((x) << (64-(n)))) #define sigma0(x) (ROTR((x),1) ^ ROTR((x),8) ^ ((x) >> 7)) diff --git a/sys/src/libsec/port/sha2block64.c b/sys/src/libsec/port/sha2block64.c index 144ce5f26..aec7820ef 100644 --- a/sys/src/libsec/port/sha2block64.c +++ b/sys/src/libsec/port/sha2block64.c @@ -5,8 +5,7 @@ * and reflect the functions defined in FIPS pub. 180-2. */ -#include <u.h> -#include <libc.h> +#include "os.h" #define ROTR(x,n) (((x) >> (n)) | ((x) << (32-(n)))) #define sigma0(x) (ROTR((x),7) ^ ROTR((x),18) ^ ((x) >> 3)) |
