Lines Matching defs:pad_len
186 * @pad_len: Number of pad bytes
199 u8 tx_frag_num, unsigned int chunksize, u32 pad_len)
231 if (pad_len)
232 sg_set_buf(sg++, rctx->msg_buf.spu_req_pad, pad_len);
314 u32 pad_len; /* total length of all padding */
409 pad_len = stat_pad_len;
410 if (pad_len) {
421 packet_dump(" pad: ", rctx->msg_buf.spu_req_pad, pad_len);
453 pad_len);
564 * @pad_len: Number of pad bytes
580 unsigned int new_data_len, u32 pad_len)
611 if (pad_len)
612 sg_set_buf(sg++, rctx->msg_buf.spu_req_pad, pad_len);
671 int pad_len = 0; /* total pad len, including gcm, hash, stat padding */
784 hash_parms.pad_len = spu->spu_hash_pad_len(hash_parms.alg,
832 0, 0, hash_parms.pad_len);
837 pad_len = hash_parms.pad_len + data_pad_len + stat_pad_len;
838 if (pad_len) {
841 hash_parms.pad_len, ctx->auth.alg,
851 packet_dump(" pad: ", rctx->msg_buf.spu_req_pad, pad_len);
872 local_nbuf, new_data_len, pad_len);
1145 * @pad_len: Number of pad bytes
1166 u32 aad_pad_len, u32 pad_len, bool incl_icv)
1220 if (pad_len) {
1221 memset(rctx->msg_buf.spu_req_pad, 0, pad_len);
1222 sg_set_buf(sg++, rctx->msg_buf.spu_req_pad, pad_len);
1266 u32 pad_len;
1441 pad_len = aead_parms.data_pad_len + stat_pad_len;
1442 if (pad_len) {
1456 packet_dump(" pad: ", rctx->msg_buf.spu_req_pad, pad_len);
1508 aead_parms.aad_pad_len, pad_len, incl_icv);