#include <rz_types.h>
#include <sys/types.h>
Go to the source code of this file.
|
void | SHA256_Init (RZ_SHA256_CTX *) |
|
void | SHA256_Update (RZ_SHA256_CTX *, const u_int8_t *, size_t) |
|
void | SHA256_Final (u_int8_t *, RZ_SHA256_CTX *) |
|
char * | SHA256_End (RZ_SHA256_CTX *, char *) |
|
char * | SHA256_Data (const u_int8_t *, size_t, char[SHA256_DIGEST_STRING_LENGTH]) |
|
void | SHA384_Init (RZ_SHA384_CTX *) |
|
void | SHA384_Update (RZ_SHA384_CTX *, const u_int8_t *, size_t) |
|
void | SHA384_Final (u_int8_t *, RZ_SHA384_CTX *) |
|
char * | SHA384_End (RZ_SHA384_CTX *, char *) |
|
char * | SHA384_Data (const u_int8_t *, size_t, char[SHA384_DIGEST_STRING_LENGTH]) |
|
void | SHA512_Init (RZ_SHA512_CTX *) |
|
void | SHA512_Update (RZ_SHA512_CTX *, const u_int8_t *, size_t) |
|
void | SHA512_Final (u_int8_t *, RZ_SHA512_CTX *) |
|
char * | SHA512_End (RZ_SHA512_CTX *, char *) |
|
char * | SHA512_Data (const u_int8_t *, size_t, char[SHA512_DIGEST_STRING_LENGTH]) |
|
◆ SHA256_BLOCK_LENGTH [1/2]
#define SHA256_BLOCK_LENGTH 64 |
◆ SHA256_BLOCK_LENGTH [2/2]
#define SHA256_BLOCK_LENGTH 64 |
◆ SHA256_DIGEST_LENGTH
#define SHA256_DIGEST_LENGTH 32 |
◆ SHA256_DIGEST_STRING_LENGTH
◆ SHA384_BLOCK_LENGTH [1/2]
#define SHA384_BLOCK_LENGTH 128 |
◆ SHA384_BLOCK_LENGTH [2/2]
#define SHA384_BLOCK_LENGTH 128 |
◆ SHA384_DIGEST_LENGTH
#define SHA384_DIGEST_LENGTH 48 |
◆ SHA384_DIGEST_STRING_LENGTH
◆ SHA512_BLOCK_LENGTH [1/2]
#define SHA512_BLOCK_LENGTH 128 |
◆ SHA512_BLOCK_LENGTH [2/2]
#define SHA512_BLOCK_LENGTH 128 |
◆ SHA512_DIGEST_LENGTH
#define SHA512_DIGEST_LENGTH 64 |
◆ SHA512_DIGEST_STRING_LENGTH
◆ u_int32_t
◆ u_int64_t
◆ u_int8_t
◆ RZ_SHA256_CTX
◆ RZ_SHA384_CTX
◆ RZ_SHA512_CTX
◆ SHA256_Data()
◆ SHA256_End()
◆ SHA256_Final()
◆ SHA256_Init()
Definition at line 285 of file sha2.c.
memcpy(mem, inblock.get(), min(CONTAINING_RECORD(inblock.get(), MEMBLOCK, data) ->size, size))
RZ_API void rz_mem_memzero(void *, size_t)
static const ut32 sha256_initial_hash_value[8]
#define SHA256_DIGEST_LENGTH
#define SHA256_BLOCK_LENGTH
zip_uint8_t buffer[BUFSIZE]
References context::buffer, memcpy(), rz_mem_memzero(), SHA256_BLOCK_LENGTH, SHA256_DIGEST_LENGTH, and sha256_initial_hash_value.
Referenced by plugin_sha256_init(), plugin_sha256_small_block(), and SHA256_Data().
◆ SHA256_Update()
◆ SHA384_Data()
◆ SHA384_End()
◆ SHA384_Final()
◆ SHA384_Init()
◆ SHA384_Update()
◆ SHA512_Data()
◆ SHA512_End()
◆ SHA512_Final()
◆ SHA512_Init()
◆ SHA512_Update()