mirror of
https://github.com/hashcat/hashcat.git
synced 2024-11-23 00:28:11 +00:00
Backport more HMAC functions in inc_hash_xxx.cl from global to private
This commit is contained in:
parent
0334cdb277
commit
7205f450dd
@ -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);
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user