Turnstone Operating System
|
SHA-2 (Secure Hash Algorithm 2) family of cryptographic hash functions. More...
#include <types.h>
Typedefs | |
typedef void * | sha256_ctx_t |
typedef void * | sha224_ctx_t |
typedef void * | sha512_ctx_t |
typedef void * | sha384_ctx_t |
Functions | |
sha256_ctx_t | sha256_init (void) |
int8_t | sha256_update (sha256_ctx_t ctx, const uint8_t *data, size_t len) |
uint8_t * | sha256_final (sha256_ctx_t ctx) |
uint8_t * | sha256_hash (uint8_t *data, size_t length) |
sha224_ctx_t | sha224_init (void) |
int8_t | sha224_update (sha224_ctx_t ctx, const uint8_t *data, size_t len) |
uint8_t * | sha224_final (sha224_ctx_t ctx) |
uint8_t * | sha224_hash (uint8_t *data, size_t length) |
sha512_ctx_t | sha512_init (void) |
int8_t | sha512_update (sha512_ctx_t ctx, const uint8_t *data, size_t len) |
uint8_t * | sha512_final (sha512_ctx_t ctx) |
uint8_t * | sha512_hash (uint8_t *data, size_t length) |
sha384_ctx_t | sha384_init (void) |
int8_t | sha384_update (sha384_ctx_t ctx, const uint8_t *data, size_t len) |
uint8_t * | sha384_final (sha384_ctx_t ctx) |
uint8_t * | sha384_hash (uint8_t *data, size_t length) |
SHA-2 (Secure Hash Algorithm 2) family of cryptographic hash functions.
This work is licensed under TURNSTONE OS Public License. Please read and understand latest version of Licence.