Home
last modified time | relevance | path

Searched defs:desc (Results 1 – 25 of 33) sorted by relevance

12

/crypto/
Dsha256_generic.c36 static int crypto_sha256_init(struct shash_desc *desc) in crypto_sha256_init()
41 static int crypto_sha224_init(struct shash_desc *desc) in crypto_sha224_init()
46 int crypto_sha256_update(struct shash_desc *desc, const u8 *data, in crypto_sha256_update()
53 static int crypto_sha256_final(struct shash_desc *desc, u8 *out) in crypto_sha256_final()
61 int crypto_sha256_finup(struct shash_desc *desc, const u8 *data, in crypto_sha256_finup()
Dcrct10dif_generic.c42 static int chksum_init(struct shash_desc *desc) in chksum_init()
51 static int chksum_update(struct shash_desc *desc, const u8 *data, in chksum_update()
60 static int chksum_final(struct shash_desc *desc, u8 *out) in chksum_final()
74 static int chksum_finup(struct shash_desc *desc, const u8 *data, in chksum_finup()
82 static int chksum_digest(struct shash_desc *desc, const u8 *data, in chksum_digest()
Dshash.c80 static int shash_update_unaligned(struct shash_desc *desc, const u8 *data, in shash_update_unaligned()
110 int crypto_shash_update(struct shash_desc *desc, const u8 *data, in crypto_shash_update()
124 static int shash_final_unaligned(struct shash_desc *desc, u8 *out) in shash_final_unaligned()
152 int crypto_shash_final(struct shash_desc *desc, u8 *out) in crypto_shash_final()
165 static int shash_finup_unaligned(struct shash_desc *desc, const u8 *data, in shash_finup_unaligned()
172 int crypto_shash_finup(struct shash_desc *desc, const u8 *data, in crypto_shash_finup()
186 static int shash_digest_unaligned(struct shash_desc *desc, const u8 *data, in shash_digest_unaligned()
193 int crypto_shash_digest(struct shash_desc *desc, const u8 *data, in crypto_shash_digest()
210 static int shash_default_export(struct shash_desc *desc, void *out) in shash_default_export()
216 static int shash_default_import(struct shash_desc *desc, const void *in) in shash_default_import()
[all …]
Dcrc32_generic.c71 static int crc32_init(struct shash_desc *desc) in crc32_init()
81 static int crc32_update(struct shash_desc *desc, const u8 *data, in crc32_update()
98 static int crc32_finup(struct shash_desc *desc, const u8 *data, in crc32_finup()
104 static int crc32_final(struct shash_desc *desc, u8 *out) in crc32_final()
112 static int crc32_digest(struct shash_desc *desc, const u8 *data, in crc32_digest()
Dblkcipher.c95 int blkcipher_walk_done(struct blkcipher_desc *desc, in blkcipher_walk_done()
139 static inline int blkcipher_next_slow(struct blkcipher_desc *desc, in blkcipher_next_slow()
189 static inline int blkcipher_next_fast(struct blkcipher_desc *desc, in blkcipher_next_fast()
216 static int blkcipher_walk_next(struct blkcipher_desc *desc, in blkcipher_walk_next()
292 int blkcipher_walk_virt(struct blkcipher_desc *desc, in blkcipher_walk_virt()
304 int blkcipher_walk_phys(struct blkcipher_desc *desc, in blkcipher_walk_phys()
316 static int blkcipher_walk_first(struct blkcipher_desc *desc, in blkcipher_walk_first()
341 int blkcipher_walk_virt_block(struct blkcipher_desc *desc, in blkcipher_walk_virt_block()
354 int blkcipher_aead_walk_virt_block(struct blkcipher_desc *desc, in blkcipher_aead_walk_virt_block()
416 struct blkcipher_desc desc = { in async_encrypt() local
[all …]
Dcrc32c_generic.c57 static int chksum_init(struct shash_desc *desc) in chksum_init()
85 static int chksum_update(struct shash_desc *desc, const u8 *data, in chksum_update()
94 static int chksum_final(struct shash_desc *desc, u8 *out) in chksum_final()
108 static int chksum_finup(struct shash_desc *desc, const u8 *data, in chksum_finup()
116 static int chksum_digest(struct shash_desc *desc, const u8 *data, in chksum_digest()
Dxxhash_generic.c33 static int xxhash64_init(struct shash_desc *desc) in xxhash64_init()
43 static int xxhash64_update(struct shash_desc *desc, const u8 *data, in xxhash64_update()
53 static int xxhash64_final(struct shash_desc *desc, u8 *out) in xxhash64_final()
62 static int xxhash64_digest(struct shash_desc *desc, const u8 *data, in xxhash64_digest()
Dnhpoly1305.c143 int crypto_nhpoly1305_init(struct shash_desc *desc) in crypto_nhpoly1305_init()
154 int crypto_nhpoly1305_update_helper(struct shash_desc *desc, in crypto_nhpoly1305_update_helper()
190 int crypto_nhpoly1305_update(struct shash_desc *desc, in crypto_nhpoly1305_update()
197 int crypto_nhpoly1305_final_helper(struct shash_desc *desc, u8 *dst, nh_t nh_fn) in crypto_nhpoly1305_final_helper()
217 int crypto_nhpoly1305_final(struct shash_desc *desc, u8 *dst) in crypto_nhpoly1305_final()
Dsha1_generic.c43 int crypto_sha1_update(struct shash_desc *desc, const u8 *data, in crypto_sha1_update()
50 static int sha1_final(struct shash_desc *desc, u8 *out) in sha1_final()
56 int crypto_sha1_finup(struct shash_desc *desc, const u8 *data, in crypto_sha1_finup()
Dmd5.c132 static int md5_init(struct shash_desc *desc) in md5_init()
145 static int md5_update(struct shash_desc *desc, const u8 *data, unsigned int len) in md5_update()
177 static int md5_final(struct shash_desc *desc, u8 *out) in md5_final()
205 static int md5_export(struct shash_desc *desc, void *out) in md5_export()
213 static int md5_import(struct shash_desc *desc, const void *in) in md5_import()
Dcrypto_null.c37 static int null_init(struct shash_desc *desc) in null_init()
42 static int null_update(struct shash_desc *desc, const u8 *data, in null_update()
48 static int null_final(struct shash_desc *desc, u8 *out) in null_final()
53 static int null_digest(struct shash_desc *desc, const u8 *data, in null_digest()
Dhmac.c85 struct shash_desc *desc = shash_desc_ctx(pdesc); in hmac_export() local
92 struct shash_desc *desc = shash_desc_ctx(pdesc); in hmac_import() local
108 struct shash_desc *desc = shash_desc_ctx(pdesc); in hmac_update() local
119 struct shash_desc *desc = shash_desc_ctx(pdesc); in hmac_final() local
134 struct shash_desc *desc = shash_desc_ctx(pdesc); in hmac_finup() local
Dwp512.c989 static int wp512_init(struct shash_desc *desc) { in wp512_init()
1003 static int wp512_update(struct shash_desc *desc, const u8 *source, in wp512_update()
1065 static int wp512_final(struct shash_desc *desc, u8 *out) in wp512_final()
1100 static int wp384_final(struct shash_desc *desc, u8 *out) in wp384_final()
1111 static int wp256_final(struct shash_desc *desc, u8 *out) in wp256_final()
Dtgr192.c493 static int tgr192_init(struct shash_desc *desc) in tgr192_init()
509 static int tgr192_update(struct shash_desc *desc, const u8 *inbuf, in tgr192_update()
550 static int tgr192_final(struct shash_desc *desc, u8 * out) in tgr192_final()
604 static int tgr160_final(struct shash_desc *desc, u8 * out) in tgr160_final()
615 static int tgr128_final(struct shash_desc *desc, u8 * out) in tgr128_final()
Dghash-generic.c46 static int ghash_init(struct shash_desc *desc) in ghash_init()
80 static int ghash_update(struct shash_desc *desc, in ghash_update()
133 static int ghash_final(struct shash_desc *desc, u8 *dst) in ghash_final()
Dsha3_generic.c161 int crypto_sha3_init(struct shash_desc *desc) in crypto_sha3_init()
175 int crypto_sha3_update(struct shash_desc *desc, const u8 *data, in crypto_sha3_update()
213 int crypto_sha3_final(struct shash_desc *desc, u8 *out) in crypto_sha3_final()
Dmichael_mic.c47 static int michael_init(struct shash_desc *desc) in michael_init()
59 static int michael_update(struct shash_desc *desc, const u8 *data, in michael_update()
100 static int michael_final(struct shash_desc *desc, u8 *out) in michael_final()
Dsha512_generic.c160 int crypto_sha512_update(struct shash_desc *desc, const u8 *data, in crypto_sha512_update()
167 static int sha512_final(struct shash_desc *desc, u8 *hash) in sha512_final()
173 int crypto_sha512_finup(struct shash_desc *desc, const u8 *data, in crypto_sha512_finup()
Dsm3_generic.c145 int crypto_sm3_update(struct shash_desc *desc, const u8 *data, in crypto_sm3_update()
152 static int sm3_final(struct shash_desc *desc, u8 *out) in sm3_final()
158 int crypto_sm3_finup(struct shash_desc *desc, const u8 *data, in crypto_sm3_finup()
Dstreebog_generic.c908 static int streebog_init(struct shash_desc *desc) in streebog_init()
1002 static int streebog_update(struct shash_desc *desc, const u8 *data, in streebog_update()
1036 static int streebog_final(struct shash_desc *desc, u8 *digest) in streebog_final()
Drmd256.c228 static int rmd256_init(struct shash_desc *desc) in rmd256_init()
248 static int rmd256_update(struct shash_desc *desc, const u8 *data, in rmd256_update()
284 static int rmd256_final(struct shash_desc *desc, u8 *out) in rmd256_final()
Drmd128.c213 static int rmd128_init(struct shash_desc *desc) in rmd128_init()
229 static int rmd128_update(struct shash_desc *desc, const u8 *data, in rmd128_update()
265 static int rmd128_final(struct shash_desc *desc, u8 *out) in rmd128_final()
Dmd4.c139 static int md4_init(struct shash_desc *desc) in md4_init()
152 static int md4_update(struct shash_desc *desc, const u8 *data, unsigned int len) in md4_update()
184 static int md4_final(struct shash_desc *desc, u8 *out) in md4_final()
Drmd160.c256 static int rmd160_init(struct shash_desc *desc) in rmd160_init()
273 static int rmd160_update(struct shash_desc *desc, const u8 *data, in rmd160_update()
309 static int rmd160_final(struct shash_desc *desc, u8 *out) in rmd160_final()
/crypto/asymmetric_keys/
Dx509_public_key.c27 struct shash_desc *desc; in x509_get_sig_params() local
162 char *desc = NULL, *p; in x509_key_preparse() local

12