|
ReactOS 0.4.17-dev-1005-g171e1de
|
#include "precomp.h"
Go to the source code of this file.
Macros | |
| #define | CHACHA20_POLY1305_MAX_DATA_SIZE (((1ull << 32) - 1) * 64) |
Variables | |
| const BOOL | fcbDataLteMaxDataSizeStatic = SIZE_T_MAX <= CHACHA20_POLY1305_MAX_DATA_SIZE |
| static const BYTE | SymCryptChaCha20Poly1305Result [3+SYMCRYPT_POLY1305_RESULT_SIZE] |
| #define CHACHA20_POLY1305_MAX_DATA_SIZE (((1ull << 32) - 1) * 64) |
Definition at line 9 of file chacha20_poly1305.c.
| VOID SYMCRYPT_CALL SymCryptChaCha20Poly1305ComputeTag | ( | _Inout_ PSYMCRYPT_POLY1305_STATE | pState, |
| _In_reads_opt_(cbAuthData) PCBYTE | pbAuthData, | ||
| SIZE_T | cbAuthData, | ||
| _In_reads_(cbData) PCBYTE | pbData, | ||
| SIZE_T | cbData, | ||
| _Out_writes_(SYMCRYPT_POLY1305_RESULT_SIZE) PBYTE | pbTag | ||
| ) |
Definition at line 17 of file chacha20_poly1305.c.
Referenced by SymCryptChaCha20Poly1305Decrypt(), and SymCryptChaCha20Poly1305Encrypt().
| SYMCRYPT_NOINLINE SYMCRYPT_ERROR SYMCRYPT_CALL SymCryptChaCha20Poly1305Decrypt | ( | _In_reads_(cbKey) PCBYTE | pbKey, |
| SIZE_T | cbKey, | ||
| _In_reads_(cbNonce) PCBYTE | pbNonce, | ||
| SIZE_T | cbNonce, | ||
| _In_reads_opt_(cbAuthData) PCBYTE | pbAuthData, | ||
| SIZE_T | cbAuthData, | ||
| _In_reads_(cbData) PCBYTE | pbSrc, | ||
| _Out_writes_(cbData) PBYTE | pbDst, | ||
| SIZE_T | cbData, | ||
| _In_reads_(cbTag) PCBYTE | pbTag, | ||
| SIZE_T | cbTag | ||
| ) |
Definition at line 138 of file chacha20_poly1305.c.
Referenced by SymCryptChaCha20Poly1305Selftest().
| SYMCRYPT_NOINLINE SYMCRYPT_ERROR SYMCRYPT_CALL SymCryptChaCha20Poly1305Encrypt | ( | _In_reads_(cbKey) PCBYTE | pbKey, |
| SIZE_T | cbKey, | ||
| _In_reads_(cbNonce) PCBYTE | pbNonce, | ||
| SIZE_T | cbNonce, | ||
| _In_reads_opt_(cbAuthData) PCBYTE | pbAuthData, | ||
| SIZE_T | cbAuthData, | ||
| _In_reads_(cbData) PCBYTE | pbSrc, | ||
| _Out_writes_(cbData) PBYTE | pbDst, | ||
| SIZE_T | cbData, | ||
| _Out_writes_(cbTag) PBYTE | pbTag, | ||
| SIZE_T | cbTag | ||
| ) |
Definition at line 68 of file chacha20_poly1305.c.
Referenced by SymCryptChaCha20Poly1305Selftest().
| VOID SYMCRYPT_CALL SymCryptChaCha20Poly1305Selftest | ( | void | ) |
Definition at line 223 of file chacha20_poly1305.c.
| const BOOL fcbDataLteMaxDataSizeStatic = SIZE_T_MAX <= CHACHA20_POLY1305_MAX_DATA_SIZE |
Definition at line 13 of file chacha20_poly1305.c.
Referenced by SymCryptChaCha20Poly1305Decrypt(), and SymCryptChaCha20Poly1305Encrypt().
|
static |
Definition at line 215 of file chacha20_poly1305.c.
Referenced by SymCryptChaCha20Poly1305Selftest().