Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Oct 2018 08:33:01 -0700 (PDT)
From:      "Rodney W. Grimes" <freebsd@pdx.rh.CN85.dnsmgr.net>
To:        Conrad Meyer <cem@freebsd.org>
Cc:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r339498 - head/sys/crypto/chacha20
Message-ID:  <201810211533.w9LFX1lq005564@pdx.rh.CN85.dnsmgr.net>
In-Reply-To: <201810202212.w9KMCrl9061919@repo.freebsd.org>

next in thread | previous 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

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                                                 rgrimes@freebsd.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201810211533.w9LFX1lq005564>