mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-07-07 02:40:51 +02:00
fix to use correct struct size for devcrypto memset
This commit is contained in:
@@ -234,7 +234,7 @@ void wc_SetupCryptAead(struct crypt_auth_op* crt, WC_CRYPTODEV* dev,
|
||||
byte* src, word32 srcSz, byte* dst, byte* iv, word32 ivSz, int flag,
|
||||
byte* authIn, word32 authInSz, byte* authTag, word32 authTagSz)
|
||||
{
|
||||
XMEMSET(crt, 0, sizeof(struct crypt_op));
|
||||
XMEMSET(crt, 0, sizeof(struct crypt_auth_op));
|
||||
crt->ses = dev->sess.ses;
|
||||
crt->src = src;
|
||||
crt->len = srcSz;
|
||||
|
||||
Reference in New Issue
Block a user