|
ReactOS 0.4.17-dev-1005-g171e1de
|

Go to the source code of this file.
Macros | |
| #define | ALG SHA384 |
| #define | Alg Sha384 |
| #define | ALG SHA512 |
| #define | Alg Sha512 |
| #define | ALG SHA512_224 |
| #define | Alg Sha512_224 |
| #define | ALG SHA512_256 |
| #define | Alg Sha512_256 |
| #define | MAJ(x, y, z) ((((z) | (y)) & (x) ) | ((z) & (y))) |
| #define | CH(x, y, z) ((((z) ^ (y)) & (x)) ^ (z)) |
| #define | CSIGMA0(x) (ROR64((ROR64((x), 6) ^ ROR64((x), 11) ^ (x)), 28)) |
| #define | CSIGMA1(x) (ROR64((ROR64((x), 4) ^ ROR64((x), 27) ^ (x)), 14)) |
| #define | LSIGMA0(x) (ROR64((x) ^ ROR64((x), 7), 1) ^ ((x)>> 7)) |
| #define | LSIGMA1(x) (ROR64((x) ^ ROR64((x), 42), 19) ^ ((x)>> 6)) |
| #define | CROUND(a, b, c, d, e, f, g, h, r, r16) |
| #define | IROUND(a, b, c, d, e, f, g, h, r) |
| #define | FROUND(a, b, c, d, e, f, g, h, r, r16) |
| #define | EXPAND(a, b, c, d, r) |
| #define | DO_ROUND(a, b, c, d, t, r) |
| #define | EXPAND(a, b, c, d, r) |
| #define | DO_ROUND(a, b, c, d, e, f, g, h, r) |
| SYMCRYPT_ALIGN_AT | ( | 64 | ) | const |
Definition at line 22 of file sha512.c.
| SYMCRYPT_NOINLINE VOID SYMCRYPT_CALL SymCryptSha384Append | ( | _Inout_ PSYMCRYPT_SHA384_STATE | pState, |
| _In_reads_(cbData) PCBYTE | pbData, | ||
| SIZE_T | cbData | ||
| ) |
Definition at line 370 of file sha512.c.
| SYMCRYPT_NOINLINE VOID SYMCRYPT_CALL SymCryptSha384Init | ( | _Out_ PSYMCRYPT_SHA384_STATE | pState | ) |
Definition at line 234 of file sha512.c.
Referenced by SymCryptSha384Result().
| SYMCRYPT_NOINLINE VOID SYMCRYPT_CALL SymCryptSha384Result | ( | _Inout_ PSYMCRYPT_SHA384_STATE | pState, |
| _Out_writes_(SYMCRYPT_SHA384_RESULT_SIZE) PBYTE | pbResult | ||
| ) |
Definition at line 460 of file sha512.c.
| VOID SYMCRYPT_CALL SymCryptSha384Selftest | ( | void | ) |
Definition at line 740 of file sha512.c.
| VOID SYMCRYPT_CALL SymCryptSha384StateExport | ( | _In_ PCSYMCRYPT_SHA384_STATE | pState, |
| _Out_writes_bytes_(SYMCRYPT_SHA384_STATE_EXPORT_SIZE) PBYTE | pbBlob | ||
| ) |
Definition at line 584 of file sha512.c.
| SYMCRYPT_ERROR SYMCRYPT_CALL SymCryptSha384StateImport | ( | _Out_ PSYMCRYPT_SHA384_STATE | pState, |
| _In_reads_bytes_(SYMCRYPT_SHA384_STATE_EXPORT_SIZE) PCBYTE | pbBlob | ||
| ) |
Definition at line 663 of file sha512.c.
| SYMCRYPT_NOINLINE VOID SYMCRYPT_CALL SymCryptSha512_224Append | ( | _Inout_ PSYMCRYPT_SHA512_224_STATE | pState, |
| _In_reads_(cbData) PCBYTE | pbData, | ||
| SIZE_T | cbData | ||
| ) |
| SYMCRYPT_NOINLINE VOID SYMCRYPT_CALL SymCryptSha512_224Init | ( | _Out_ PSYMCRYPT_SHA512_224_STATE | pState | ) |
Definition at line 254 of file sha512.c.
Referenced by SymCryptSha512_224Result().
| SYMCRYPT_NOINLINE VOID SYMCRYPT_CALL SymCryptSha512_224Result | ( | _Inout_ PSYMCRYPT_SHA512_224_STATE | pState, |
| _Out_writes_(SYMCRYPT_SHA512_224_RESULT_SIZE) PBYTE | pbResult | ||
| ) |
Definition at line 489 of file sha512.c.
| VOID SYMCRYPT_CALL SymCryptSha512_224Selftest | ( | void | ) |
| VOID SYMCRYPT_CALL SymCryptSha512_224StateExport | ( | _In_ PCSYMCRYPT_SHA512_224_STATE | pState, |
| _Out_writes_bytes_(SYMCRYPT_SHA512_224_STATE_EXPORT_SIZE) PBYTE | pbBlob | ||
| ) |
Definition at line 593 of file sha512.c.
| SYMCRYPT_ERROR SYMCRYPT_CALL SymCryptSha512_224StateImport | ( | _Out_ PSYMCRYPT_SHA512_224_STATE | pState, |
| _In_reads_bytes_(SYMCRYPT_SHA512_224_STATE_EXPORT_SIZE) PCBYTE | pbBlob | ||
| ) |
Definition at line 672 of file sha512.c.
| SYMCRYPT_NOINLINE VOID SYMCRYPT_CALL SymCryptSha512_256Append | ( | _Inout_ PSYMCRYPT_SHA512_256_STATE | pState, |
| _In_reads_(cbData) PCBYTE | pbData, | ||
| SIZE_T | cbData | ||
| ) |
| SYMCRYPT_NOINLINE VOID SYMCRYPT_CALL SymCryptSha512_256Init | ( | _Out_ PSYMCRYPT_SHA512_256_STATE | pState | ) |
Definition at line 274 of file sha512.c.
Referenced by SymCryptSha512_256Result().
| SYMCRYPT_NOINLINE VOID SYMCRYPT_CALL SymCryptSha512_256Result | ( | _Inout_ PSYMCRYPT_SHA512_256_STATE | pState, |
| _Out_writes_(SYMCRYPT_SHA512_256_RESULT_SIZE) PBYTE | pbResult | ||
| ) |
Definition at line 514 of file sha512.c.
| VOID SYMCRYPT_CALL SymCryptSha512_256Selftest | ( | void | ) |
| VOID SYMCRYPT_CALL SymCryptSha512_256StateExport | ( | _In_ PCSYMCRYPT_SHA512_256_STATE | pState, |
| _Out_writes_bytes_(SYMCRYPT_SHA512_256_STATE_EXPORT_SIZE) PBYTE | pbBlob | ||
| ) |
Definition at line 602 of file sha512.c.
| SYMCRYPT_ERROR SYMCRYPT_CALL SymCryptSha512_256StateImport | ( | _Out_ PSYMCRYPT_SHA512_256_STATE | pState, |
| _In_reads_bytes_(SYMCRYPT_SHA512_256_STATE_EXPORT_SIZE) PCBYTE | pbBlob | ||
| ) |
Definition at line 681 of file sha512.c.
| SYMCRYPT_NOINLINE VOID SYMCRYPT_CALL SymCryptSha512Append | ( | _Inout_ PSYMCRYPT_SHA512_STATE | pState, |
| _In_reads_(cbData) PCBYTE | pbData, | ||
| SIZE_T | cbData | ||
| ) |
Definition at line 294 of file sha512.c.
Referenced by SymCryptSha384Append(), SymCryptSha512_224Append(), and SymCryptSha512_256Append().
| VOID SYMCRYPT_CALL SymCryptSha512AppendBlocks | ( | _Inout_ SYMCRYPT_SHA512_CHAINING_STATE * | pChain, |
| _In_reads_(cbData) PCBYTE | pbData, | ||
| SIZE_T | cbData, | ||
| _Out_ SIZE_T * | pcbRemaining | ||
| ) |
Definition at line 1643 of file sha512.c.
Referenced by SymCryptSha512Append(), and SymCryptSha512Result().
| VOID SYMCRYPT_CALL SymCryptSha512AppendBlocks_ull | ( | _Inout_ SYMCRYPT_SHA512_CHAINING_STATE * | pChain, |
| _In_reads_(cbData) PCBYTE | pbData, | ||
| SIZE_T | cbData, | ||
| _Out_ SIZE_T * | pcbRemaining | ||
| ) |
Definition at line 907 of file sha512.c.
Referenced by SymCryptSha512AppendBlocks().
| VOID SYMCRYPT_CALL SymCryptSha512AppendBlocks_ull2 | ( | _Inout_ SYMCRYPT_SHA512_CHAINING_STATE * | pChain, |
| _In_reads_(cbData) PCBYTE | pbData, | ||
| SIZE_T | cbData, | ||
| _Out_ SIZE_T * | pcbRemaining | ||
| ) |
Definition at line 1013 of file sha512.c.
| VOID SYMCRYPT_CALL SymCryptSha512AppendBlocks_ull3 | ( | _Inout_ SYMCRYPT_SHA512_CHAINING_STATE * | pChain, |
| _In_reads_(cbData) PCBYTE | pbData, | ||
| SIZE_T | cbData, | ||
| _Out_ SIZE_T * | pcbRemaining | ||
| ) |
Definition at line 1147 of file sha512.c.
| SYMCRYPT_NOINLINE VOID SYMCRYPT_CALL SymCryptSha512Init | ( | _Out_ PSYMCRYPT_SHA512_STATE | pState | ) |
Definition at line 214 of file sha512.c.
| SYMCRYPT_NOINLINE VOID SYMCRYPT_CALL SymCryptSha512Result | ( | _Inout_ PSYMCRYPT_SHA512_STATE | pState, |
| _Out_writes_(SYMCRYPT_SHA512_RESULT_SIZE) PBYTE | pbResult | ||
| ) |
Definition at line 406 of file sha512.c.
Referenced by SymCryptSha384Result(), SymCryptSha512_224Result(), and SymCryptSha512_256Result().
| VOID SYMCRYPT_CALL SymCryptSha512Selftest | ( | void | ) |
| VOID SYMCRYPT_CALL SymCryptSha512StateExport | ( | _In_ PCSYMCRYPT_SHA512_STATE | pState, |
| _Out_writes_bytes_(SYMCRYPT_SHA512_STATE_EXPORT_SIZE) PBYTE | pbBlob | ||
| ) |
| VOID SYMCRYPT_CALL SymCryptSha512StateExportCore | ( | _In_ PCSYMCRYPT_SHA512_STATE | pState, |
| _Out_writes_bytes_(SYMCRYPT_SHA512_STATE_EXPORT_SIZE) PBYTE | pbBlob, | ||
| _In_ UINT32 | type | ||
| ) |
Definition at line 538 of file sha512.c.
Referenced by SymCryptSha384StateExport(), SymCryptSha512_224StateExport(), SymCryptSha512_256StateExport(), and SymCryptSha512StateExport().
| SYMCRYPT_ERROR SYMCRYPT_CALL SymCryptSha512StateImport | ( | _Out_ PSYMCRYPT_SHA512_STATE | pState, |
| _In_reads_bytes_(SYMCRYPT_SHA512_STATE_EXPORT_SIZE) PCBYTE | pbBlob | ||
| ) |
| SYMCRYPT_ERROR SYMCRYPT_CALL SymCryptSha512StateImportCore | ( | _Out_ PSYMCRYPT_SHA512_STATE | pState, |
| _In_reads_bytes_(SYMCRYPT_SHA512_STATE_EXPORT_SIZE) PCBYTE | pbBlob, | ||
| _In_ UINT32 | type | ||
| ) |
Definition at line 612 of file sha512.c.
Referenced by SymCryptSha384StateImport(), SymCryptSha512_224StateImport(), SymCryptSha512_256StateImport(), and SymCryptSha512StateImport().
| const PCSYMCRYPT_HASH SymCryptSha384Algorithm = &SymCryptSha384Algorithm_default |
Definition at line 169 of file sha512.c.
Referenced by init_hash_impl().
| const SYMCRYPT_HASH SymCryptSha384Algorithm_default |
Definition at line 79 of file sha512.c.
Referenced by SymCryptSha384Init().
Definition at line 728 of file sha512.c.
Referenced by SymCryptSha384Selftest().
| const PCSYMCRYPT_HASH SymCryptSha512_224Algorithm = &SymCryptSha512_224Algorithm_default |
| const SYMCRYPT_HASH SymCryptSha512_224Algorithm_default |
Definition at line 90 of file sha512.c.
Referenced by SymCryptSha512_224Init().
Definition at line 757 of file sha512.c.
Referenced by SymCryptSha512_224Selftest().
| const PCSYMCRYPT_HASH SymCryptSha512_256Algorithm = &SymCryptSha512_256Algorithm_default |
| const SYMCRYPT_HASH SymCryptSha512_256Algorithm_default |
Definition at line 101 of file sha512.c.
Referenced by SymCryptSha512_256Init().
Definition at line 784 of file sha512.c.
Referenced by SymCryptSha512_256Selftest().
| const PCSYMCRYPT_HASH SymCryptSha512Algorithm = &SymCryptSha512Algorithm_default |
Definition at line 170 of file sha512.c.
Referenced by init_hash_impl(), and SymCryptSshKdfSha512SelfTest().
| const SYMCRYPT_HASH SymCryptSha512Algorithm_default |
Definition at line 68 of file sha512.c.
Referenced by SymCryptSha512Init(), and SymCryptSha512Result().
Definition at line 695 of file sha512.c.
Referenced by SymCryptSha512Selftest().