sm3_hmac_init, sm3_hmac_update, sm3_hmac_final, sm3_hmac - SM3 Hash Algorithm
#include <openssl/sm3.h>
void sm3_hmac_init(sm3_hmac_ctx_t *ctx, const unsigned char *key, size_t key_len);
void sm3_hmac_update(sm3_hmac_ctx_t *ctx, const unsigned char *data, size_t data_len);
void sm3_hmac_final(sm3_hmac_ctx_t *ctx, unsigned char mac[SM3_HMAC_SIZE]);
void sm3_hmac(const unsigned char *data, size_t data_len,
const unsigned char *key, size_t key_len, unsigned char mac[SM3_HMAC_SIZE]);
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