Displaying 2 results from an estimated 2 matches for "sha256_digest".
2013 Feb 21
0
[PATCH 1/4] purgatory: put variables altered by kexec in .data not .bss
....);
diff --git a/purgatory/purgatory.c b/purgatory/purgatory.c
index 3bbcc09..05f3b48 100644
--- a/purgatory/purgatory.c
+++ b/purgatory/purgatory.c
@@ -6,8 +6,8 @@
#include <string.h>
#include "../kexec/kexec-sha256.h"
-struct sha256_region sha256_regions[SHA256_REGIONS] = {};
-sha256_digest_t sha256_digest = { };
+struct sha256_region sha256_regions[SHA256_REGIONS] __data = {};
+sha256_digest_t sha256_digest __data = { };
int verify_sha256_digest(void)
{
--
1.7.2.5
2007 Feb 24
2
SHA256 password patch
...gay/sha2/).
Changes made by me in Olivier's sha2{.h,.c} code:
- Prototype for sha256_transf is added to sha2.h
- sha256_get_digest() is added to sha2{.h,.c}
- Code for UNROLL_LOOPS is removed
- Support for SHA224,SHA384,SHA512 was removed
- Functions are renamed to match those in sha1{.h,.c}
- SHA256_DIGEST_SIZE is renamed to SHA256_RESULTLEN
I can add safe_memset calls if requested.
Patch is attached and can also be found at
http://www.malochia.nl/dovecot/sha256.patch
Kind regards,
Jasper
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: sh...