forked from wolfSSL/wolfssl
HMAC_CTX_copy, copy save_len, save_key
This commit is contained in:
committed by
Jacob Barthelmeh
parent
e93d7d3c93
commit
30e6ec5396
@@ -24729,6 +24729,8 @@ int wolfSSL_HMAC_CTX_copy(WOLFSSL_HMAC_CTX* des, WOLFSSL_HMAC_CTX* src)
|
||||
des->hmac.heap = src->hmac.heap;
|
||||
des->hmac.macType = src->hmac.macType;
|
||||
des->hmac.innerHashKeyed = src->hmac.innerHashKeyed;
|
||||
des->save_len = src->save_len;
|
||||
XMEMCPY(des->save_key, src->save_key, src->save_len);
|
||||
|
||||
#ifdef WOLFSSL_ASYNC_CRYPT
|
||||
XMEMCPY(des->hmac.asyncDev, src->hmac.asyncDev, sizeof(WC_ASYNC_DEV));
|
||||
|
||||
Reference in New Issue
Block a user