[blocks.c ed25519.c fe25519.c fe25519.h ge25519.c ge25519.h]
     [ge25519_base.data hash.c sc25519.c sc25519.h verify.c]
     Add Authors for the public domain ed25519/nacl code.
     see also http://nacl.cr.yp.to/features.html
        All of the NaCl software is in the public domain.
     and http://ed25519.cr.yp.to/software.html
        The Ed25519 software is in the public domain.
This commit is contained in:
Damien Miller 2013-12-18 17:48:11 +11:00
parent 6575c3acf3
commit 8a56dc2b6b
12 changed files with 68 additions and 22 deletions

View File

@ -10,6 +10,14 @@
- dtucker@cvs.openbsd.org 2013/12/08 09:53:27
[sshd_config.5]
Use a literal for the default value of KEXAlgorithms. ok deraadt jmc
- markus@cvs.openbsd.org 2013/12/09 11:03:45
[blocks.c ed25519.c fe25519.c fe25519.h ge25519.c ge25519.h]
[ge25519_base.data hash.c sc25519.c sc25519.h verify.c]
Add Authors for the public domain ed25519/nacl code.
see also http://nacl.cr.yp.to/features.html
All of the NaCl software is in the public domain.
and http://ed25519.cr.yp.to/software.html
The Ed25519 software is in the public domain.
20131208
- (djm) [openbsd-compat/bsd-setres_id.c] Missing header; from Corinna

View File

@ -1,6 +1,9 @@
/* $OpenBSD: blocks.c,v 1.2 2013/12/07 00:26:37 djm Exp $ */
/* $OpenBSD: blocks.c,v 1.3 2013/12/09 11:03:45 markus Exp $ */
/* Public Domain, from supercop-20130419/crypto_hashblocks/sha512/ref/blocks.c */
/*
* Public Domain, Author: Daniel J. Bernstein
* Copied from nacl-20110221/crypto_hashblocks/sha512/ref/blocks.c
*/
#include "crypto_api.h"

View File

@ -1,6 +1,10 @@
/* $OpenBSD: ed25519.c,v 1.2 2013/12/07 00:26:37 djm Exp $ */
/* $OpenBSD: ed25519.c,v 1.3 2013/12/09 11:03:45 markus Exp $ */
/* Public Domain, from supercop-20130419/crypto_sign/ed25519/ref/ed25519.c */
/*
* Public Domain, Authors: Daniel J. Bernstein, Niels Duif, Tanja Lange,
* Peter Schwabe, Bo-Yin Yang.
* Copied from supercop-20130419/crypto_sign/ed25519/ref/ed25519.c
*/
#include "includes.h"
#include "crypto_api.h"

View File

@ -1,6 +1,10 @@
/* $OpenBSD: fe25519.c,v 1.2 2013/12/07 00:26:37 djm Exp $ */
/* $OpenBSD: fe25519.c,v 1.3 2013/12/09 11:03:45 markus Exp $ */
/* Public Domain, from supercop-20130419/crypto_sign/ed25519/ref/fe25519.c */
/*
* Public Domain, Authors: Daniel J. Bernstein, Niels Duif, Tanja Lange,
* Peter Schwabe, Bo-Yin Yang.
* Copied from supercop-20130419/crypto_sign/ed25519/ref/fe25519.c
*/
#define WINDOWSIZE 1 /* Should be 1,2, or 4 */
#define WINDOWMASK ((1<<WINDOWSIZE)-1)

View File

@ -1,6 +1,10 @@
/* $OpenBSD: fe25519.h,v 1.2 2013/12/07 00:26:37 djm Exp $ */
/* $OpenBSD: fe25519.h,v 1.3 2013/12/09 11:03:45 markus Exp $ */
/* Public Domain, from supercop-20130419/crypto_sign/ed25519/ref/fe25519.h */
/*
* Public Domain, Authors: Daniel J. Bernstein, Niels Duif, Tanja Lange,
* Peter Schwabe, Bo-Yin Yang.
* Copied from supercop-20130419/crypto_sign/ed25519/ref/fe25519.h
*/
#ifndef FE25519_H
#define FE25519_H

View File

