crypto/chacha: Split header into separate _chacha.h
Sponsored by: Dell EMC Isilon
This commit is contained in:
parent
767bc248de
commit
addfc6364f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=339498
12
sys/crypto/chacha20/_chacha.h
Normal file
12
sys/crypto/chacha20/_chacha.h
Normal file
@ -0,0 +1,12 @@
|
||||
/* $FreeBSD$ */
|
||||
|
||||
#ifndef _CHACHA_H
|
||||
#define _CHACHA_H
|
||||
|
||||
#include <sys/types.h>
|
||||
|
||||
struct chacha_ctx {
|
||||
u_int input[16];
|
||||
};
|
||||
|
||||
#endif
|
@ -12,10 +12,7 @@ Public domain.
|
||||
#define CHACHA_H
|
||||
|
||||
#include <sys/types.h>
|
||||
|
||||
struct chacha_ctx {
|
||||
u_int input[16];
|
||||
};
|
||||
#include <crypto/chacha20/_chacha.h>
|
||||
|
||||
#define CHACHA_MINKEYLEN 16
|
||||
#define CHACHA_NONCELEN 8
|
||||
|
Loading…
Reference in New Issue
Block a user