|
cryptlib
3.4.1
|
Go to the source code of this file.
Classes | |
| struct | sha256_ctx |
| struct | sha2_ctx |
Macros | |
| #define | SHA_2 /* for dynamic hash length */ |
| #define | SHA_224 |
| #define | SHA_256 |
| #define | SHA224_DIGEST_SIZE 28 |
| #define | SHA224_BLOCK_SIZE 64 |
| #define | SHA256_DIGEST_SIZE 32 |
| #define | SHA256_BLOCK_SIZE 64 |
| #define | sha224_hash sha256_hash |
| #define | SHA2_MAX_DIGEST_SIZE SHA256_DIGEST_SIZE |
Typedefs | |
| typedef sha256_ctx | sha224_ctx |
Functions | |
| VOID_RETURN | sha256_compile (sha256_ctx ctx[1]) |
| VOID_RETURN | sha224_begin (sha224_ctx ctx[1]) |
| VOID_RETURN | sha224_end (unsigned char hval[], sha224_ctx ctx[1]) |
| VOID_RETURN | sha224 (unsigned char hval[], const unsigned char data[], unsigned long len) |
| VOID_RETURN | sha256_begin (sha256_ctx ctx[1]) |
| VOID_RETURN | sha256_hash (const unsigned char data[], unsigned long len, sha256_ctx ctx[1]) |
| VOID_RETURN | sha256_end (unsigned char hval[], sha256_ctx ctx[1]) |
| VOID_RETURN | sha256 (unsigned char hval[], const unsigned char data[], unsigned long len) |
| #define sha224_hash sha256_hash |
| #define SHA2_MAX_DIGEST_SIZE SHA256_DIGEST_SIZE |
| typedef sha256_ctx sha224_ctx |
| VOID_RETURN sha224 | ( | unsigned char | hval[], |
| const unsigned char | data[], | ||
| unsigned long | len | ||
| ) |
| VOID_RETURN sha224_begin | ( | sha224_ctx | ctx[1] | ) |
| VOID_RETURN sha224_end | ( | unsigned char | hval[], |
| sha224_ctx | ctx[1] | ||
| ) |
| VOID_RETURN sha256 | ( | unsigned char | hval[], |
| const unsigned char | data[], | ||
| unsigned long | len | ||
| ) |
| VOID_RETURN sha256_begin | ( | sha256_ctx | ctx[1] | ) |
| VOID_RETURN sha256_compile | ( | sha256_ctx | ctx[1] | ) |
| VOID_RETURN sha256_end | ( | unsigned char | hval[], |
| sha256_ctx | ctx[1] | ||
| ) |
| VOID_RETURN sha256_hash | ( | const unsigned char | data[], |
| unsigned long | len, | ||
| sha256_ctx | ctx[1] | ||
| ) |
1.8.2