blob: e47c32c2a7f1228e44e7b97cee7bd2aa3e84bfea (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
// SPDX-License-Identifier: GPL-2.0-or-later
/*
* Copyright (C) 2022 Felix Fietkau <nbd@nbd.name>
*/
#ifndef __UNETD_CHACHA20_H
#define __UNETD_CHACHA20_H
#define CHACHA20_NONCE_SIZE 8
#define CHACHA20_KEY_SIZE 32
void chacha20_encrypt_msg(void *msg, size_t len, const void *nonce, const void *key);
#endif
|