Home
last modified time | relevance | path

Searched refs:ds (Results 1 – 4 of 4) sorted by relevance

/crypto/
A Ddeflate.c62 struct deflate_stream *ds) in deflate_compress_one() argument
64 struct z_stream_s *stream = &ds->stream; in deflate_compress_one()
118 struct deflate_stream *ds; in deflate_compress() local
122 ds = s->ctx; in deflate_compress()
132 err = deflate_compress_one(req, ds); in deflate_compress()
141 struct deflate_stream *ds) in deflate_decompress_one() argument
143 struct z_stream_s *stream = &ds->stream; in deflate_decompress_one()
199 struct deflate_stream *ds; in deflate_decompress() local
203 ds = s->ctx; in deflate_decompress()
205 err = zlib_inflateInit2(&ds->stream, -DEFLATE_DEF_WINBITS); in deflate_decompress()
[all …]
A Dhmac.c39 int ds = crypto_shash_digestsize(parent); in hmac_setkey() local
60 keylen = ds; in hmac_setkey()
190 int ds; in __hmac_create_shash() local
211 ds = salg->digestsize; in __hmac_create_shash()
213 if (ds > alg->cra_blocksize || in __hmac_create_shash()
226 inst->alg.digestsize = ds; in __hmac_create_shash()
275 keylen = ds; in hmac_setkey_ahash()
359 int ds = crypto_ahash_digestsize(tfm); in hmac_finup_finish() local
455 int ds, ss, err; in hmac_create_ahash() local
475 ds = halg->digestsize; in hmac_create_ahash()
[all …]
A Dalgif_hash.c34 unsigned ds; in hash_alloc_result() local
39 ds = crypto_ahash_digestsize(crypto_ahash_reqtfm(&ctx->req)); in hash_alloc_result()
41 ctx->result = sock_kmalloc(sk, ds, GFP_KERNEL); in hash_alloc_result()
45 memset(ctx->result, 0, ds); in hash_alloc_result()
52 unsigned ds; in hash_free_result() local
57 ds = crypto_ahash_digestsize(crypto_ahash_reqtfm(&ctx->req)); in hash_free_result()
59 sock_kzfree_s(sk, ctx->result, ds); in hash_free_result()
185 unsigned ds = crypto_ahash_digestsize(crypto_ahash_reqtfm(&ctx->req)); in hash_recvmsg() local
189 if (len > ds) in hash_recvmsg()
190 len = ds; in hash_recvmsg()
[all …]
A Dkdf_sp800108.c81 unsigned int ds = crypto_shash_digestsize(kmd); in crypto_kdf108_setkey() local
88 if (ds > keylen) in crypto_kdf108_setkey()

Completed in 7 milliseconds