mirror of
https://github.com/hashcat/hashcat.git
synced 2025-06-06 08:08:47 +00:00
Move blake2_t and chacha20_t to interface.h
This commit is contained in:
parent
ae5fdba20f
commit
2a1fe6962d
@ -129,21 +129,25 @@ typedef struct itunes_backup
|
|||||||
|
|
||||||
} itunes_backup_t;
|
} itunes_backup_t;
|
||||||
|
|
||||||
typedef struct luks_tmp
|
typedef struct blake2
|
||||||
{
|
{
|
||||||
u32 ipad32[8];
|
u64 h[8];
|
||||||
u64 ipad64[8];
|
u64 t[2];
|
||||||
|
u64 f[2];
|
||||||
|
u32 buflen;
|
||||||
|
u32 outlen;
|
||||||
|
u8 last_node;
|
||||||
|
|
||||||
u32 opad32[8];
|
} blake2_t;
|
||||||
u64 opad64[8];
|
|
||||||
|
|
||||||
u32 dgst32[32];
|
typedef struct chacha20
|
||||||
u64 dgst64[16];
|
{
|
||||||
|
u32 iv[2];
|
||||||
|
u32 plain[2];
|
||||||
|
u32 position[2];
|
||||||
|
u32 offset;
|
||||||
|
|
||||||
u32 out32[32];
|
} chacha20_t;
|
||||||
u64 out64[16];
|
|
||||||
|
|
||||||
} luks_tmp_t;
|
|
||||||
|
|
||||||
typedef struct rar5
|
typedef struct rar5
|
||||||
{
|
{
|
||||||
@ -455,6 +459,22 @@ typedef struct ethereum_scrypt
|
|||||||
|
|
||||||
} ethereum_scrypt_t;
|
} ethereum_scrypt_t;
|
||||||
|
|
||||||
|
typedef struct luks_tmp
|
||||||
|
{
|
||||||
|
u32 ipad32[8];
|
||||||
|
u64 ipad64[8];
|
||||||
|
|
||||||
|
u32 opad32[8];
|
||||||
|
u64 opad64[8];
|
||||||
|
|
||||||
|
u32 dgst32[32];
|
||||||
|
u64 dgst64[16];
|
||||||
|
|
||||||
|
u32 out32[32];
|
||||||
|
u64 out64[16];
|
||||||
|
|
||||||
|
} luks_tmp_t;
|
||||||
|
|
||||||
typedef struct pdf14_tmp
|
typedef struct pdf14_tmp
|
||||||
{
|
{
|
||||||
u32 digest[4];
|
u32 digest[4];
|
||||||
|
@ -666,26 +666,6 @@ typedef enum user_options_map
|
|||||||
* structs
|
* structs
|
||||||
*/
|
*/
|
||||||
|
|
||||||
typedef struct
|
|
||||||
{
|
|
||||||
u64 h[8];
|
|
||||||
u64 t[2];
|
|
||||||
u64 f[2];
|
|
||||||
u32 buflen;
|
|
||||||
u32 outlen;
|
|
||||||
u8 last_node;
|
|
||||||
|
|
||||||
} blake2_t;
|
|
||||||
|
|
||||||
typedef struct
|
|
||||||
{
|
|
||||||
u32 iv[2];
|
|
||||||
u32 plain[2];
|
|
||||||
u32 position[2];
|
|
||||||
u32 offset;
|
|
||||||
|
|
||||||
} chacha20_t;
|
|
||||||
|
|
||||||
typedef struct
|
typedef struct
|
||||||
{
|
{
|
||||||
u32 salt_buf[16];
|
u32 salt_buf[16];
|
||||||
|
Loading…
Reference in New Issue
Block a user