Searched refs:curr_buff_cnt (Results 1 – 2 of 2) sorted by relevance
/linux-6.6.21/drivers/crypto/ccree/ |
D | cc_buffer_mgr.c | 316 u8 *curr_buff, u32 curr_buff_cnt, in cc_set_hash_buf() argument 319 dev_dbg(dev, " handle curr buff %x set to DLLI\n", curr_buff_cnt); in cc_set_hash_buf() 321 sg_init_one(areq_ctx->buff_sg, curr_buff, curr_buff_cnt); in cc_set_hash_buf() 334 cc_add_sg_entry(dev, sg_data, 1, areq_ctx->buff_sg, curr_buff_cnt, 0, in cc_set_hash_buf() 1148 u32 *curr_buff_cnt = cc_hash_buf_cnt(areq_ctx); in cc_map_hash_request_final() local 1156 curr_buff, *curr_buff_cnt, nbytes, src, areq_ctx->buff_index); in cc_map_hash_request_final() 1163 if (nbytes == 0 && *curr_buff_cnt == 0) { in cc_map_hash_request_final() 1169 if (*curr_buff_cnt) { in cc_map_hash_request_final() 1170 rc = cc_set_hash_buf(dev, areq_ctx, curr_buff, *curr_buff_cnt, in cc_map_hash_request_final() 1214 if (*curr_buff_cnt) in cc_map_hash_request_final() [all …]
|
D | cc_hash.c | 1505 u32 curr_buff_cnt = *cc_hash_buf_cnt(state); in cc_hash_export() local 1517 memcpy(out, &curr_buff_cnt, sizeof(u32)); in cc_hash_export() 1520 memcpy(out, curr_buff, curr_buff_cnt); in cc_hash_export()
|