crypto/aesni_gcm: remove unneeded cast
qp->temp_digest is already an array of uint8_t,
so no need to cast to uint8_t*.
Fixes: baf1e63bfd
("crypto/aesni_gcm: do not append digest")
Cc: stable@dpdk.org
Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
Acked-by: Fiona Trahe <fiona.trahe@intel.com>
This commit is contained in:
parent
279e0f57b5
commit
5fa2a3089b
@ -352,7 +352,7 @@ post_process_gcm_crypto_op(struct aesni_gcm_qp *qp,
|
||||
session->op == AESNI_GMAC_OP_VERIFY) {
|
||||
uint8_t *digest;
|
||||
|
||||
uint8_t *tag = (uint8_t *)&qp->temp_digest;
|
||||
uint8_t *tag = qp->temp_digest;
|
||||
|
||||
if (session->op == AESNI_GMAC_OP_VERIFY)
|
||||
digest = op->sym->auth.digest.data;
|
||||
|
Loading…
Reference in New Issue
Block a user