Date: Sat, 20 Oct 2018 22:12:53 +0000 (UTC) From: Conrad Meyer <cem@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r339498 - head/sys/crypto/chacha20 Message-ID: <201810202212.w9KMCrl9061919@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201810202212.w9KMCrl9061919>