mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-18 18:18:06 -05:00
8 lines
197 B
C
8 lines
197 B
C
#include <stdint.h>
|
|
#include <stddef.h>
|
|
|
|
#define CHACHA8_KEY_SIZE 32
|
|
#define CHACHA8_IV_SIZE 8
|
|
|
|
void chacha8(const void* data, size_t length, const uint8_t* key, const uint8_t* iv, char* cipher);
|
|
|