svn commit: r339498 - head/sys/crypto/chacha20
Conrad Meyer
cem at FreeBSD.org
Sat Oct 20 22:12:54 UTC 2018
Author: cem
Date: Sat Oct 20 22:12:53 2018
New Revision: 339498
URL: https://svnweb.freebsd.org/changeset/base/339498
Log:
crypto/chacha: Split header into separate _chacha.h
Sponsored by: Dell EMC Isilon
Added:
head/sys/crypto/chacha20/_chacha.h (contents, props changed)
Modified:
head/sys/crypto/chacha20/chacha.h
Added: head/sys/crypto/chacha20/_chacha.h
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sys/crypto/chacha20/_chacha.h Sat Oct 20 22:12:53 2018 (r339498)
@@ -0,0 +1,12 @@
+/* $FreeBSD$ */
+
+#ifndef _CHACHA_H
+#define _CHACHA_H
+
+#include <sys/types.h>
+
+struct chacha_ctx {
+ u_int input[16];
+};
+
+#endif
Modified: head/sys/crypto/chacha20/chacha.h
==============================================================================
--- head/sys/crypto/chacha20/chacha.h Sat Oct 20 21:49:44 2018 (r339497)
+++ head/sys/crypto/chacha20/chacha.h Sat Oct 20 22:12:53 2018 (r339498)
@@ -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
More information about the svn-src-all
mailing list