2 * Copyright 2014 Freescale Semiconductor, Inc.
4 * SPDX-License-Identifier: GPL-2.0+
15 /* We support at most 32 Scatter/Gather Entries.*/
19 * Hash context contains the following fields
20 * @sha_desc: Sha Descriptor
21 * @sg_num: number of entries in sg table
22 * @len: total length of buffer
23 * @sg_tbl: sg entry table
24 * @hash: index to the hash calculated
27 uint32_t sha_desc[64];
30 struct sg_entry sg_tbl[MAX_SG_32];
31 u8 hash[HASH_MAX_DIGEST_SIZE];