sm3_init, sm3_update, sm3_final, sm3_compress, sm3 - SM3 Hash Algorithm
#include <openssl/sm3.h>
void sm3_init(sm3_ctx_t *ctx);
void sm3_update(sm3_ctx_t *ctx, const unsigned char* data, size_t data_len);
void sm3_final(sm3_ctx_t *ctx, unsigned char digest[SM3_DIGEST_LENGTH]);
void sm3_compress(uint32_t digest[8], const unsigned char block[SM3_BLOCK_SIZE]);
void sm3(const unsigned char *data, size_t datalen,
unsigned char digest[SM3_DIGEST_LENGTH]);
Applications should use the higher level functions RETURN VALUES
sm3_init(), sm3_update(), sm3_final(), sm3_compress() and sm3() return void. GM/T 0004-2012 SM3 Cryptogrpahic Hash Algorithm. COPYRIGHT
Copyright 2014-2019 The GmSSL Project. All Rights Reserved. Licensed under the GmSSL license (the "License"). You may not use this file except in compliance with the License. You can obtain a copy in the file LICENSE in the source distribution or at http://gmssl.org/license.html.CONFORMING TO
SEE ALSO