1
0
mirror of https://github.com/hashcat/hashcat.git synced 2025-07-23 15:08:37 +00:00

Merge pull request #3999 from philsmd/whitespace_indentation_fix

fix whitespace/indentation
This commit is contained in:
hashcat-bot 2025-07-13 18:50:15 +02:00 committed by GitHub
commit cd71cb04d3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 605 additions and 603 deletions

File diff suppressed because it is too large Load Diff

View File

@ -2,23 +2,23 @@
#define INC_CIPHER_CAST_H
// #include "opencl_misc.h"
#define GET_UINT32BE(n, b, i) \
{ \
(n) = ((uint) (b)[(i)] << 24) \
| ((uint) (b)[(i) + 1] << 16) \
| ((uint) (b)[(i) + 2] << 8) \
| ((uint) (b)[(i) + 3] ); \
}
#define PUT_UINT32BE(n, b, i) \
{ \
(b)[(i) ] = (u8) ((n) >> 24); \
(b)[(i) + 1] = (u8) ((n) >> 16); \
(b)[(i) + 2] = (u8) ((n) >> 8); \
(b)[(i) + 3] = (u8) ((n) ); \
}
#define GET_UINT32BE(n, b, i) \
{ \
(n) = ((uint) (b)[(i)] << 24) \
| ((uint) (b)[(i) + 1] << 16) \
| ((uint) (b)[(i) + 2] << 8) \
| ((uint) (b)[(i) + 3] ); \
}
#define PUT_UINT32BE(n, b, i) \
{ \
(b)[(i) ] = (u8) ((n) >> 24); \
(b)[(i) + 1] = (u8) ((n) >> 16); \
(b)[(i) + 2] = (u8) ((n) >> 8); \
(b)[(i) + 3] = (u8) ((n) ); \
}
typedef struct {
u32 K[32];
u32 K[32];
} CAST_KEY;
#define GETBYTE(x, y) (uint)(u8)((x)>>(8*(y)))