mirror of
https://github.com/hashcat/hashcat.git
synced 2024-11-22 16:18:09 +00:00
8458f07a57
The latter is more correct. The side effect is that filesize becomes smaller. gcc clang before O2 756112 762120 Os 674192 680216 after O2 748456 760728 Os 666536 674728
19 lines
398 B
C
19 lines
398 B
C
/**
|
|
* Author......: See docs/credits.txt
|
|
* License.....: MIT
|
|
*/
|
|
|
|
#ifndef _RP_CPU_H
|
|
#define _RP_CPU_H
|
|
|
|
#include <string.h>
|
|
|
|
#define RULE_RC_SYNTAX_ERROR -1
|
|
#define RULE_RC_REJECT_ERROR -2
|
|
|
|
int _old_apply_rule (const char *rule, int rule_len, char in[RP_PASSWORD_SIZE], int in_len, char out[RP_PASSWORD_SIZE]);
|
|
|
|
int run_rule_engine (const int rule_len, const char *rule_buf);
|
|
|
|
#endif // _RP_CPU_H
|