Home
last modified time | relevance | path

Searched refs:sg_tbl (Results 1 – 5 of 5) sorted by relevance

/external/u-boot/drivers/crypto/fsl/
Dfsl_hash.c96 sec_out32(&ctx->sg_tbl[ctx->sg_num].addr_hi, (uint32_t)(addr >> 32)); in caam_hash_update()
98 sec_out32(&ctx->sg_tbl[ctx->sg_num].addr_hi, 0x0); in caam_hash_update()
100 sec_out32(&ctx->sg_tbl[ctx->sg_num].addr_lo, (uint32_t)addr); in caam_hash_update()
102 sec_out32(&ctx->sg_tbl[ctx->sg_num].len_flag, in caam_hash_update()
108 final = sec_in32(&ctx->sg_tbl[ctx->sg_num - 1].len_flag) | in caam_hash_update()
110 sec_out32(&ctx->sg_tbl[ctx->sg_num - 1].len_flag, final); in caam_hash_update()
141 len += (sec_in32(&ctx->sg_tbl[i].len_flag) & in caam_hash_finish()
144 inline_cnstr_jobdesc_hash(ctx->sha_desc, (uint8_t *)ctx->sg_tbl, len, in caam_hash_finish()
Dfsl_hash.h29 struct sg_entry sg_tbl[MAX_SG_32]; member
Djobdesc.h32 u32 alg_type, uint32_t alg_size, int sg_tbl);
Djobdesc.c177 u32 alg_type, uint32_t alg_size, int sg_tbl) in inline_cnstr_jobdesc_hash() argument
193 if (sg_tbl) in inline_cnstr_jobdesc_hash()
/external/u-boot/board/freescale/common/
Dfsl_validate.c142 struct fsl_secboot_sg_table *sg_tbl; in get_ie_info_addr() local
157 sg_tbl = (struct fsl_secboot_sg_table *) in get_ie_info_addr()
161 sg_tbl = (struct fsl_secboot_sg_table *)(uintptr_t)(csf_addr + in get_ie_info_addr()
167 *ie_addr = (uintptr_t)((sg_tbl->src_addr & in get_ie_info_addr()
171 *ie_addr = (uintptr_t)sg_tbl->src_addr; in get_ie_info_addr()