Lines Matching refs:stat_pad_len
136 unsigned int chunksize, u32 stat_pad_len) in spu_skcipher_rx_sg_create() argument
168 if (stat_pad_len) in spu_skcipher_rx_sg_create()
169 sg_set_buf(sg++, rctx->msg_buf.rx_stat_pad, stat_pad_len); in spu_skcipher_rx_sg_create()
314 u32 stat_pad_len; /* num bytes to align status field */ in handle_skcipher_req() local
407 stat_pad_len = spu->spu_wordalign_padlen(chunksize); in handle_skcipher_req()
408 if (stat_pad_len) in handle_skcipher_req()
410 pad_len = stat_pad_len; in handle_skcipher_req()
415 rctx->total_sent, stat_pad_len); in handle_skcipher_req()
440 stat_pad_len); in handle_skcipher_req()
528 u32 stat_pad_len) in spu_ahash_rx_sg_create() argument
547 if (stat_pad_len) in spu_ahash_rx_sg_create()
548 sg_set_buf(sg++, rctx->msg_buf.rx_stat_pad, stat_pad_len); in spu_ahash_rx_sg_create()
676 u32 stat_pad_len = 0; /* length of padding to align STATUS word */ in handle_ahash_req() local
837 stat_pad_len = spu->spu_wordalign_padlen(db_size); in handle_ahash_req()
838 if (stat_pad_len) in handle_ahash_req()
840 pad_len = hash_parms.pad_len + data_pad_len + stat_pad_len; in handle_ahash_req()
846 stat_pad_len); in handle_ahash_req()
866 stat_pad_len); in handle_ahash_req()
1047 unsigned int digestsize, u32 stat_pad_len) in spu_aead_rx_sg_create() argument
1122 flow_log("stat_pad_len %u\n", stat_pad_len); in spu_aead_rx_sg_create()
1123 if (stat_pad_len) { in spu_aead_rx_sg_create()
1124 memset(rctx->msg_buf.rx_stat_pad, 0, stat_pad_len); in spu_aead_rx_sg_create()
1125 sg_set_buf(sg++, rctx->msg_buf.rx_stat_pad, stat_pad_len); in spu_aead_rx_sg_create()
1270 u32 stat_pad_len; in handle_aead_req() local
1442 stat_pad_len = spu->spu_wordalign_padlen(db_size); in handle_aead_req()
1444 if (stat_pad_len) in handle_aead_req()
1446 pad_len = aead_parms.data_pad_len + stat_pad_len; in handle_aead_req()
1452 rctx->total_sent, stat_pad_len); in handle_aead_req()
1497 stat_pad_len); in handle_aead_req()