@ -1,6 +1,10 @@
/* $OpenBSD: ge25519.c,v 1.2 2013/12/07 00:26:37 djm Exp $ */
/* $OpenBSD: ge25519.c,v 1.3 2013/12/09 11:03:45 markus Exp $ */
/* Public Domain, from supercop-20130419/crypto_sign/ed25519/ref/ge25519.c */
/*
* Public Domain, Authors: Daniel J. Bernstein, Niels Duif, Tanja Lange,
* Peter Schwabe, Bo-Yin Yang.
* Copied from supercop-20130419/crypto_sign/ed25519/ref/ge25519.c
*/
#include "fe25519.h"
#include "sc25519.h"

View File

@ -1,6 +1,10 @@
/* $OpenBSD: ge25519.h,v 1.2 2013/12/07 00:26:37 djm Exp $ */
/* $OpenBSD: ge25519.h,v 1.3 2013/12/09 11:03:45 markus Exp $ */
/* Public Domain, from supercop-20130419/crypto_sign/ed25519/ref/ge25519.h */
/*
* Public Domain, Authors: Daniel J. Bernstein, Niels Duif, Tanja Lange,
* Peter Schwabe, Bo-Yin Yang.
* Copied from supercop-20130419/crypto_sign/ed25519/ref/ge25519.h
*/
#ifndef GE25519_H
#define GE25519_H

View File

@ -1,6 +1,10 @@
/* $OpenBSD: ge25519_base.data,v 1.2 2013/12/07 00:26:37 djm Exp $ */
/* $OpenBSD: ge25519_base.data,v 1.3 2013/12/09 11:03:45 markus Exp $ */
/* Public Domain, from supercop-20130419/crypto_sign/ed25519/ref/ge25519_base.data */
/*
* Public Domain, Authors: Daniel J. Bernstein, Niels Duif, Tanja Lange,
* Peter Schwabe, Bo-Yin Yang.
* Copied from supercop-20130419/crypto_sign/ed25519/ref/ge25519_base.data
*/
{{{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}},
{{0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}}},

4
hash.c
View File

@ -1,6 +1,6 @@
/* $OpenBSD: hash.c,v 1.2 2013/12/07 00:26:37 djm Exp $ */
/* $OpenBSD: hash.c,v 1.3 2013/12/09 11:03:45 markus Exp $ */
/* Public Domain, from supercop-20130419/crypto_hash/sha512/ref/hash.c */
/* Copied from nacl-20110221/crypto_hash/sha512/ref/hash.c */
/*
20080913

View File

@ -1,6 +1,10 @@
/* $OpenBSD: sc25519.c,v 1.2 2013/12/07 00:26:37 djm Exp $ */
/* $OpenBSD: sc25519.c,v 1.3 2013/12/09 11:03:45 markus Exp $ */
/* Public Domain, from supercop-20130419/crypto_sign/ed25519/ref/sc25519.c */
/*
* Public Domain, Authors: Daniel J. Bernstein, Niels Duif, Tanja Lange,
* Peter Schwabe, Bo-Yin Yang.
* Copied from supercop-20130419/crypto_sign/ed25519/ref/sc25519.c
*/
#include "sc25519.h"

View File

@ -1,6 +1,10 @@
/* $OpenBSD: sc25519.h,v 1.2 2013/12/07 00:26:37 djm Exp $ */
/* $OpenBSD: sc25519.h,v 1.3 2013/12/09 11:03:45 markus Exp $ */
/* Public Domain, from supercop-20130419/crypto_sign/ed25519/ref/sc25519.h */
/*
* Public Domain, Authors: Daniel J. Bernstein, Niels Duif, Tanja Lange,
* Peter Schwabe, Bo-Yin Yang.
* Copied from supercop-20130419/crypto_sign/ed25519/ref/sc25519.h
*/
#ifndef SC25519_H
#define SC25519_H

View File

@ -1,6 +1,9 @@
/* $OpenBSD: verify.c,v 1.2 2013/12/07 00:26:37 djm Exp $ */
/* $OpenBSD: verify.c,v 1.3 2013/12/09 11:03:45 markus Exp $ */
/* Public Domain, from supercop-20130419/crypto_verify/32/ref/verify.c */
/*
* Public Domain, Author: Daniel J. Bernstein
* Copied from nacl-20110221/crypto_verify/32/ref/verify.c
*/
#include "crypto_api.h"