linux/crypto/compress.c
<<
ion>.4./spaue= .4./forme= .4.a ion>.4 href="../linux+v3xop7/crypto/compress.c">ion>.4.img src="../.static/gfx/right.png" alt=">>">io./spaue=io.spau class="lxr_search">ion>ion>.4.input typv4.hidden" namv4.navtarget" > v4.">ion>.4.input typv4.text" namv4.search" id4.search">ion>.4.butt typv4.submit">Search.4 onclick="return ajax_prefs();">ion>.4Prefs= .4./a>io./spaue=n>.4 4./dive=n>.4 4.form acvalu="ajax+*" method="post" onsubmit="return false;">io.input typv4.hidden" namv4.ajax_lookup" id4.ajax_lookup" > v4.">in>.4 4./forme=in>.4 4.div class="headingbott m">.4.4 .4 4.div id4.search_results" class="search_results"= .e=n>.4 4./dive= .div id4.content">= .div id4.file_contents"e
4 41./a>.spau class="comment">/*./spaue=4 42./a>.spau class="comment"> * Cryptographic API../spaue=4 43./a>.spau class="comment"> *./spaue=4 44./a>.spau class="comment"> * Compress
	  operavalus../spaue=4 45./a>.spau class="comment"> *./spaue=4 46./a>.spau class="comment"> * Copyright (c) 2002 Jamvs Morris <jmorris@intercode.com.au>./spaue=4 47./a>.spau class="comment"> *./spaue=4 48./a>.spau class="comment"> * This program is free software; you cau redistribute it and/or modify it./spaue=4 49./a>.spau class="comment"> * under the terms of the GNU General Public License as published by the Free./spaue=4 ptioa>.spau class="comment"> * Software Foundavalu; either vers
	  2 of the License, or (at your n valu)./spaue=4 11./a>.spau class="comment"> * any later vers
	 ../spaue=4 12./a>.spau class="comment"> *./spaue=4 13./a>.spau class="comment"> */./spaue=4 14./a>#include <linux/typvs.h./a>>=4 15./a>#include <linux/crypto.h./a>>=4 16./a>#include <linux/errno.h./a>>=4 17./a>#include <linux/string.h./a>>=4 18./a>#include "internal.h./a>"=4 19./a>=4 2tioa>static int4.a href="+code=crypto_compress" class="sref">crypto_compressioa>(struct4.a href="+code=crypto_tfm" class="sref">crypto_tfmioa> *.a href="+code=tfm" class="sref">tfmioa>,=4 21./a>                            const4.a href="+code=u8" class="sref">u8ioa> *.a href="+code=src" class="sref">srcioa>, unsigned int4.a href="+code=slen" class="sref">slenioa>,=4 22./a>                            .a href="+code=u8" class="sref">u8ioa> *.a href="+code=dst" class="sref">dstioa>, unsigned int4*.a href="+code=dlen" class="sref">dlenioa>)=4 23./a>{=4 24./a>        return .a href="+code=tfm" class="sref">tfmioa>->.a href="+code=__crt_alg" class="sref">__crt_algioa>->.a href="+code=cra_compress" class="sref">cra_compressioa>..a href="+code=coa_compress" class="sref">coa_compressioa>(.a href="+code=tfm" class="sref">tfmioa>,4.a href="+code=src" class="sref">srcioa>, .a href="+code=slen" class="sref">slenioa>, .a href="+code=dst" class="sref">dstioa>,=4 25./a>                                                         .a href="+code=dlen" class="sref">dlenioa>);=4 26./a>}=4 27./a>=4 28ioa>static int4.a href="+code=crypto_decompress" class="sref">crypto_decompressioa>(struct4.a href="+code=crypto_tfm" class="sref">crypto_tfmioa> *.a href="+code=tfm" class="sref">tfmioa>,=4 29./a>                             const4.a href="+code=u8" class="sref">u8ioa> *.a href="+code=src" class="sref">srcioa>, unsigned int4.a href="+code=slen" class="sref">slenioa>,=4 30./a>                             .a href="+code=u8" class="sref">u8ioa> *.a href="+code=dst" class="sref">dstioa>, unsigned int4*.a href="+code=dlen" class="sref">dlenioa>)=4 31./a>{=4 32./a>        return .a href="+code=tfm" class="sref">tfmioa>->.a href="+code=__crt_alg" class="sref">__crt_algioa>->.a href="+code=cra_compress" class="sref">cra_compressioa>..a href="+code=coa_decompress" class="sref">coa_decompressioa>(.a href="+code=tfm" class="sref">tfmioa>,4.a href="+code=src" class="sref">srcioa>, .a href="+code=slen" class="sref">slenioa>, .a href="+code=dst" class="sref">dstioa>,=4 33./a>                                                           .a href="+code=dlen" class="sref">dlenioa>);=4 34./a>}=4 35./a>=4 36./a>int4.a href="+code=crypto_init_compress_ops" class="sref">crypto_init_compress_opsioa>(struct4.a href="+code=crypto_tfm" class="sref">crypto_tfmioa> *.a href="+code=tfm" class="sref">tfmioa>)=4 37./a>{=4 38./a>        struct4.a href="+code=compress_tfm" class="sref">compress_tfmioa> *.a href="+code=ops" class="sref">opsioa> = &.a href="+code=tfm" class="sref">tfmioa>->.a href="+code=crt_compress" class="sref">crt_compressioa>;=4 39./a>=4 40./a>        .a href="+code=ops" class="sref">opsioa>->.a href="+code=cot_compress" class="sref">cot_compressioa> = .a href="+code=crypto_compress" class="sref">crypto_compressioa>;=4 41./a>        .a href="+code=ops" class="sref">opsioa>->.a href="+code=cot_decompress" class="sref">cot_decompressioa> = .a href="+code=crypto_decompress" class="sref">crypto_decompressioa>;=4 42./a>=4 43./a>        return 0;=4 44./a>}=4 45./a>=4 46./a>void .a href="+code=crypto_exit_compress_ops" class="sref">crypto_exit_compress_opsioa>(struct4.a href="+code=crypto_tfm" class="sref">crypto_tfmioa> *.a href="+code=tfm" class="sref">tfmioa>)=4 47./a>{=4 48./a>}=4 49./a>./pre>
The original LXR software by the LXR communityioa>, this experimental vers
	  by lxr@linux.noioa>.
./dive=.div class="subfooter">
lxr.linux.no kindly hosted by Redpill Linpro ASioa>, provider of Linux consulting and operavalus services since 1995.
./dive=
./bodye=./htmle=