mirror of
https://github.com/hashcat/hashcat.git
synced 2025-06-25 09:22:36 +00:00
Speed up -m 7700 and -m 7701
This commit is contained in:
parent
e115d47e64
commit
1670ab06fa
@ -17,8 +17,8 @@
|
|||||||
#include "inc_hash_md5.cl"
|
#include "inc_hash_md5.cl"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define GETCHAR(a,p) (((a)[(p) / 4] >> (((p) & 3) * 8)) & 0xff)
|
#define GETCHAR(a,p) ((u8 *)(a))[(p)]
|
||||||
#define PUTCHAR(a,p,c) ((a)[(p) / 4] = (((a)[(p) / 4] & ~(0xff << (((p) & 3) * 8))) | ((c) << (((p) & 3) * 8))))
|
#define PUTCHAR(a,p,c) ((u8 *)(a))[(p)] = (u8) (c)
|
||||||
|
|
||||||
#define SETSHIFTEDINT(a,n,v) \
|
#define SETSHIFTEDINT(a,n,v) \
|
||||||
{ \
|
{ \
|
||||||
|
@ -15,8 +15,8 @@
|
|||||||
#include "inc_hash_md5.cl"
|
#include "inc_hash_md5.cl"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define GETCHAR(a,p) (((a)[(p) / 4] >> (((p) & 3) * 8)) & 0xff)
|
#define GETCHAR(a,p) ((u8 *)(a))[(p)]
|
||||||
#define PUTCHAR(a,p,c) ((a)[(p) / 4] = (((a)[(p) / 4] & ~(0xff << (((p) & 3) * 8))) | ((c) << (((p) & 3) * 8))))
|
#define PUTCHAR(a,p,c) ((u8 *)(a))[(p)] = (u8) (c)
|
||||||
|
|
||||||
#define SETSHIFTEDINT(a,n,v) \
|
#define SETSHIFTEDINT(a,n,v) \
|
||||||
{ \
|
{ \
|
||||||
|
@ -15,8 +15,8 @@
|
|||||||
#include "inc_hash_md5.cl"
|
#include "inc_hash_md5.cl"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define GETCHAR(a,p) (((a)[(p) / 4] >> (((p) & 3) * 8)) & 0xff)
|
#define GETCHAR(a,p) ((u8 *)(a))[(p)]
|
||||||
#define PUTCHAR(a,p,c) ((a)[(p) / 4] = (((a)[(p) / 4] & ~(0xff << (((p) & 3) * 8))) | ((c) << (((p) & 3) * 8))))
|
#define PUTCHAR(a,p,c) ((u8 *)(a))[(p)] = (u8) (c)
|
||||||
|
|
||||||
CONSTANT_VK u32a sapb_trans_tbl[256] =
|
CONSTANT_VK u32a sapb_trans_tbl[256] =
|
||||||
{
|
{
|
||||||
|
@ -17,8 +17,8 @@
|
|||||||
#include "inc_hash_md5.cl"
|
#include "inc_hash_md5.cl"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define GETCHAR(a,p) (((a)[(p) / 4] >> (((p) & 3) * 8)) & 0xff)
|
#define GETCHAR(a,p) ((u8 *)(a))[(p)]
|
||||||
#define PUTCHAR(a,p,c) ((a)[(p) / 4] = (((a)[(p) / 4] & ~(0xff << (((p) & 3) * 8))) | ((c) << (((p) & 3) * 8))))
|
#define PUTCHAR(a,p,c) ((u8 *)(a))[(p)] = (u8) (c)
|
||||||
|
|
||||||
#define SETSHIFTEDINT(a,n,v) \
|
#define SETSHIFTEDINT(a,n,v) \
|
||||||
{ \
|
{ \
|
||||||
|
@ -15,8 +15,8 @@
|
|||||||
#include "inc_hash_md5.cl"
|
#include "inc_hash_md5.cl"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define GETCHAR(a,p) (((a)[(p) / 4] >> (((p) & 3) * 8)) & 0xff)
|
#define GETCHAR(a,p) ((u8 *)(a))[(p)]
|
||||||
#define PUTCHAR(a,p,c) ((a)[(p) / 4] = (((a)[(p) / 4] & ~(0xff << (((p) & 3) * 8))) | ((c) << (((p) & 3) * 8))))
|
#define PUTCHAR(a,p,c) ((u8 *)(a))[(p)] = (u8) (c)
|
||||||
|
|
||||||
#define SETSHIFTEDINT(a,n,v) \
|
#define SETSHIFTEDINT(a,n,v) \
|
||||||
{ \
|
{ \
|
||||||
|
@ -15,8 +15,8 @@
|
|||||||
#include "inc_hash_md5.cl"
|
#include "inc_hash_md5.cl"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define GETCHAR(a,p) (((a)[(p) / 4] >> (((p) & 3) * 8)) & 0xff)
|
#define GETCHAR(a,p) ((u8 *)(a))[(p)]
|
||||||
#define PUTCHAR(a,p,c) ((a)[(p) / 4] = (((a)[(p) / 4] & ~(0xff << (((p) & 3) * 8))) | ((c) << (((p) & 3) * 8))))
|
#define PUTCHAR(a,p,c) ((u8 *)(a))[(p)] = (u8) (c)
|
||||||
|
|
||||||
CONSTANT_VK u32a sapb_trans_tbl[256] =
|
CONSTANT_VK u32a sapb_trans_tbl[256] =
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user