Home | History | Annotate | only in /src/lib/libc/hash/sha2
History log of /src/lib/libc/hash/sha2
RevisionDateAuthorComments
 1.4 26-May-2009  joerg Add SHA224 implementation to libc.
Make libcrypto use the SHA2 implementation of libc.
Bump minor versions of libc and libcrypto.
 1.3 23-Aug-2005  elad branches: 1.3.2; 1.3.6; 1.3.16; 1.3.28; 1.3.34;
We don't have SHA{256,384,512}_Pad, but we do have _Transform.
 1.2 23-Aug-2005  elad Add helper routines (end, filechunk, file, data) for SHA2.
 1.1 20-Aug-2005  elad Add SHA2 hashing routines to userland.

At the moment there's only code for the init/transform/update/final
routines.

Man-page from OpenBSD.
 1.3.34.1 14-Jul-2009  snj branches: 1.3.34.1.2;
Pull up following revisions (requested by joerg in ticket #855):
common/lib/libc/hash/sha2/sha2.c: revisions 1.8-1.18 via patch
crypto/dist/openssl/crypto/evp/m_sha1.c: revisions 1.2-1.3 via patch
distrib/sets/lists/base/md.amd64: revision 1.51 via patch
distrib/sets/lists/base/md.sparc64: revision 1.46 via patch
distrib/sets/lists/base/shl.mi: revision 1.474 via patch
distrib/sets/lists/comp/mi: revision 1.1263 via patch
lib/libc/shlib_version: patch
lib/libc/hash/sha2/Makefile.inc: revision 1.4 via patch
lib/libc/hash/sha2/sha2.3: revision 1.5 via patch
lib/libc/hash/sha2/sha224hl.c: revision 1.1 via patch
lib/libc/include/namespace.h: revision 1.138 via patch
lib/libcrypto/libc-sha256.c: revision 1.1 via patch
lib/libcrypto/libc-sha512.c: revision 1.1 via patch
lib/libcrypto/sha.inc: revision 1.10 via patch
lib/libcrypto/shlib_version: patch
sys/lib/libkern/arch/vax/Makefile.inc: revision 1.21 via patch
sys/sys/sha2.h: revision 1.3 via patch
Add SHA224 implementation to libc.
Make libcrypto use the SHA2 implementation of libc.
Bump minor versions of libc and libcrypto.
 1.3.34.1.2.1 21-Apr-2010  matt sync to netbsd-5
 1.3.28.1 14-Jul-2009  snj Pull up following revisions (requested by joerg in ticket #855):
common/lib/libc/hash/sha2/sha2.c: revisions 1.8-1.18 via patch
crypto/dist/openssl/crypto/evp/m_sha1.c: revisions 1.2-1.3 via patch
distrib/sets/lists/base/md.amd64: revision 1.51 via patch
distrib/sets/lists/base/md.sparc64: revision 1.46 via patch
distrib/sets/lists/base/shl.mi: revision 1.474 via patch
distrib/sets/lists/comp/mi: revision 1.1263 via patch
lib/libc/shlib_version: patch
lib/libc/hash/sha2/Makefile.inc: revision 1.4 via patch
lib/libc/hash/sha2/sha2.3: revision 1.5 via patch
lib/libc/hash/sha2/sha224hl.c: revision 1.1 via patch
lib/libc/include/namespace.h: revision 1.138 via patch
lib/libcrypto/libc-sha256.c: revision 1.1 via patch
lib/libcrypto/libc-sha512.c: revision 1.1 via patch
lib/libcrypto/sha.inc: revision 1.10 via patch
lib/libcrypto/shlib_version: patch
sys/sys/sha2.h: revision 1.3 via patch
Add SHA224 implementation to libc.
Make libcrypto use the SHA2 implementation of libc.
Bump minor versions of libc and libcrypto.
 1.3.16.1 22-Jul-2009  snj Apply patch (requested by joerg in ticket #1338):
- Add support for SHA224 to libc
- Fix Big Endian support in some cases
- Use libc support in libcrypto
 1.3.6.1 22-Jul-2009  snj Apply patch (requested by joerg in ticket #1338):
- Add support for SHA224 to libc
- Fix Big Endian support in some cases
- Use libc support in libcrypto
 1.3.2.2 08-Sep-2005  tron Apply patch (requested by elad in ticket #743):
Introduce SHA2 hashing routines in userland, including the common
helper routines.
 1.3.2.1 23-Aug-2005  tron file Makefile.inc was added on branch netbsd-3 on 2005-09-08 19:15:44 +0000
 1.9 09-Oct-2018  kamil Drop Pad functions from sha2(3)

This man-page first appeared before porting all the features to NetBSD and
actually Pad ones were never ported. Keeping it in the documentation is
misleading and actually caused bugs in handling of these functions in 3rd
party software.
 1.8 30-Oct-2017  wiz branches: 1.8.2; 1.8.4;
Remove Tn. Do not split on An lines.
 1.7 25-Oct-2017  abhinav Add sha_224, sha_384 and sha_512 family of functions to the NAME section as well.
Also use .An for authors in the AUTHORS section
 1.6 03-Jul-2017  wiz Remove workaround for ancient HTML generation code.
 1.5 26-May-2009  joerg Add SHA224 implementation to libc.
Make libcrypto use the SHA2 implementation of libc.
Bump minor versions of libc and libcrypto.
 1.4 26-Dec-2005  perry branches: 1.4.4; 1.4.14; 1.4.26; 1.4.32;
u_intN_t -> uintN_t
 1.3 22-Nov-2005  tron SHA2 support appeared in NetBSD 3.0.
 1.2 10-Sep-2005  wiz Prefer
.In foo
to
.Fd #include <foo>
Mark up NULL with .Dv.
Use \*[Am], \*[Lt] for HTML output.
Add missing commas in enumerations.
 1.1 20-Aug-2005  elad branches: 1.1.2;
Add SHA2 hashing routines to userland.

At the moment there's only code for the init/transform/update/final
routines.

Man-page from OpenBSD.
 1.1.2.3 22-Nov-2005  riz Pull up following revision(s) (requested by tron in ticket #986):
lib/libc/hash/sha2/sha2.3: revision 1.3
SHA2 support appeared in NetBSD 3.0.
 1.1.2.2 08-Sep-2005  tron Apply patch (requested by elad in ticket #743):
Introduce SHA2 hashing routines in userland, including the common
helper routines.
 1.1.2.1 20-Aug-2005  tron file sha2.3 was added on branch netbsd-3 on 2005-09-08 19:15:44 +0000
 1.4.32.1 14-Jul-2009  snj branches: 1.4.32.1.2;
Pull up following revisions (requested by joerg in ticket #855):
common/lib/libc/hash/sha2/sha2.c: revisions 1.8-1.18 via patch
crypto/dist/openssl/crypto/evp/m_sha1.c: revisions 1.2-1.3 via patch
distrib/sets/lists/base/md.amd64: revision 1.51 via patch
distrib/sets/lists/base/md.sparc64: revision 1.46 via patch
distrib/sets/lists/base/shl.mi: revision 1.474 via patch
distrib/sets/lists/comp/mi: revision 1.1263 via patch
lib/libc/shlib_version: patch
lib/libc/hash/sha2/Makefile.inc: revision 1.4 via patch
lib/libc/hash/sha2/sha2.3: revision 1.5 via patch
lib/libc/hash/sha2/sha224hl.c: revision 1.1 via patch
lib/libc/include/namespace.h: revision 1.138 via patch
lib/libcrypto/libc-sha256.c: revision 1.1 via patch
lib/libcrypto/libc-sha512.c: revision 1.1 via patch
lib/libcrypto/sha.inc: revision 1.10 via patch
lib/libcrypto/shlib_version: patch
sys/lib/libkern/arch/vax/Makefile.inc: revision 1.21 via patch
sys/sys/sha2.h: revision 1.3 via patch
Add SHA224 implementation to libc.
Make libcrypto use the SHA2 implementation of libc.
Bump minor versions of libc and libcrypto.
 1.4.32.1.2.1 21-Apr-2010  matt sync to netbsd-5
 1.4.26.1 14-Jul-2009  snj Pull up following revisions (requested by joerg in ticket #855):
common/lib/libc/hash/sha2/sha2.c: revisions 1.8-1.18 via patch
crypto/dist/openssl/crypto/evp/m_sha1.c: revisions 1.2-1.3 via patch
distrib/sets/lists/base/md.amd64: revision 1.51 via patch
distrib/sets/lists/base/md.sparc64: revision 1.46 via patch
distrib/sets/lists/base/shl.mi: revision 1.474 via patch
distrib/sets/lists/comp/mi: revision 1.1263 via patch
lib/libc/shlib_version: patch
lib/libc/hash/sha2/Makefile.inc: revision 1.4 via patch
lib/libc/hash/sha2/sha2.3: revision 1.5 via patch
lib/libc/hash/sha2/sha224hl.c: revision 1.1 via patch
lib/libc/include/namespace.h: revision 1.138 via patch
lib/libcrypto/libc-sha256.c: revision 1.1 via patch
lib/libcrypto/libc-sha512.c: revision 1.1 via patch
lib/libcrypto/sha.inc: revision 1.10 via patch
lib/libcrypto/shlib_version: patch
sys/sys/sha2.h: revision 1.3 via patch
Add SHA224 implementation to libc.
Make libcrypto use the SHA2 implementation of libc.
Bump minor versions of libc and libcrypto.
 1.4.14.1 22-Jul-2009  snj Apply patch (requested by joerg in ticket #1338):
- Add support for SHA224 to libc
- Fix Big Endian support in some cases
- Use libc support in libcrypto
 1.4.4.1 22-Jul-2009  snj Apply patch (requested by joerg in ticket #1338):
- Add support for SHA224 to libc
- Fix Big Endian support in some cases
- Use libc support in libcrypto
 1.8.4.1 10-Jun-2019  christos Sync with HEAD
 1.8.2.1 20-Oct-2018  pgoyette Sync with head
 1.7 27-Oct-2006  christos this moved to common/lib/libc/hash
 1.6 15-Oct-2006  christos static before const.
 1.5 26-Sep-2005  christos Add missing SHA384_Transform. XXX: Is that correct?
 1.4 25-Sep-2005  elad Fix weak aliasing after recent changes.

Inspired by comments from christos@, xtraeme@, mlelstv@, mhitch@, mrg@,
and uwe@; all the bugs are mine.
 1.3 26-Aug-2005  elad branches: 1.3.2;
Include namespace.h to make this build in nbcompat.
 1.2 20-Aug-2005  elad Pass lint and make this compile.
Also change bcopy, bzero -> memcpy, memset.
 1.1 20-Aug-2005  elad Add SHA2 hashing routines to userland.

At the moment there's only code for the init/transform/update/final
routines.

Man-page from OpenBSD.
 1.3.2.3 28-Aug-2007  ghen Pull up patches (requested by joerg in ticket #1812):
lib/libc/hash/sha2/sha2.c: patch
sys/crypto/ripemd160/rmd160.c: patch
sys/crypto/sha2/sha2.c: patch
Fix SIGBUS issues on strict alignment issues. Use le32dec in RMD160
as the data pointer to RMD160_Update doesn't have to be aligned.
In SHA256_Update and SHA512_Update, only operate directly on the passed
in data if no left-over in the context exists and the data is correctly
aligned. The problem was exposed by the audit-packages rewrite in C
and reported for the libnbcompat version in PR pkg/36662.
cast to void* to avoid a fatal warning
 1.3.2.2 08-Sep-2005  tron branches: 1.3.2.2.2; 1.3.2.2.4;
Apply patch (requested by elad in ticket #743):
Introduce SHA2 hashing routines in userland, including the common
helper routines.
 1.3.2.1 26-Aug-2005  tron branches: 1.3.2.1.2; 1.3.2.1.4;
file sha2.c was added on branch netbsd-3 on 2005-09-08 19:15:44 +0000
 1.3.2.2.4.1 28-Aug-2007  ghen Pull up patches (requested by joerg in ticket #1812):
lib/libc/hash/sha2/sha2.c: patch
sys/crypto/ripemd160/rmd160.c: patch
sys/crypto/sha2/sha2.c: patch
Fix SIGBUS issues on strict alignment issues. Use le32dec in RMD160
as the data pointer to RMD160_Update doesn't have to be aligned.
In SHA256_Update and SHA512_Update, only operate directly on the passed
in data if no left-over in the context exists and the data is correctly
aligned. The problem was exposed by the audit-packages rewrite in C
and reported for the libnbcompat version in PR pkg/36662.
cast to void* to avoid a fatal warning
 1.3.2.2.2.1 28-Aug-2007  ghen Pull up patches (requested by joerg in ticket #1812):
lib/libc/hash/sha2/sha2.c: patch
sys/crypto/ripemd160/rmd160.c: patch
sys/crypto/sha2/sha2.c: patch
Fix SIGBUS issues on strict alignment issues. Use le32dec in RMD160
as the data pointer to RMD160_Update doesn't have to be aligned.
In SHA256_Update and SHA512_Update, only operate directly on the passed
in data if no left-over in the context exists and the data is correctly
aligned. The problem was exposed by the audit-packages rewrite in C
and reported for the libnbcompat version in PR pkg/36662.
cast to void* to avoid a fatal warning
 1.3.2.1.4.1 locked by: joerg; 26-Aug-2005  ghen file sha2.c was added on branch netbsd-3 on 2007-08-28 13:33:03 +0000
 1.3.2.1.2.1 locked by: joerg; 26-Aug-2005  ghen file sha2.c was added on branch netbsd-3 on 2007-08-28 13:32:31 +0000
 1.2 11-Dec-2014  riastradh Fix rcsid comment.
 1.1 26-May-2009  joerg branches: 1.1.2; 1.1.4; 1.1.6; 1.1.8;
Add SHA224 implementation to libc.
Make libcrypto use the SHA2 implementation of libc.
Bump minor versions of libc and libcrypto.
 1.1.8.2 22-Jul-2009  snj Apply patch (requested by joerg in ticket #1338):
- Add support for SHA224 to libc
- Fix Big Endian support in some cases
- Use libc support in libcrypto
 1.1.8.1 26-May-2009  snj file sha224hl.c was added on branch netbsd-4-0 on 2009-07-22 22:39:46 +0000
 1.1.6.2 22-Jul-2009  snj Apply patch (requested by joerg in ticket #1338):
- Add support for SHA224 to libc
- Fix Big Endian support in some cases
- Use libc support in libcrypto
 1.1.6.1 26-May-2009  snj file sha224hl.c was added on branch netbsd-4 on 2009-07-22 22:31:07 +0000
 1.1.4.2 14-Jul-2009  snj Pull up following revisions (requested by joerg in ticket #855):
common/lib/libc/hash/sha2/sha2.c: revisions 1.8-1.18 via patch
crypto/dist/openssl/crypto/evp/m_sha1.c: revisions 1.2-1.3 via patch
distrib/sets/lists/base/md.amd64: revision 1.51 via patch
distrib/sets/lists/base/md.sparc64: revision 1.46 via patch
distrib/sets/lists/base/shl.mi: revision 1.474 via patch
distrib/sets/lists/comp/mi: revision 1.1263 via patch
lib/libc/shlib_version: patch
lib/libc/hash/sha2/Makefile.inc: revision 1.4 via patch
lib/libc/hash/sha2/sha2.3: revision 1.5 via patch
lib/libc/hash/sha2/sha224hl.c: revision 1.1 via patch
lib/libc/include/namespace.h: revision 1.138 via patch
lib/libcrypto/libc-sha256.c: revision 1.1 via patch
lib/libcrypto/libc-sha512.c: revision 1.1 via patch
lib/libcrypto/sha.inc: revision 1.10 via patch
lib/libcrypto/shlib_version: patch
sys/sys/sha2.h: revision 1.3 via patch
Add SHA224 implementation to libc.
Make libcrypto use the SHA2 implementation of libc.
Bump minor versions of libc and libcrypto.
 1.1.4.1 26-May-2009  snj file sha224hl.c was added on branch netbsd-5 on 2009-07-14 19:48:04 +0000
 1.1.2.2 14-Jul-2009  snj branches: 1.1.2.2.2;
Pull up following revisions (requested by joerg in ticket #855):
common/lib/libc/hash/sha2/sha2.c: revisions 1.8-1.18 via patch
crypto/dist/openssl/crypto/evp/m_sha1.c: revisions 1.2-1.3 via patch
distrib/sets/lists/base/md.amd64: revision 1.51 via patch
distrib/sets/lists/base/md.sparc64: revision 1.46 via patch
distrib/sets/lists/base/shl.mi: revision 1.474 via patch
distrib/sets/lists/comp/mi: revision 1.1263 via patch
lib/libc/shlib_version: patch
lib/libc/hash/sha2/Makefile.inc: revision 1.4 via patch
lib/libc/hash/sha2/sha2.3: revision 1.5 via patch
lib/libc/hash/sha2/sha224hl.c: revision 1.1 via patch
lib/libc/include/namespace.h: revision 1.138 via patch
lib/libcrypto/libc-sha256.c: revision 1.1 via patch
lib/libcrypto/libc-sha512.c: revision 1.1 via patch
lib/libcrypto/sha.inc: revision 1.10 via patch
lib/libcrypto/shlib_version: patch
sys/lib/libkern/arch/vax/Makefile.inc: revision 1.21 via patch
sys/sys/sha2.h: revision 1.3 via patch
Add SHA224 implementation to libc.
Make libcrypto use the SHA2 implementation of libc.
Bump minor versions of libc and libcrypto.
 1.1.2.1 26-May-2009  snj file sha224hl.c was added on branch netbsd-5-0 on 2009-07-14 19:35:23 +0000
 1.1.2.2.2.1 21-Apr-2010  matt sync to netbsd-5
 1.8 13-Apr-2008  dholland branches: 1.8.10;
Fix replicated typo
 1.7 28-Oct-2006  agc More cleanup after sha2.h and rmd160.h moved house
 1.6 28-Sep-2005  christos Rename "hash.c" to "hashhl.c" since this is included from *hl.c files.
The name "hash.c" is already used in db/hash/hash.c, and having duplicated
names, aside from it being bad style, breaks the tools/nbcompat build
because it picks the wrong hash.c file. Thanks to greg for helping debug
this.
 1.5 26-Sep-2005  christos The weak alias macros can only work before namespace.h gets included because
when the strings get expanded we gain an _ from namespace.h. So define a
macro to point to the appropriate include file for the hash function, and
include the hash function later, from the .c file we always include. This
allows us to eliminate the hack of including namespace.h twice as well as
nbtool_config.h.
 1.4 24-Sep-2005  elad Use common code from hash.c.
 1.3 26-Aug-2005  elad branches: 1.3.2;
Include namespace.h to make this build in nbcompat.
 1.2 24-Aug-2005  tron Fix lint warnings.
 1.1 23-Aug-2005  elad Add helper routines (end, filechunk, file, data) for SHA2.
 1.3.2.2 08-Sep-2005  tron Apply patch (requested by elad in ticket #743):
Introduce SHA2 hashing routines in userland, including the common
helper routines.
 1.3.2.1 26-Aug-2005  tron file sha256hl.c was added on branch netbsd-3 on 2005-09-08 19:15:44 +0000
 1.8.10.2 13-Apr-2008  dholland Fix replicated typo
 1.8.10.1 13-Apr-2008  dholland file sha256hl.c was added on branch christos-time_t on 2008-04-13 02:04:33 +0000
 1.8 13-Apr-2008  dholland branches: 1.8.10;
Fix replicated typo
 1.7 28-Oct-2006  agc More cleanup after sha2.h and rmd160.h moved house
 1.6 28-Sep-2005  christos Rename "hash.c" to "hashhl.c" since this is included from *hl.c files.
The name "hash.c" is already used in db/hash/hash.c, and having duplicated
names, aside from it being bad style, breaks the tools/nbcompat build
because it picks the wrong hash.c file. Thanks to greg for helping debug
this.
 1.5 26-Sep-2005  christos The weak alias macros can only work before namespace.h gets included because
when the strings get expanded we gain an _ from namespace.h. So define a
macro to point to the appropriate include file for the hash function, and
include the hash function later, from the .c file we always include. This
allows us to eliminate the hack of including namespace.h twice as well as
nbtool_config.h.
 1.4 24-Sep-2005  elad Use common code from hash.c.
 1.3 26-Aug-2005  elad branches: 1.3.2;
Include namespace.h to make this build in nbcompat.
 1.2 24-Aug-2005  tron Fix lint warnings.
 1.1 23-Aug-2005  elad Add helper routines (end, filechunk, file, data) for SHA2.
 1.3.2.2 08-Sep-2005  tron Apply patch (requested by elad in ticket #743):
Introduce SHA2 hashing routines in userland, including the common
helper routines.
 1.3.2.1 26-Aug-2005  tron file sha384hl.c was added on branch netbsd-3 on 2005-09-08 19:15:44 +0000
 1.8.10.2 13-Apr-2008  dholland Fix replicated typo
 1.8.10.1 13-Apr-2008  dholland file sha384hl.c was added on branch christos-time_t on 2008-04-13 02:04:33 +0000
 1.8 13-Apr-2008  dholland branches: 1.8.10;
Fix replicated typo
 1.7 28-Oct-2006  agc More cleanup after sha2.h and rmd160.h moved house
 1.6 28-Sep-2005  christos Rename "hash.c" to "hashhl.c" since this is included from *hl.c files.
The name "hash.c" is already used in db/hash/hash.c, and having duplicated
names, aside from it being bad style, breaks the tools/nbcompat build
because it picks the wrong hash.c file. Thanks to greg for helping debug
this.
 1.5 26-Sep-2005  christos The weak alias macros can only work before namespace.h gets included because
when the strings get expanded we gain an _ from namespace.h. So define a
macro to point to the appropriate include file for the hash function, and
include the hash function later, from the .c file we always include. This
allows us to eliminate the hack of including namespace.h twice as well as
nbtool_config.h.
 1.4 24-Sep-2005  elad Use common code from hash.c.
 1.3 26-Aug-2005  elad branches: 1.3.2;
Include namespace.h to make this build in nbcompat.
 1.2 24-Aug-2005  tron Fix lint warnings.
 1.1 23-Aug-2005  elad Add helper routines (end, filechunk, file, data) for SHA2.
 1.3.2.2 08-Sep-2005  tron Apply patch (requested by elad in ticket #743):
Introduce SHA2 hashing routines in userland, including the common
helper routines.
 1.3.2.1 26-Aug-2005  tron file sha512hl.c was added on branch netbsd-3 on 2005-09-08 19:15:44 +0000
 1.8.10.2 13-Apr-2008  dholland Fix replicated typo
 1.8.10.1 13-Apr-2008  dholland file sha512hl.c was added on branch christos-time_t on 2008-04-13 02:04:33 +0000

RSS XML Feed