You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
197 B
9 lines
197 B
8 years ago
|
#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);
|
||
|
|