Visible to Intel only — GUID: gxf1668477577176
Ixiasoft
Visible to Intel only — GUID: gxf1668477577176
Ixiasoft
5.5. GCM Padding and Depadding
Crypto QHIP supports AAD/Bypass/Text data padding and depadding feature when using the Generic GCM profile. This feature allows the AAD and Bypass data sent by you in the Crypto ingress direction to be padded in non-16 byte alignment within the payload. In the Crypto egress direction, the AAD, Bypass, Text, and MAC from the Crypto ICA HIP are aligned to 16 bytes. The GCM depadding logic unpacks these 16 byte-aligned fields in the QHIP to non-16 byte alignment and then sends them to your application via the AXI-ST bus. You can enable or disable the padding at ingress or depadding at egress separately via dialog check boxes in the IP GUI. When a feature is disabled, the IP optimizes all the padding or depadding logic away.
The length in Bypass, AAD, or Text field is for the last segment without counting the possible leading segments of 16-byte data.