Home
last modified time | relevance | path

Searched refs:block_len (Results 1 – 5 of 5) sorted by relevance

/f-stack/dpdk/drivers/crypto/qat/
H A Dqat_sym.h84 int block_len = qat_cipher_get_block_size(ctx->qat_cipher_alg); in qat_bpicipher_postprocess() local
86 uint8_t last_block_len = block_len > 0 ? in qat_bpicipher_postprocess()
87 sym_op->cipher.data.length % block_len : 0; in qat_bpicipher_postprocess()
110 iv = dst - block_len; in qat_bpicipher_postprocess()
124 bpi_cipher_encrypt(last_block, dst, iv, block_len, in qat_bpicipher_postprocess()
H A Dqat_sym.c50 int block_len = qat_cipher_get_block_size(ctx->qat_cipher_alg); in qat_bpicipher_preprocess() local
52 uint8_t last_block_len = block_len > 0 ? in qat_bpicipher_preprocess()
53 sym_op->cipher.data.length % block_len : 0; in qat_bpicipher_preprocess()
75 iv = last_block - block_len; in qat_bpicipher_preprocess()
88 bpi_cipher_decrypt(last_block, dst, iv, block_len, in qat_bpicipher_preprocess()
/f-stack/freebsd/mips/ingenic/
H A Djz4780_pdma.c442 __func__, req->block_len, req->block_num); in pdma_channel_request()
459 desc->dsa = req->src_addr + (i * req->block_len); in pdma_channel_request()
465 desc->dta = req->dst_addr + (i * req->block_len); in pdma_channel_request()
469 desc->dsa = req->src_addr + (i * req->block_len); in pdma_channel_request()
470 desc->dta = req->dst_addr + (i * req->block_len); in pdma_channel_request()
482 desc->dtc = (req->block_len / max_width); in pdma_channel_request()
H A Djz4780_aic.c312 sc->pos += req->block_len; in aic_intr()
344 sc->req.block_len = sndbuf_getblksz(ch->buffer); in setup_xdma()
/f-stack/freebsd/contrib/zstd/doc/educational_decoder/
H A Dzstd_decompress.c606 const size_t block_len = IO_read_bits(in, 21); in decompress_data() local
612 const u8 *const read_ptr = IO_get_read_ptr(in, block_len); in decompress_data()
613 u8 *const write_ptr = IO_get_write_ptr(out, block_len); in decompress_data()
616 memcpy(write_ptr, read_ptr, block_len); in decompress_data()
618 ctx->current_total_output += block_len; in decompress_data()
626 u8 *const write_ptr = IO_get_write_ptr(out, block_len); in decompress_data()
629 memset(write_ptr, read_ptr[0], block_len); in decompress_data()
631 ctx->current_total_output += block_len; in decompress_data()
640 istream_t block_stream = IO_make_sub_istream(in, block_len); in decompress_data()