Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE
|
#
1.10 |
|
03-Sep-2016 |
tedu |
i forgot to commit sha2.h changes for SHA512/256
|
Revision tags: OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE
|
#
1.9 |
|
15-Apr-2013 |
millert |
SHA-224 is to SHA-256 as SHA-384 is to SHA-512. It was added in a later revision of FIPS-180. OK miod@ jmc@ guenther@ djm@
|
Revision tags: OPENBSD_5_3_BASE
|
#
1.8 |
|
05-Dec-2012 |
deraadt |
Remove excessive sys/cdefs.h inclusion ok guenther millert kettenis
|
Revision tags: OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE
|
#
1.7 |
|
06-Sep-2008 |
djm |
Rename SHA256/384/512 API to avoid namespace collisions with forthcoming OpenSSL update.
Function names lose their underscore (SHA256_Init => SHA256Init) and the various SHA256_CTX, SHA512_CTX are merged into a single SHA2_CTX that is used for all these hashes.
ok millert@ manpage bits jmc@ "please commit" deraadt@
|
Revision tags: OPENBSD_3_6_BASE OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE
|
#
1.6 |
|
22-Jun-2004 |
jfb |
Make the `filename' parameter to HASHFile() and HASHFileChunk() const ok pedro@, millert@
|
#
1.5 |
|
05-May-2004 |
millert |
Make the Transform functions match the other hash types and document them. Use sizeof() in the Init functions where it makes sense. Use weak aliases instead of wrapper functions.
Probably should have gone in before the major bump but as these are only used internally by the sha2 functions themselves there should be no problem.
|
#
1.4 |
|
03-May-2004 |
millert |
Add Pad and FileChunk functions for each family of hash functions. The Pad function does padding like in Final but does not finish processing. The FileChunk function creates a digest from a portion of a file. Also made the length parameters consistent (and size_t).
|
#
1.3 |
|
29-Apr-2004 |
millert |
Undo some recent prototype changes; it is legal to pass the helper functions can take a NULL buf pointer. They will malloc memory as needed in this case.
|
#
1.2 |
|
27-Apr-2004 |
millert |
Add __bounded__ attributes like the other hash functions have. With help from avsm@
|
Revision tags: OPENBSD_3_4_BASE OPENBSD_3_5_BASE
|
#
1.1 |
|
08-May-2003 |
millert |
Add sha2 routines based on code by Aaron D. Gifford with minor massaging and a man page by me. I used the phk-derived stuff for sha2hl.c instead of Aaron's for consistency with our other hash routines.
|