tiger.h
来自「A console-based hah calculators」· C头文件 代码 · 共 24 行
H
24 行
#ifndef ___TIGER_H___
#define ___TIGER_H___
#include "../rhsyscfg.h"
typedef struct _tiger_hash_state
{
ulong64 state[3], length;
unsigned long curlen;
unsigned char buf[64];
} tiger_hash_state;
void tiger_init(tiger_hash_state *md);
void tiger_process(tiger_hash_state * md, const unsigned char *buf, unsigned long len);
void tiger_done(tiger_hash_state * md, unsigned char *hash);
static void _tiger_compress(tiger_hash_state *md);
static void _tiger_round(ulong64 *a, ulong64 *b, ulong64 *c, ulong64 x, ulong64 mul);
static void _tiger_pass(ulong64 *a, ulong64 *b, ulong64 *c, ulong64 *x, ulong64 mul);
static void _tiger_key_schedule(ulong64 *x);
#endif // ___TIGER_H___
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?