Lines Matching +full:aes +full:- +full:gcm
1 /* SPDX-License-Identifier: GPL-2.0-only */
8 * SPU message formats: SPU-M and SPU2. The hardware uses different values to
9 * identify the same things in SPU-M vs SPU2. So this file defines values that
12 * spu.c and spu2.c convert these to hardware-specific values.
134 /* length of hash pad. signed, needs to handle roll-overs */
141 u8 aad_pad_len; /* For AES GCM/CCM, length of padding after AAD */
142 u8 data_pad_len;/* For AES GCM/CCM, length of padding after data */
152 /* Max length of padding for 4-byte alignment of STATUS field */
155 /* Max length of pad fragment. 4 is for 4-byte alignment of STATUS field */
159 /* GCM and CCM require 16-byte alignment */
176 /* CCM B_0 field definitions, common for SPU-M and SPU2 */
186 * spu_req_incl_icv() - Return true if SPU request message should include the