Home
last modified time | relevance | path

Searched refs:sg_num (Results 1 – 2 of 2) sorted by relevance

/external/u-boot/drivers/crypto/fsl/
Dfsl_hash.c90 if (ctx->sg_num >= MAX_SG_32) { in caam_hash_update()
96 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()
105 ctx->sg_num++; 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()
140 for (i = 0; i < ctx->sg_num; i++) in caam_hash_finish()
Dfsl_hash.h27 uint32_t sg_num; member