bcachefs-tools/include/crypto/chacha.h

16 lines
249 B
C
Raw Normal View History

2017-01-08 12:13:18 +03:00
/*
* Common values for the ChaCha20 algorithm
*/
#ifndef _CRYPTO_CHACHA20_H
#define _CRYPTO_CHACHA20_H
#include <linux/types.h>
#include <linux/crypto.h>
#define CHACHA_IV_SIZE 16
#define CHACHA_KEY_SIZE 32
#define CHACHA_BLOCK_SIZE 64
2017-01-08 12:13:18 +03:00
#endif