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);
566 * @pad_len: Number of pad bytes
582 unsigned int new_data_len, u32 pad_len)
614 if (pad_len)
615 sg_set_buf(sg++, rctx->msg_buf.spu_req_pad, pad_len);
674 int pad_len = 0; /* total pad len, including gcm, hash, stat padding */
787 hash_parms.pad_len = spu->spu_hash_pad_len(hash_parms.alg,
835 0, 0, hash_parms.pad_len);
840 pad_len = hash_parms.pad_len + data_pad_len + stat_pad_len;
841 if (pad_len) {
844 hash_parms.pad_len, ctx->auth.alg,
854 packet_dump(" pad: ", rctx->msg_buf.spu_req_pad, pad_len);
875 local_nbuf, new_data_len, pad_len);
1149 * @pad_len: Number of pad bytes
1170 u32 aad_pad_len, u32 pad_len, bool incl_icv)
1225 if (pad_len) {
1226 memset(rctx->msg_buf.spu_req_pad, 0, pad_len);
1227 sg_set_buf(sg++, rctx->msg_buf.spu_req_pad, pad_len);
1271 u32 pad_len;
1446 pad_len = aead_parms.data_pad_len + stat_pad_len;
1447 if (pad_len) {
1461 packet_dump(" pad: ", rctx->msg_buf.spu_req_pad, pad_len);
1513 aead_parms.aad_pad_len, pad_len, incl_icv);