From 03f4e2b3dc9c96eaf0f5f039f2af5fd84c1a897e Mon Sep 17 00:00:00 2001 From: philsmd Date: Wed, 5 Jul 2017 12:16:37 +0200 Subject: [PATCH] minor typo fixed in comment for the new update() functions --- OpenCL/inc_hash_md4.cl | 4 ++-- OpenCL/inc_hash_md5.cl | 4 ++-- OpenCL/inc_hash_ripemd160.cl | 4 ++-- OpenCL/inc_hash_sha1.cl | 4 ++-- OpenCL/inc_hash_sha256.cl | 4 ++-- OpenCL/inc_hash_sha512.cl | 4 ++-- OpenCL/inc_hash_whirlpool.cl | 4 ++-- 7 files changed, 14 insertions(+), 14 deletions(-) diff --git a/OpenCL/inc_hash_md4.cl b/OpenCL/inc_hash_md4.cl index af0a14052..8f40860b7 100644 --- a/OpenCL/inc_hash_md4.cl +++ b/OpenCL/inc_hash_md4.cl @@ -1,8 +1,8 @@ // important notes on this: // input buf unused bytes needs to be set to zero -// input buf need to be in algorithm native byte order (md5 = LE, sha1 = BE, etc) -// input buf need to be 64 byte aligned when usin md5_update() +// input buf needs to be in algorithm native byte order (md5 = LE, sha1 = BE, etc) +// input buf needs to be 64 byte aligned when using md5_update() typedef struct md4_ctx { diff --git a/OpenCL/inc_hash_md5.cl b/OpenCL/inc_hash_md5.cl index c219479ce..0a9080ede 100644 --- a/OpenCL/inc_hash_md5.cl +++ b/OpenCL/inc_hash_md5.cl @@ -1,8 +1,8 @@ // important notes on this: // input buf unused bytes needs to be set to zero -// input buf need to be in algorithm native byte order (md5 = LE, sha1 = BE, etc) -// input buf need to be 64 byte aligned when usin md5_update() +// input buf needs to be in algorithm native byte order (md5 = LE, sha1 = BE, etc) +// input buf needs to be 64 byte aligned when using md5_update() typedef struct md5_ctx { diff --git a/OpenCL/inc_hash_ripemd160.cl b/OpenCL/inc_hash_ripemd160.cl index 988e6e6cf..a121fb717 100644 --- a/OpenCL/inc_hash_ripemd160.cl +++ b/OpenCL/inc_hash_ripemd160.cl @@ -1,8 +1,8 @@ // important notes on this: // input buf unused bytes needs to be set to zero -// input buf need to be in algorithm native byte order (ripemd160 = LE, sha1 = BE, etc) -// input buf need to be 64 byte aligned when usin ripemd160_update() +// input buf needs to be in algorithm native byte order (ripemd160 = LE, sha1 = BE, etc) +// input buf needs to be 64 byte aligned when using ripemd160_update() typedef struct ripemd160_ctx { diff --git a/OpenCL/inc_hash_sha1.cl b/OpenCL/inc_hash_sha1.cl index 3730b2d3d..786554bf1 100644 --- a/OpenCL/inc_hash_sha1.cl +++ b/OpenCL/inc_hash_sha1.cl @@ -1,8 +1,8 @@ // important notes on this: // input buf unused bytes needs to be set to zero -// input buf need to be in algorithm native byte order (md5 = LE, sha1 = BE, etc) -// input buf need to be 64 byte aligned when usin md5_update() +// input buf needs to be in algorithm native byte order (md5 = LE, sha1 = BE, etc) +// input buf needs to be 64 byte aligned when using md5_update() typedef struct sha1_ctx { diff --git a/OpenCL/inc_hash_sha256.cl b/OpenCL/inc_hash_sha256.cl index dc16eee94..a5f60a5b3 100644 --- a/OpenCL/inc_hash_sha256.cl +++ b/OpenCL/inc_hash_sha256.cl @@ -1,8 +1,8 @@ // important notes on this: // input buf unused bytes needs to be set to zero -// input buf need to be in algorithm native byte order (md5 = LE, sha256 = BE, etc) -// input buf need to be 64 byte aligned when usin md5_update() +// input buf needs to be in algorithm native byte order (md5 = LE, sha256 = BE, etc) +// input buf needs to be 64 byte aligned when using md5_update() __constant u32a k_sha256[64] = { diff --git a/OpenCL/inc_hash_sha512.cl b/OpenCL/inc_hash_sha512.cl index feceaf898..d847ac65f 100644 --- a/OpenCL/inc_hash_sha512.cl +++ b/OpenCL/inc_hash_sha512.cl @@ -1,8 +1,8 @@ // important notes on this: // input buf unused bytes needs to be set to zero -// input buf need to be in algorithm native byte order (md5 = LE, sha1 = BE, etc) -// input buf need to be 128 byte aligned when usin sha512_update() +// input buf needs to be in algorithm native byte order (md5 = LE, sha1 = BE, etc) +// input buf needs to be 128 byte aligned when using sha512_update() __constant u64a k_sha512[80] = { diff --git a/OpenCL/inc_hash_whirlpool.cl b/OpenCL/inc_hash_whirlpool.cl index d777c21fd..e2c57e0de 100644 --- a/OpenCL/inc_hash_whirlpool.cl +++ b/OpenCL/inc_hash_whirlpool.cl @@ -1,8 +1,8 @@ // important notes on this: // input buf unused bytes needs to be set to zero -// input buf need to be in algorithm native byte order (md5 = LE, sha256 = BE, etc) -// input buf need to be 64 byte aligned when usin md5_update() +// input buf needs to be in algorithm native byte order (md5 = LE, sha256 = BE, etc) +// input buf needs to be 64 byte aligned when using md5_update() #define R 10