diff options
author | Michael Brown <mcb30@ipxe.org> | 2010-04-19 20:16:01 +0100 |
---|---|---|
committer | Michael Brown <mcb30@ipxe.org> | 2010-04-19 23:43:39 +0100 |
commit | 8406115834d38bb743e01f35bfd36e835532415e (patch) | |
tree | ee1e3106e2cdc645d911ba5643f8414b21fc4c3e /src/include/ipxe/sha1.h | |
parent | 2a36703af228bd10d50a31daec96072fe3a992a3 (diff) | |
download | ipxe-8406115834d38bb743e01f35bfd36e835532415e.tar.gz |
[build] Rename gPXE to iPXE
Access to the gpxe.org and etherboot.org domains and associated
resources has been revoked by the registrant of the domain. Work
around this problem by renaming project from gPXE to iPXE, and
updating URLs to match.
Also update README, LOG and COPYRIGHTS to remove obsolete information.
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/ipxe/sha1.h')
-rw-r--r-- | src/include/ipxe/sha1.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/include/ipxe/sha1.h b/src/include/ipxe/sha1.h new file mode 100644 index 000000000..9b6f55147 --- /dev/null +++ b/src/include/ipxe/sha1.h @@ -0,0 +1,24 @@ +#ifndef _IPXE_SHA1_H +#define _IPXE_SHA1_H + +FILE_LICENCE ( GPL2_OR_LATER ); + +#include "crypto/axtls/crypto.h" + +struct digest_algorithm; + +#define SHA1_CTX_SIZE sizeof ( SHA1_CTX ) +#define SHA1_DIGEST_SIZE SHA1_SIZE + +extern struct digest_algorithm sha1_algorithm; + +/* SHA1-wrapping functions defined in sha1extra.c: */ + +void prf_sha1 ( const void *key, size_t key_len, const char *label, + const void *data, size_t data_len, void *prf, size_t prf_len ); + +void pbkdf2_sha1 ( const void *passphrase, size_t pass_len, + const void *salt, size_t salt_len, + int iterations, void *key, size_t key_len ); + +#endif /* _IPXE_SHA1_H */ |