crypto/chacha: Split header into separate _chacha.h
Sponsored by: Dell EMC Isilon
This commit is contained in:
parent
e34650b780
commit
335a291f0c
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