Skip to contentSkip to conversation

wrongly assignment of digest_len

Bug 98 [email protected] 1 participant 1 message Oct 24, 2018

lore
Share & tools
lore
#0 lore raw

https://bugs.dpdk.org/show_bug.cgi?id=98

            Bug ID: 98
           Summary: wrongly assignment of digest_len
           Product: DPDK
           Version: 18.08
          Hardware: All
                OS: All
            Status: CONFIRMED
          Severity: normal
          Priority: Normal
         Component: cryptodev
          Assignee: [email protected]
          Reporter: [email protected]

Target Milestone: ---

rte_aesni_mb_pmd.c:406

sess->auth.digest_len = xform->auth.digest_length;

should be:

sess->auth.digest_len = xform->next->auth.digest_length;

To assign session's auth digiest length by auth xform, instead of cipher form.

This causes a wrong truncated mac size of AES-CMAC.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.