|
ReactOS 0.4.17-dev-1005-g171e1de
|

Go to the source code of this file.
Macros | |
| #define | ALG SHA224 |
| #define | Alg Sha224 |
| #define | ALG SHA256 |
| #define | Alg Sha256 |
| #define | MAJ(x, y, z) ((((z) | (y)) & (x) ) | ((z) & (y))) |
| #define | CH(x, y, z) ((((z) ^ (y)) & (x)) ^ (z)) |
| #define | USE_CSIGMA0_MULTIROT 0 |
| #define | USE_CSIGMA1_MULTIROT 0 |
| #define | USE_LSIGMA0_MULTIROT 0 |
| #define | USE_LSIGMA1_MULTIROT 0 |
| #define | CSIGMA0(x) (ROR32((x), 2) ^ ROR32((x), 13) ^ ROR32((x), 22)) |
| #define | CSIGMA1(x) (ROR32((x), 6) ^ ROR32((x), 11) ^ ROR32((x), 25)) |
| #define | LSIGMA0(x) (ROR32((x), 7) ^ ROR32((x), 18) ^ ((x)>> 3)) |
| #define | LSIGMA1(x) (ROR32((x), 17) ^ ROR32((x), 19) ^ ((x)>>10)) |
| #define | CROUND(r16, r) |
| #define | IROUND(r) |
| #define | FROUND(r16, rb) |
| #define | EXPAND(a, b, c, d, r) |
| #define | DO_ROUND(a, b, c, d, t, r) |
| #define FROUND | ( | r16, | |
| rb | |||
| ) |
| SYMCRYPT_ALIGN_AT | ( | 256 | ) | const |
Definition at line 54 of file sha256.c.
| SYMCRYPT_NOINLINE VOID SYMCRYPT_CALL SymCryptSha224Append | ( | _Inout_ PSYMCRYPT_SHA224_STATE | pState, |
| _In_reads_(cbData) PCBYTE | pbData, | ||
| SIZE_T | cbData | ||
| ) |
Definition at line 247 of file sha256.c.
| SYMCRYPT_NOINLINE VOID SYMCRYPT_CALL SymCryptSha224Init | ( | _Out_ PSYMCRYPT_SHA224_STATE | pState | ) |
Definition at line 148 of file sha256.c.
Referenced by SymCryptSha224Result().
| SYMCRYPT_NOINLINE VOID SYMCRYPT_CALL SymCryptSha224Result | ( | _Inout_ PSYMCRYPT_SHA224_STATE | pState, |
| _Out_writes_(SYMCRYPT_SHA224_RESULT_SIZE) PBYTE | pbResult | ||
| ) |
Definition at line 330 of file sha256.c.
| VOID SYMCRYPT_CALL SymCryptSha224Selftest | ( | void | ) |
Definition at line 511 of file sha256.c.
| VOID SYMCRYPT_CALL SymCryptSha224StateExport | ( | _In_ PCSYMCRYPT_SHA224_STATE | pState, |
| _Out_writes_bytes_(SYMCRYPT_SHA256_STATE_EXPORT_SIZE) PBYTE | pbBlob | ||
| ) |
Definition at line 401 of file sha256.c.
| SYMCRYPT_ERROR SYMCRYPT_CALL SymCryptSha224StateImport | ( | _Out_ PSYMCRYPT_SHA224_STATE | pState, |
| _In_reads_bytes_(SYMCRYPT_SHA224_STATE_EXPORT_SIZE) PCBYTE | pbBlob | ||
| ) |
Definition at line 463 of file sha256.c.
| SYMCRYPT_NOINLINE VOID SYMCRYPT_CALL SymCryptSha256Append | ( | _Inout_ PSYMCRYPT_SHA256_STATE | pState, |
| _In_reads_(cbData) PCBYTE | pbData, | ||
| SIZE_T | cbData | ||
| ) |
Definition at line 171 of file sha256.c.
Referenced by SymCryptSha224Append().
| VOID SYMCRYPT_CALL SymCryptSha256AppendBlocks | ( | _Inout_ SYMCRYPT_SHA256_CHAINING_STATE * | pChain, |
| _In_reads_(cbData) PCBYTE | pbData, | ||
| SIZE_T | cbData, | ||
| _Out_ SIZE_T * | pcbRemaining | ||
| ) |
Definition at line 1812 of file sha256.c.
Referenced by SymCryptSha256Append(), and SymCryptSha256Result().
| VOID SYMCRYPT_CALL SymCryptSha256AppendBlocks_ul1 | ( | _Inout_ SYMCRYPT_SHA256_CHAINING_STATE * | pChain, |
| _In_reads_(cbData) PCBYTE | pbData, | ||
| SIZE_T | cbData, | ||
| _Out_ SIZE_T * | pcbRemaining | ||
| ) |
Definition at line 739 of file sha256.c.
Referenced by SymCryptSha256AppendBlocks().
| VOID SYMCRYPT_CALL SymCryptSha256AppendBlocks_ul2 | ( | _Inout_ SYMCRYPT_SHA256_CHAINING_STATE * | pChain, |
| _In_reads_(cbData) PCBYTE | pbData, | ||
| SIZE_T | cbData, | ||
| _Out_ SIZE_T * | pcbRemaining | ||
| ) |
Definition at line 832 of file sha256.c.
| SYMCRYPT_NOINLINE VOID SYMCRYPT_CALL SymCryptSha256Init | ( | _Out_ PSYMCRYPT_SHA256_STATE | pState | ) |
| SYMCRYPT_NOINLINE VOID SYMCRYPT_CALL SymCryptSha256Result | ( | _Inout_ PSYMCRYPT_SHA256_STATE | pState, |
| _Out_writes_(SYMCRYPT_SHA256_RESULT_SIZE) PBYTE | pbResult | ||
| ) |
Definition at line 262 of file sha256.c.
Referenced by SymCryptSha224Result().
| VOID SYMCRYPT_CALL SymCryptSha256Selftest | ( | void | ) |
| VOID SYMCRYPT_CALL SymCryptSha256StateExport | ( | _In_ PCSYMCRYPT_SHA256_STATE | pState, |
| _Out_writes_bytes_(SYMCRYPT_SHA256_STATE_EXPORT_SIZE) PBYTE | pbBlob | ||
| ) |
| VOID SYMCRYPT_CALL SymCryptSha256StateExportCore | ( | _In_ PCSYMCRYPT_SHA256_STATE | pState, |
| _Out_writes_bytes_(SYMCRYPT_SHA256_STATE_EXPORT_SIZE) PBYTE | pbBlob, | ||
| _In_ UINT32 | type | ||
| ) |
Definition at line 354 of file sha256.c.
Referenced by SymCryptSha224StateExport(), and SymCryptSha256StateExport().
| SYMCRYPT_ERROR SYMCRYPT_CALL SymCryptSha256StateImport | ( | _Out_ PSYMCRYPT_SHA256_STATE | pState, |
| _In_reads_bytes_(SYMCRYPT_SHA256_STATE_EXPORT_SIZE) PCBYTE | pbBlob | ||
| ) |
| SYMCRYPT_ERROR SYMCRYPT_CALL SymCryptSha256StateImportCore | ( | _Out_ PSYMCRYPT_SHA256_STATE | pState, |
| _In_reads_bytes_(SYMCRYPT_SHA256_STATE_EXPORT_SIZE) PCBYTE | pbBlob, | ||
| _In_ UINT32 | type | ||
| ) |
Definition at line 411 of file sha256.c.
Referenced by SymCryptSha224StateImport(), and SymCryptSha256StateImport().
Definition at line 77 of file sha256.c.
Referenced by SymCryptSha224Init().
Definition at line 88 of file sha256.c.
Referenced by SymCryptSha256Init(), and SymCryptSha256Result().
| const PCSYMCRYPT_HASH SymCryptSha224Algorithm = &SymCryptSha224Algorithm_default |
| const SYMCRYPT_HASH SymCryptSha224Algorithm_default |
Definition at line 502 of file sha256.c.
Referenced by SymCryptSha224Selftest().
| const PCSYMCRYPT_HASH SymCryptSha256Algorithm = &SymCryptSha256Algorithm_default |
Definition at line 46 of file sha256.c.
Referenced by init_hash_impl(), and SymCryptSshKdfSha256SelfTest().
| const SYMCRYPT_HASH SymCryptSha256Algorithm_default |
Definition at line 476 of file sha256.c.
Referenced by SymCryptSha256Selftest().