![]() |
Parolin 0.7.9 6796
Console (soon DLLs) to do a tar like job
|
#include "Precomp.h"#include <string.h>#include "CpuArch.h"#include "RotateDefs.h"#include "Sha256.h"Macros | |
| #define | SHA256_UPDATE_BLOCKS(p) |
| #define | STEP_PRE 2 |
| #define | STEP_MAIN 4 |
| #define | Z7_SHA256_BIG_W |
| #define | S0(x) |
| #define | S1(x) |
| #define | s0(x) |
| #define | s1(x) |
| #define | Ch(x, y, z) |
| #define | Maj(x, y, z) |
| #define | W_PRE(i) |
| #define | blk2_main(j, i) |
| #define | w(j, i) |
| #define | blk2(j, i) |
| #define | W_MAIN(i) |
| #define | T1(wx, i) |
| #define | R1_PRE(i) |
| #define | R1_MAIN(i) |
| #define | R2_MAIN(i) |
| #define | K SHA256_K_ARRAY |
| #define | Sha256_UpdateBlock(p) |
Functions | |
| void Z7_FASTCALL | Sha256_UpdateBlocks (UInt32 state[8], const Byte *data, size_t numBlocks) |
| BoolInt | Sha256_SetFunction (CSha256 *p, unsigned algo) |
| void | Sha256_InitState (CSha256 *p) |
| void | Sha256_Init (CSha256 *p) |
| void Z7_FASTCALL | Sha256_UpdateBlocks_HW (UInt32 state[8], const Byte *data, size_t numBlocks) |
| MY_ALIGN (64) const | |
| void | Sha256_Update (CSha256 *p, const Byte *data, size_t size) |
| void | Sha256_Final (CSha256 *p, Byte *digest) |
| void | Sha256Prepare (void) |
| #define blk2 | ( | j, | |
| i ) |
| #define blk2_main | ( | j, | |
| i ) |
| #define Ch | ( | x, | |
| y, | |||
| z ) |
| #define K SHA256_K_ARRAY |
| #define Maj | ( | x, | |
| y, | |||
| z ) |
| #define R1_MAIN | ( | i | ) |
| #define R2_MAIN | ( | i | ) |
| #define S0 | ( | x | ) |
| #define SHA256_UPDATE_BLOCKS | ( | p | ) |
| #define Sha256_UpdateBlock | ( | p | ) |
| #define STEP_MAIN 4 |
| #define STEP_PRE 2 |
| #define W_PRE | ( | i | ) |
| #define Z7_SHA256_BIG_W |
|
extern |
| void Sha256_Init | ( | CSha256 * | p | ) |
| void Sha256_InitState | ( | CSha256 * | p | ) |
| void Z7_FASTCALL Sha256_UpdateBlocks | ( | UInt32 | state[8], |
| const Byte * | data, | ||
| size_t | numBlocks ) |
| void Z7_FASTCALL Sha256_UpdateBlocks_HW | ( | UInt32 | state[8], |
| const Byte * | data, | ||
| size_t | numBlocks ) |
| void Sha256Prepare | ( | void | ) |