Home
last modified time | relevance | path

Searched refs:dlen (Results 1 – 8 of 8) sorted by relevance

/crypto/
D842.c78 unsigned int slen, u8 *dst, unsigned int *dlen) in nx842_crypto_compress() argument
82 unsigned int tmp_len = *dlen; in nx842_crypto_compress()
86 *dlen = 0; in nx842_crypto_compress()
98 *dlen = tmp_len + sizeof(struct nx842_crypto_header); in nx842_crypto_compress()
115 *dlen = lzodlen + sizeof(struct nx842_crypto_header); in nx842_crypto_compress()
120 unsigned int slen, u8 *dst, unsigned int *dlen) in nx842_crypto_decompress() argument
124 unsigned int tmp_len = *dlen; in nx842_crypto_decompress()
128 *dlen = 0; in nx842_crypto_decompress()
142 *dlen = tmp_len; in nx842_crypto_decompress()
148 *dlen = lzodlen; in nx842_crypto_decompress()
Dlzo.c48 unsigned int slen, u8 *dst, unsigned int *dlen) in lzo_compress() argument
51 size_t tmp_len = *dlen; /* size_t(ulong) <-> uint on 64 bit */ in lzo_compress()
59 *dlen = tmp_len; in lzo_compress()
64 unsigned int slen, u8 *dst, unsigned int *dlen) in lzo_decompress() argument
67 size_t tmp_len = *dlen; /* size_t(ulong) <-> uint on 64 bit */ in lzo_decompress()
74 *dlen = tmp_len; in lzo_decompress()
Dcompress.c22 u8 *dst, unsigned int *dlen) in crypto_compress() argument
25 dlen); in crypto_compress()
30 u8 *dst, unsigned int *dlen) in crypto_decompress() argument
33 dlen); in crypto_decompress()
Ddeflate.c128 unsigned int slen, u8 *dst, unsigned int *dlen) in deflate_compress() argument
143 stream->avail_out = *dlen; in deflate_compress()
151 *dlen = stream->total_out; in deflate_compress()
157 unsigned int slen, u8 *dst, unsigned int *dlen) in deflate_decompress() argument
173 stream->avail_out = *dlen; in deflate_decompress()
192 *dlen = stream->total_out; in deflate_decompress()
Dkrng.c19 static int krng_get_random(struct crypto_rng *tfm, u8 *rdata, unsigned int dlen) in krng_get_random() argument
21 get_random_bytes(rdata, dlen); in krng_get_random()
Dcrypto_null.c33 unsigned int slen, u8 *dst, unsigned int *dlen) in null_compress() argument
35 if (slen > *dlen) in null_compress()
38 *dlen = slen; in null_compress()
Dansi_cprng.c353 unsigned int dlen) in cprng_get_random() argument
357 return get_prng_bytes(rdata, dlen, prng, 0); in cprng_get_random()
387 unsigned int dlen) in fips_cprng_get_random() argument
391 return get_prng_bytes(rdata, dlen, prng, 1); in fips_cprng_get_random()
Dtestmgr.c1099 unsigned int dlen = COMP_BUF_SIZE; in test_comp() local
1105 ilen, result, &dlen); in test_comp()
1113 if (dlen != ctemplate[i].outlen) { in test_comp()
1116 dlen); in test_comp()
1121 if (memcmp(result, ctemplate[i].output, dlen)) { in test_comp()
1124 hexdump(result, dlen); in test_comp()
1132 unsigned int dlen = COMP_BUF_SIZE; in test_comp() local
1138 ilen, result, &dlen); in test_comp()
1146 if (dlen != dtemplate[i].outlen) { in test_comp()
1149 dlen); in test_comp()
[all …]