OpenCore
1.0.4
OpenCore Bootloader
|
Go to the source code of this file.
Macros | |
#define | U32V(v) |
#define | ROTATE(v, c) |
#define | XOR(v, w) |
#define | PLUS(v, w) |
#define | PLUSONE(v) |
#define | LOAD32_LE(a) |
#define | STORE32_LE(a, v) |
#define | QUARTERROUND(a, b, c, d) |
Functions | |
VOID | ChaChaInitCtx (OUT CHACHA_CONTEXT *Context, IN CONST UINT8 *Key, IN CONST UINT8 *Iv, IN UINT32 Counter) |
VOID | ChaChaCryptBuffer (IN OUT CHACHA_CONTEXT *Context, IN CONST UINT8 *Source, OUT UINT8 *Destination, IN UINT32 Length) |
OcCryptoLib
Copyright (c) 2020, vit9696
All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at http://opensource.org/licenses/bsd-license.php
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
Definition in file ChaCha.c.
#define LOAD32_LE | ( | a | ) |
#define PLUS | ( | v, | |
w ) |
#define PLUSONE | ( | v | ) |
#define QUARTERROUND | ( | a, | |
b, | |||
c, | |||
d ) |
#define STORE32_LE | ( | a, | |
v ) |
VOID ChaChaCryptBuffer | ( | IN OUT CHACHA_CONTEXT * | Context, |
IN CONST UINT8 * | Source, | ||
OUT UINT8 * | Destination, | ||
IN UINT32 | Length ) |
VOID ChaChaInitCtx | ( | OUT CHACHA_CONTEXT * | Context, |
IN CONST UINT8 * | Key, | ||
IN CONST UINT8 * | Iv, | ||
IN UINT32 | Counter ) |