diff --git a/OpenCL/inc_hash_md4.cl b/OpenCL/inc_hash_md4.cl index c5783bf08..ba951ada5 100644 --- a/OpenCL/inc_hash_md4.cl +++ b/OpenCL/inc_hash_md4.cl @@ -1029,6 +1029,20 @@ void md4_hmac_update (md4_hmac_ctx_t *ctx, const u32 *w, const int len) md4_update (&ctx->ipad, w, len); } +void md4_hmac_update_swap (md4_hmac_ctx_t *ctx, const u32 *w, const int len) +{ + md4_update_swap (&ctx->ipad, w, len); +} + +void md4_hmac_update_utf16le (md4_hmac_ctx_t *ctx, const u32 *w, const int len) +{ + md4_update_utf16le (&ctx->ipad, w, len); +} + +void md4_hmac_update_utf16le_swap (md4_hmac_ctx_t *ctx, const u32 *w, const int len) +{ + md4_update_utf16le_swap (&ctx->ipad, w, len); +} void md4_hmac_update_global (md4_hmac_ctx_t *ctx, const __global u32 *w, const int len) { md4_update_global (&ctx->ipad, w, len); diff --git a/OpenCL/inc_hash_md5.cl b/OpenCL/inc_hash_md5.cl index b7bb80d98..664e4100a 100644 --- a/OpenCL/inc_hash_md5.cl +++ b/OpenCL/inc_hash_md5.cl @@ -1063,6 +1063,21 @@ void md5_hmac_update (md5_hmac_ctx_t *ctx, const u32 *w, const int len) md5_update (&ctx->ipad, w, len); } +void md5_hmac_update_swap (md5_hmac_ctx_t *ctx, const u32 *w, const int len) +{ + md5_update_swap (&ctx->ipad, w, len); +} + +void md5_hmac_update_utf16le (md5_hmac_ctx_t *ctx, const u32 *w, const int len) +{ + md5_update_utf16le (&ctx->ipad, w, len); +} + +void md5_hmac_update_utf16le_swap (md5_hmac_ctx_t *ctx, const u32 *w, const int len) +{ + md5_update_utf16le_swap (&ctx->ipad, w, len); +} + void md5_hmac_update_global (md5_hmac_ctx_t *ctx, const __global u32 *w, const int len) { md5_update_global (&ctx->ipad, w, len); diff --git a/OpenCL/inc_hash_ripemd160.cl b/OpenCL/inc_hash_ripemd160.cl index 8e3d738da..f15013d79 100644 --- a/OpenCL/inc_hash_ripemd160.cl +++ b/OpenCL/inc_hash_ripemd160.cl @@ -1163,6 +1163,21 @@ void ripemd160_hmac_update (ripemd160_hmac_ctx_t *ctx, const u32 *w, const int l ripemd160_update (&ctx->ipad, w, len); } +void ripemd160_hmac_update_swap (ripemd160_hmac_ctx_t *ctx, const u32 *w, const int len) +{ + ripemd160_update_swap (&ctx->ipad, w, len); +} + +void ripemd160_hmac_update_utf16le (ripemd160_hmac_ctx_t *ctx, const u32 *w, const int len) +{ + ripemd160_update_utf16le (&ctx->ipad, w, len); +} + +void ripemd160_hmac_update_utf16le_swap (ripemd160_hmac_ctx_t *ctx, const u32 *w, const int len) +{ + ripemd160_update_utf16le_swap (&ctx->ipad, w, len); +} + void ripemd160_hmac_update_global (ripemd160_hmac_ctx_t *ctx, const __global u32 *w, const int len) { ripemd160_update_global (&ctx->ipad, w, len); diff --git a/OpenCL/inc_hash_sha1.cl b/OpenCL/inc_hash_sha1.cl index e385abd52..c1e70fedd 100644 --- a/OpenCL/inc_hash_sha1.cl +++ b/OpenCL/inc_hash_sha1.cl @@ -1100,6 +1100,16 @@ void sha1_hmac_update_swap (sha1_hmac_ctx_t *ctx, const u32 *w, const int len) sha1_update_swap (&ctx->ipad, w, len); } +void sha1_hmac_update_utf16le (sha1_hmac_ctx_t *ctx, const u32 *w, const int len) +{ + sha1_update_utf16le (&ctx->ipad, w, len); +} + +void sha1_hmac_update_utf16le_swap (sha1_hmac_ctx_t *ctx, const u32 *w, const int len) +{ + sha1_update_utf16le_swap (&ctx->ipad, w, len); +} + void sha1_hmac_update_global (sha1_hmac_ctx_t *ctx, const __global u32 *w, const int len) { sha1_update_global (&ctx->ipad, w, len); diff --git a/OpenCL/inc_hash_sha256.cl b/OpenCL/inc_hash_sha256.cl index 089f0c971..8db41e6be 100644 --- a/OpenCL/inc_hash_sha256.cl +++ b/OpenCL/inc_hash_sha256.cl @@ -1085,6 +1085,16 @@ void sha256_hmac_update_swap (sha256_hmac_ctx_t *ctx, const u32 *w, const int le sha256_update_swap (&ctx->ipad, w, len); } +void sha256_hmac_update_utf16le (sha256_hmac_ctx_t *ctx, const u32 *w, const int len) +{ + sha256_update_utf16le (&ctx->ipad, w, len); +} + +void sha256_hmac_update_utf16le_swap (sha256_hmac_ctx_t *ctx, const u32 *w, const int len) +{ + sha256_update_utf16le_swap (&ctx->ipad, w, len); +} + void sha256_hmac_update_global (sha256_hmac_ctx_t *ctx, const __global u32 *w, const int len) { sha256_update_global (&ctx->ipad, w, len); diff --git a/OpenCL/inc_hash_sha384.cl b/OpenCL/inc_hash_sha384.cl index b81eb6703..8e79a3f8f 100644 --- a/OpenCL/inc_hash_sha384.cl +++ b/OpenCL/inc_hash_sha384.cl @@ -1720,6 +1720,21 @@ void sha384_hmac_update (sha384_hmac_ctx_t *ctx, const u32 *w, const int len) sha384_update (&ctx->ipad, w, len); } +void sha384_hmac_update_swap (sha384_hmac_ctx_t *ctx, const u32 *w, const int len) +{ + sha384_update_swap (&ctx->ipad, w, len); +} + +void sha384_hmac_update_utf16le (sha384_hmac_ctx_t *ctx, const u32 *w, const int len) +{ + sha384_update_utf16le (&ctx->ipad, w, len); +} + +void sha384_hmac_update_utf16le_swap (sha384_hmac_ctx_t *ctx, const u32 *w, const int len) +{ + sha384_update_utf16le_swap (&ctx->ipad, w, len); +} + void sha384_hmac_update_global (sha384_hmac_ctx_t *ctx, const __global u32 *w, const int len) { sha384_update_global (&ctx->ipad, w, len); diff --git a/OpenCL/inc_hash_sha512.cl b/OpenCL/inc_hash_sha512.cl index f373a909f..f654a5138 100644 --- a/OpenCL/inc_hash_sha512.cl +++ b/OpenCL/inc_hash_sha512.cl @@ -1720,6 +1720,21 @@ void sha512_hmac_update (sha512_hmac_ctx_t *ctx, const u32 *w, const int len) sha512_update (&ctx->ipad, w, len); } +void sha512_hmac_update_swap (sha512_hmac_ctx_t *ctx, const u32 *w, const int len) +{ + sha512_update_swap (&ctx->ipad, w, len); +} + +void sha512_hmac_update_utf16le (sha512_hmac_ctx_t *ctx, const u32 *w, const int len) +{ + sha512_update_utf16le (&ctx->ipad, w, len); +} + +void sha512_hmac_update_utf16le_swap (sha512_hmac_ctx_t *ctx, const u32 *w, const int len) +{ + sha512_update_utf16le_swap (&ctx->ipad, w, len); +} + void sha512_hmac_update_global (sha512_hmac_ctx_t *ctx, const __global u32 *w, const int len) { sha512_update_global (&ctx->ipad, w, len); diff --git a/OpenCL/inc_hash_whirlpool.cl b/OpenCL/inc_hash_whirlpool.cl index 6b319b462..bfc85b1e5 100644 --- a/OpenCL/inc_hash_whirlpool.cl +++ b/OpenCL/inc_hash_whirlpool.cl @@ -2268,6 +2268,16 @@ void whirlpool_hmac_update_swap (whirlpool_hmac_ctx_t *ctx, const u32 *w, const whirlpool_update_swap (&ctx->ipad, w, len); } +void whirlpool_hmac_update_utf16le (whirlpool_hmac_ctx_t *ctx, const u32 *w, const int len) +{ + whirlpool_update_utf16le (&ctx->ipad, w, len); +} + +void whirlpool_hmac_update_utf16le_swap (whirlpool_hmac_ctx_t *ctx, const u32 *w, const int len) +{ + whirlpool_update_utf16le_swap (&ctx->ipad, w, len); +} + void whirlpool_hmac_update_global (whirlpool_hmac_ctx_t *ctx, const __global u32 *w, const int len) { whirlpool_update_global (&ctx->ipad, w, len);