Lines Matching defs:pad_len
186 * @pad_len: Number of pad bytes
199 u8 tx_frag_num, unsigned int chunksize, u32 pad_len)
232 if (pad_len)
233 sg_set_buf(sg++, rctx->msg_buf.spu_req_pad, pad_len);
315 u32 pad_len; /* total length of all padding */
410 pad_len = stat_pad_len;
411 if (pad_len) {
422 packet_dump(" pad: ", rctx->msg_buf.spu_req_pad, pad_len);
454 pad_len);
568 * @pad_len: Number of pad bytes
584 unsigned int new_data_len, u32 pad_len)
616 if (pad_len)
617 sg_set_buf(sg++, rctx->msg_buf.spu_req_pad, pad_len);
676 int pad_len = 0; /* total pad len, including gcm, hash, stat padding */
789 hash_parms.pad_len = spu->spu_hash_pad_len(hash_parms.alg,
837 0, 0, hash_parms.pad_len);
842 pad_len = hash_parms.pad_len + data_pad_len + stat_pad_len;
843 if (pad_len) {
846 hash_parms.pad_len, ctx->auth.alg,
856 packet_dump(" pad: ", rctx->msg_buf.spu_req_pad, pad_len);
877 local_nbuf, new_data_len, pad_len);
1152 * @pad_len: Number of pad bytes
1173 u32 aad_pad_len, u32 pad_len, bool incl_icv)
1228 if (pad_len) {
1229 memset(rctx->msg_buf.spu_req_pad, 0, pad_len);
1230 sg_set_buf(sg++, rctx->msg_buf.spu_req_pad, pad_len);
1274 u32 pad_len;
1449 pad_len = aead_parms.data_pad_len + stat_pad_len;
1450 if (pad_len) {
1464 packet_dump(" pad: ", rctx->msg_buf.spu_req_pad, pad_len);
1516 aead_parms.aad_pad_len, pad_len, incl_icv);