> 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
This new file has neither a copyright or license which is out side of the project guidelines. > > 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 -- Rod Grimes rgri...@freebsd.org _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"