/linux-4.4.14/arch/arm/crypto/ |
H A D | sha1.h | 7 extern int sha1_update_arm(struct shash_desc *desc, const u8 *data, 10 extern int sha1_finup_arm(struct shash_desc *desc, const u8 *data,
|
H A D | sha256_glue.h | 8 int crypto_sha256_arm_update(struct shash_desc *desc, const u8 *data, 11 int crypto_sha256_arm_finup(struct shash_desc *desc, const u8 *data,
|
H A D | sha1-ce-glue.c | 30 static int sha1_ce_update(struct shash_desc *desc, const u8 *data, sha1_ce_update() 46 static int sha1_ce_finup(struct shash_desc *desc, const u8 *data, sha1_ce_finup() 61 static int sha1_ce_final(struct shash_desc *desc, u8 *out) sha1_ce_final()
|
H A D | sha512-neon-glue.c | 28 static int sha512_neon_update(struct shash_desc *desc, const u8 *data, sha512_neon_update() 45 static int sha512_neon_finup(struct shash_desc *desc, const u8 *data, sha512_neon_finup() 62 static int sha512_neon_final(struct shash_desc *desc, u8 *out) sha512_neon_final()
|
H A D | sha1_glue.c | 33 int sha1_update_arm(struct shash_desc *desc, const u8 *data, sha1_update_arm() 44 static int sha1_final(struct shash_desc *desc, u8 *out) sha1_final() 50 int sha1_finup_arm(struct shash_desc *desc, const u8 *data, sha1_finup_arm()
|
H A D | sha1_neon_glue.c | 37 static int sha1_neon_update(struct shash_desc *desc, const u8 *data, sha1_neon_update() 54 static int sha1_neon_finup(struct shash_desc *desc, const u8 *data, sha1_neon_finup() 70 static int sha1_neon_final(struct shash_desc *desc, u8 *out) sha1_neon_final()
|
H A D | sha2-ce-glue.c | 31 static int sha2_ce_update(struct shash_desc *desc, const u8 *data, sha2_ce_update() 48 static int sha2_ce_finup(struct shash_desc *desc, const u8 *data, sha2_ce_finup() 64 static int sha2_ce_final(struct shash_desc *desc, u8 *out) sha2_ce_final()
|
H A D | sha256_glue.c | 36 int crypto_sha256_arm_update(struct shash_desc *desc, const u8 *data, crypto_sha256_arm_update() 47 static int sha256_final(struct shash_desc *desc, u8 *out) sha256_final() 54 int crypto_sha256_arm_finup(struct shash_desc *desc, const u8 *data, crypto_sha256_arm_finup()
|
H A D | sha256_neon_glue.c | 32 static int sha256_update(struct shash_desc *desc, const u8 *data, sha256_update() 49 static int sha256_finup(struct shash_desc *desc, const u8 *data, sha256_finup() 66 static int sha256_final(struct shash_desc *desc, u8 *out) sha256_final()
|
H A D | sha512-glue.c | 33 int sha512_arm_update(struct shash_desc *desc, const u8 *data, sha512_arm_update() 40 int sha512_arm_final(struct shash_desc *desc, u8 *out) sha512_arm_final() 47 int sha512_arm_finup(struct shash_desc *desc, const u8 *data, sha512_arm_finup()
|
H A D | ghash-ce-glue.c | 46 static int ghash_init(struct shash_desc *desc) ghash_init() 54 static int ghash_update(struct shash_desc *desc, const u8 *src, ghash_update() 89 static int ghash_final(struct shash_desc *desc, u8 *dst) ghash_final() 163 struct shash_desc *desc = cryptd_shash_desc(cryptd_req); ghash_async_init() 185 struct shash_desc *desc = cryptd_shash_desc(cryptd_req); ghash_async_update() 203 struct shash_desc *desc = cryptd_shash_desc(cryptd_req); ghash_async_final() 220 struct shash_desc *desc = cryptd_shash_desc(cryptd_req); ghash_async_digest()
|
/linux-4.4.14/include/crypto/ |
H A D | sha.h | 85 struct shash_desc; 87 extern int crypto_sha1_update(struct shash_desc *desc, const u8 *data, 90 extern int crypto_sha1_finup(struct shash_desc *desc, const u8 *data, 93 extern int crypto_sha256_update(struct shash_desc *desc, const u8 *data, 96 extern int crypto_sha256_finup(struct shash_desc *desc, const u8 *data, 99 extern int crypto_sha512_update(struct shash_desc *desc, const u8 *data, 102 extern int crypto_sha512_finup(struct shash_desc *desc, const u8 *data,
|
H A D | poly1305.h | 32 int crypto_poly1305_init(struct shash_desc *desc); 37 int crypto_poly1305_update(struct shash_desc *desc, 39 int crypto_poly1305_final(struct shash_desc *desc, u8 *dst);
|
H A D | sha256_base.h | 21 static inline int sha224_base_init(struct shash_desc *desc) sha224_base_init() 38 static inline int sha256_base_init(struct shash_desc *desc) sha256_base_init() 55 static inline int sha256_base_do_update(struct shash_desc *desc, sha256_base_do_update() 93 static inline int sha256_base_do_finalize(struct shash_desc *desc, sha256_base_do_finalize() 116 static inline int sha256_base_finish(struct shash_desc *desc, u8 *out) sha256_base_finish()
|
H A D | sha1_base.h | 20 static inline int sha1_base_init(struct shash_desc *desc) sha1_base_init() 34 static inline int sha1_base_do_update(struct shash_desc *desc, sha1_base_do_update() 72 static inline int sha1_base_do_finalize(struct shash_desc *desc, sha1_base_do_finalize() 95 static inline int sha1_base_finish(struct shash_desc *desc, u8 *out) sha1_base_finish()
|
H A D | sha512_base.h | 21 static inline int sha384_base_init(struct shash_desc *desc) sha384_base_init() 38 static inline int sha512_base_init(struct shash_desc *desc) sha512_base_init() 55 static inline int sha512_base_do_update(struct shash_desc *desc, sha512_base_do_update() 95 static inline int sha512_base_do_finalize(struct shash_desc *desc, sha512_base_do_finalize() 119 static inline int sha512_base_finish(struct shash_desc *desc, u8 *out) sha512_base_finish()
|
H A D | mcryptd.h | 62 struct shash_desc desc; 68 struct shash_desc *mcryptd_shash_desc(struct ahash_request *req);
|
H A D | hash.h | 142 struct shash_desc { struct 150 char __##shash##_desc[sizeof(struct shash_desc) + \ 152 struct shash_desc *shash = (struct shash_desc *)__##shash##_desc 168 * shash_desc.__ctx 172 int (*init)(struct shash_desc *desc); 173 int (*update)(struct shash_desc *desc, const u8 *data, 175 int (*final)(struct shash_desc *desc, u8 *out); 176 int (*finup)(struct shash_desc *desc, const u8 *data, 178 int (*digest)(struct shash_desc *desc, const u8 *data, 180 int (*export)(struct shash_desc *desc, void *out); 181 int (*import)(struct shash_desc *desc, const void *in); 626 * shash_desc request data structure. 733 * The operational state is defined with struct shash_desc where the size of 735 * sizeof(struct shash_desc) + crypto_shash_descsize(alg) 744 static inline void *shash_desc_ctx(struct shash_desc *desc) shash_desc_ctx() 778 int crypto_shash_digest(struct shash_desc *desc, const u8 *data, 792 static inline int crypto_shash_export(struct shash_desc *desc, void *out) crypto_shash_export() 808 static inline int crypto_shash_import(struct shash_desc *desc, const void *in) crypto_shash_import() 824 static inline int crypto_shash_init(struct shash_desc *desc) crypto_shash_init() 840 int crypto_shash_update(struct shash_desc *desc, const u8 *data, 856 int crypto_shash_final(struct shash_desc *desc, u8 *out); 872 int crypto_shash_finup(struct shash_desc *desc, const u8 *data,
|
H A D | cryptd.h | 50 struct shash_desc *cryptd_shash_desc(struct ahash_request *req);
|
/linux-4.4.14/drivers/staging/skein/ |
H A D | skein_generic.c | 23 static int skein256_init(struct shash_desc *desc) skein256_init() 29 static int skein256_update(struct shash_desc *desc, const u8 *data, skein256_update() 36 static int skein256_final(struct shash_desc *desc, u8 *out) skein256_final() 42 static int skein256_export(struct shash_desc *desc, void *out) skein256_export() 50 static int skein256_import(struct shash_desc *desc, const void *in) skein256_import() 58 static int skein512_init(struct shash_desc *desc) skein512_init() 64 static int skein512_update(struct shash_desc *desc, const u8 *data, skein512_update() 71 static int skein512_final(struct shash_desc *desc, u8 *out) skein512_final() 77 static int skein512_export(struct shash_desc *desc, void *out) skein512_export() 85 static int skein512_import(struct shash_desc *desc, const void *in) skein512_import() 93 static int skein1024_init(struct shash_desc *desc) skein1024_init() 99 static int skein1024_update(struct shash_desc *desc, const u8 *data, skein1024_update() 106 static int skein1024_final(struct shash_desc *desc, u8 *out) skein1024_final() 112 static int skein1024_export(struct shash_desc *desc, void *out) skein1024_export() 120 static int skein1024_import(struct shash_desc *desc, const void *in) skein1024_import()
|
/linux-4.4.14/arch/s390/crypto/ |
H A D | sha.h | 32 struct shash_desc; 34 int s390_sha_update(struct shash_desc *desc, const u8 *data, unsigned int len); 35 int s390_sha_final(struct shash_desc *desc, u8 *out);
|
H A D | sha1_s390.c | 35 static int sha1_init(struct shash_desc *desc) sha1_init() 50 static int sha1_export(struct shash_desc *desc, void *out) sha1_export() 61 static int sha1_import(struct shash_desc *desc, const void *in) sha1_import()
|
H A D | sha256_s390.c | 25 static int sha256_init(struct shash_desc *desc) sha256_init() 43 static int sha256_export(struct shash_desc *desc, void *out) sha256_export() 54 static int sha256_import(struct shash_desc *desc, const void *in) sha256_import() 85 static int sha224_init(struct shash_desc *desc) sha224_init()
|
H A D | sha512_s390.c | 26 static int sha512_init(struct shash_desc *desc) sha512_init() 44 static int sha512_export(struct shash_desc *desc, void *out) sha512_export() 56 static int sha512_import(struct shash_desc *desc, const void *in) sha512_import() 92 static int sha384_init(struct shash_desc *desc) sha384_init()
|
H A D | ghash_s390.c | 30 static int ghash_init(struct shash_desc *desc) ghash_init() 56 static int ghash_update(struct shash_desc *desc, ghash_update() 119 static int ghash_final(struct shash_desc *desc, u8 *dst) ghash_final()
|
H A D | sha_common.c | 21 int s390_sha_update(struct shash_desc *desc, const u8 *data, unsigned int len) s390_sha_update() 63 int s390_sha_final(struct shash_desc *desc, u8 *out) s390_sha_final()
|
/linux-4.4.14/crypto/ |
H A D | shash.c | 74 static int shash_update_unaligned(struct shash_desc *desc, const u8 *data, shash_update_unaligned() 98 int crypto_shash_update(struct shash_desc *desc, const u8 *data, crypto_shash_update() 112 static int shash_final_unaligned(struct shash_desc *desc, u8 *out) shash_final_unaligned() 134 int crypto_shash_final(struct shash_desc *desc, u8 *out) crypto_shash_final() 147 static int shash_finup_unaligned(struct shash_desc *desc, const u8 *data, shash_finup_unaligned() 154 int crypto_shash_finup(struct shash_desc *desc, const u8 *data, crypto_shash_finup() 168 static int shash_digest_unaligned(struct shash_desc *desc, const u8 *data, shash_digest_unaligned() 175 int crypto_shash_digest(struct shash_desc *desc, const u8 *data, crypto_shash_digest() 189 static int shash_default_export(struct shash_desc *desc, void *out) shash_default_export() 195 static int shash_default_import(struct shash_desc *desc, const void *in) shash_default_import() 212 struct shash_desc *desc = ahash_request_ctx(req); shash_async_init() 220 int shash_ahash_update(struct ahash_request *req, struct shash_desc *desc) shash_ahash_update() 243 int shash_ahash_finup(struct ahash_request *req, struct shash_desc *desc) shash_ahash_finup() 267 struct shash_desc *desc = ahash_request_ctx(req); shash_async_finup() 275 int shash_ahash_digest(struct ahash_request *req, struct shash_desc *desc) shash_ahash_digest() 301 struct shash_desc *desc = ahash_request_ctx(req); shash_async_digest() 317 struct shash_desc *desc = ahash_request_ctx(req); shash_async_import() 366 crt->reqsize = sizeof(struct shash_desc) + crypto_shash_descsize(shash); crypto_init_shash_ops_async() 374 struct shash_desc **descp = crypto_hash_ctx(tfm); shash_compat_setkey() 375 struct shash_desc *desc = *descp; shash_compat_setkey() 382 struct shash_desc **descp = crypto_hash_ctx(hdesc->tfm); shash_compat_init() 383 struct shash_desc *desc = *descp; shash_compat_init() 393 struct shash_desc **descp = crypto_hash_ctx(hdesc->tfm); shash_compat_update() 394 struct shash_desc *desc = *descp; shash_compat_update() 407 struct shash_desc **descp = crypto_hash_ctx(hdesc->tfm); shash_compat_final() 419 struct shash_desc **descp = crypto_hash_ctx(hdesc->tfm); shash_compat_digest() 420 struct shash_desc *desc = *descp; shash_compat_digest() 448 struct shash_desc **descp = crypto_tfm_ctx(tfm); crypto_exit_shash_ops_compat() 449 struct shash_desc *desc = *descp; crypto_exit_shash_ops_compat() 460 struct shash_desc **descp = crypto_tfm_ctx(tfm); crypto_init_shash_ops_compat() 462 struct shash_desc *desc; crypto_init_shash_ops_compat() 510 return sizeof(struct shash_desc *); crypto_shash_ctxsize()
|
H A D | hmac.c | 89 static int hmac_export(struct shash_desc *pdesc, void *out) hmac_export() 91 struct shash_desc *desc = shash_desc_ctx(pdesc); hmac_export() 98 static int hmac_import(struct shash_desc *pdesc, const void *in) hmac_import() 100 struct shash_desc *desc = shash_desc_ctx(pdesc); hmac_import() 109 static int hmac_init(struct shash_desc *pdesc) hmac_init() 114 static int hmac_update(struct shash_desc *pdesc, hmac_update() 117 struct shash_desc *desc = shash_desc_ctx(pdesc); hmac_update() 124 static int hmac_final(struct shash_desc *pdesc, u8 *out) hmac_final() 130 struct shash_desc *desc = shash_desc_ctx(pdesc); hmac_final() 139 static int hmac_finup(struct shash_desc *pdesc, const u8 *data, hmac_finup() 147 struct shash_desc *desc = shash_desc_ctx(pdesc); hmac_finup() 168 parent->descsize = sizeof(struct shash_desc) + hmac_init_tfm()
|
H A D | sha1_generic.c | 41 int crypto_sha1_update(struct shash_desc *desc, const u8 *data, crypto_sha1_update() 48 static int sha1_final(struct shash_desc *desc, u8 *out) sha1_final() 54 int crypto_sha1_finup(struct shash_desc *desc, const u8 *data, crypto_sha1_finup()
|
H A D | crc32.c | 76 static int crc32_init(struct shash_desc *desc) crc32_init() 86 static int crc32_update(struct shash_desc *desc, const u8 *data, crc32_update() 103 static int crc32_finup(struct shash_desc *desc, const u8 *data, crc32_finup() 109 static int crc32_final(struct shash_desc *desc, u8 *out) crc32_final() 117 static int crc32_digest(struct shash_desc *desc, const u8 *data, crc32_digest()
|
H A D | crct10dif_generic.c | 42 static int chksum_init(struct shash_desc *desc) chksum_init() 51 static int chksum_update(struct shash_desc *desc, const u8 *data, chksum_update() 60 static int chksum_final(struct shash_desc *desc, u8 *out) chksum_final() 75 static int chksum_finup(struct shash_desc *desc, const u8 *data, chksum_finup() 83 static int chksum_digest(struct shash_desc *desc, const u8 *data, chksum_digest()
|
H A D | md5.c | 50 static int md5_init(struct shash_desc *desc) md5_init() 63 static int md5_update(struct shash_desc *desc, const u8 *data, unsigned int len) md5_update() 95 static int md5_final(struct shash_desc *desc, u8 *out) md5_final() 123 static int md5_export(struct shash_desc *desc, void *out) md5_export() 131 static int md5_import(struct shash_desc *desc, const void *in) md5_import()
|
H A D | crc32c_generic.c | 61 static int chksum_init(struct shash_desc *desc) chksum_init() 89 static int chksum_update(struct shash_desc *desc, const u8 *data, chksum_update() 98 static int chksum_final(struct shash_desc *desc, u8 *out) chksum_final() 112 static int chksum_finup(struct shash_desc *desc, const u8 *data, chksum_finup() 120 static int chksum_digest(struct shash_desc *desc, const u8 *data, chksum_digest()
|
H A D | ghash-generic.c | 35 static int ghash_init(struct shash_desc *desc) ghash_init() 63 static int ghash_update(struct shash_desc *desc, ghash_update() 119 static int ghash_final(struct shash_desc *desc, u8 *dst) ghash_final()
|
H A D | michael_mic.c | 50 static int michael_init(struct shash_desc *desc) michael_init() 62 static int michael_update(struct shash_desc *desc, const u8 *data, michael_update() 103 static int michael_final(struct shash_desc *desc, u8 *out) michael_final()
|
H A D | crypto_null.c | 42 static int null_init(struct shash_desc *desc) null_init() 47 static int null_update(struct shash_desc *desc, const u8 *data, null_update() 53 static int null_final(struct shash_desc *desc, u8 *out) null_final() 58 static int null_digest(struct shash_desc *desc, const u8 *data, null_digest()
|
H A D | md4.c | 156 static int md4_init(struct shash_desc *desc) md4_init() 169 static int md4_update(struct shash_desc *desc, const u8 *data, unsigned int len) md4_update() 201 static int md4_final(struct shash_desc *desc, u8 *out) md4_final()
|
H A D | sha512_generic.c | 143 int crypto_sha512_update(struct shash_desc *desc, const u8 *data, crypto_sha512_update() 150 static int sha512_final(struct shash_desc *desc, u8 *hash) sha512_final() 156 int crypto_sha512_finup(struct shash_desc *desc, const u8 *data, crypto_sha512_finup()
|
H A D | mcryptd.c | 341 struct shash_desc *desc = &rctx->desc; mcryptd_hash_init() 449 struct shash_desc *desc = &rctx->desc; mcryptd_hash_digest() 619 struct shash_desc *desc) shash_ahash_mcryptd_digest() 631 struct shash_desc *desc) shash_ahash_mcryptd_update() 643 struct shash_desc *desc) shash_ahash_mcryptd_finup() 655 struct shash_desc *desc) shash_ahash_mcryptd_final() 674 struct shash_desc *mcryptd_shash_desc(struct ahash_request *req) mcryptd_shash_desc()
|
H A D | xcbc.c | 82 static int crypto_xcbc_digest_init(struct shash_desc *pdesc) crypto_xcbc_digest_init() 95 static int crypto_xcbc_digest_update(struct shash_desc *pdesc, const u8 *p, crypto_xcbc_digest_update() 142 static int crypto_xcbc_digest_final(struct shash_desc *pdesc, u8 *out) crypto_xcbc_digest_final()
|
H A D | cmac.c | 108 static int crypto_cmac_digest_init(struct shash_desc *pdesc) crypto_cmac_digest_init() 121 static int crypto_cmac_digest_update(struct shash_desc *pdesc, const u8 *p, crypto_cmac_digest_update() 168 static int crypto_cmac_digest_final(struct shash_desc *pdesc, u8 *out) crypto_cmac_digest_final()
|
H A D | poly1305_generic.c | 41 int crypto_poly1305_init(struct shash_desc *desc) crypto_poly1305_init() 179 int crypto_poly1305_update(struct shash_desc *desc, crypto_poly1305_update() 214 int crypto_poly1305_final(struct shash_desc *desc, u8 *dst) crypto_poly1305_final()
|
H A D | tgr192.c | 498 static int tgr192_init(struct shash_desc *desc) tgr192_init() 514 static int tgr192_update(struct shash_desc *desc, const u8 *inbuf, tgr192_update() 555 static int tgr192_final(struct shash_desc *desc, u8 * out) tgr192_final() 609 static int tgr160_final(struct shash_desc *desc, u8 * out) tgr160_final() 620 static int tgr128_final(struct shash_desc *desc, u8 * out) tgr128_final()
|
H A D | sha256_generic.c | 227 int crypto_sha256_update(struct shash_desc *desc, const u8 *data, crypto_sha256_update() 234 static int sha256_final(struct shash_desc *desc, u8 *out) sha256_final() 240 int crypto_sha256_finup(struct shash_desc *desc, const u8 *data, crypto_sha256_finup()
|
H A D | rmd128.c | 220 static int rmd128_init(struct shash_desc *desc) rmd128_init() 236 static int rmd128_update(struct shash_desc *desc, const u8 *data, rmd128_update() 272 static int rmd128_final(struct shash_desc *desc, u8 *out) rmd128_final()
|
H A D | rmd256.c | 235 static int rmd256_init(struct shash_desc *desc) rmd256_init() 255 static int rmd256_update(struct shash_desc *desc, const u8 *data, rmd256_update() 291 static int rmd256_final(struct shash_desc *desc, u8 *out) rmd256_final()
|
H A D | cryptd.c | 74 struct shash_desc desc; 465 struct shash_desc *desc = &rctx->desc; cryptd_hash_init() 565 struct shash_desc *desc = &rctx->desc; cryptd_hash_digest() 948 struct shash_desc *cryptd_shash_desc(struct ahash_request *req) cryptd_shash_desc()
|
H A D | wp512.c | 989 static int wp512_init(struct shash_desc *desc) { wp512_init() 1003 static int wp512_update(struct shash_desc *desc, const u8 *source, wp512_update() 1065 static int wp512_final(struct shash_desc *desc, u8 *out) wp512_final() 1100 static int wp384_final(struct shash_desc *desc, u8 *out) wp384_final() 1111 static int wp256_final(struct shash_desc *desc, u8 *out) wp256_final()
|
H A D | vmac.c | 557 static int vmac_init(struct shash_desc *pdesc) vmac_init() 562 static int vmac_update(struct shash_desc *pdesc, const u8 *p, vmac_update() 598 static int vmac_final(struct shash_desc *pdesc, u8 *out) vmac_final()
|
H A D | rmd160.c | 263 static int rmd160_init(struct shash_desc *desc) rmd160_init() 280 static int rmd160_update(struct shash_desc *desc, const u8 *data, rmd160_update() 316 static int rmd160_final(struct shash_desc *desc, u8 *out) rmd160_final()
|
H A D | rmd320.c | 282 static int rmd320_init(struct shash_desc *desc) rmd320_init() 304 static int rmd320_update(struct shash_desc *desc, const u8 *data, rmd320_update() 340 static int rmd320_final(struct shash_desc *desc, u8 *out) rmd320_final()
|
H A D | drbg.c | 1627 struct shash_desc shash; 1643 sdesc = kzalloc(sizeof(struct shash_desc) + crypto_shash_descsize(tfm), drbg_init_hash_kernel()
|
/linux-4.4.14/arch/x86/crypto/ |
H A D | sha1_ssse3_glue.c | 37 static int sha1_update(struct shash_desc *desc, const u8 *data, sha1_update() 57 static int sha1_finup(struct shash_desc *desc, const u8 *data, sha1_finup() 76 static int sha1_ssse3_update(struct shash_desc *desc, const u8 *data, sha1_ssse3_update() 83 static int sha1_ssse3_finup(struct shash_desc *desc, const u8 *data, sha1_ssse3_finup() 91 static int sha1_ssse3_final(struct shash_desc *desc, u8 *out) sha1_ssse3_final() 130 static int sha1_avx_update(struct shash_desc *desc, const u8 *data, sha1_avx_update() 137 static int sha1_avx_finup(struct shash_desc *desc, const u8 *data, sha1_avx_finup() 144 static int sha1_avx_final(struct shash_desc *desc, u8 *out) sha1_avx_final() 222 static int sha1_avx2_update(struct shash_desc *desc, const u8 *data, sha1_avx2_update() 229 static int sha1_avx2_finup(struct shash_desc *desc, const u8 *data, sha1_avx2_finup() 236 static int sha1_avx2_final(struct shash_desc *desc, u8 *out) sha1_avx2_final() 280 static int sha1_ni_update(struct shash_desc *desc, const u8 *data, sha1_ni_update() 287 static int sha1_ni_finup(struct shash_desc *desc, const u8 *data, sha1_ni_finup() 294 static int sha1_ni_final(struct shash_desc *desc, u8 *out) sha1_ni_final()
|
H A D | sha256_ssse3_glue.c | 47 static int sha256_update(struct shash_desc *desc, const u8 *data, sha256_update() 67 static int sha256_finup(struct shash_desc *desc, const u8 *data, sha256_finup() 83 static int sha256_ssse3_update(struct shash_desc *desc, const u8 *data, sha256_ssse3_update() 89 static int sha256_ssse3_finup(struct shash_desc *desc, const u8 *data, sha256_ssse3_finup() 96 static int sha256_ssse3_final(struct shash_desc *desc, u8 *out) sha256_ssse3_final() 152 static int sha256_avx_update(struct shash_desc *desc, const u8 *data, sha256_avx_update() 158 static int sha256_avx_finup(struct shash_desc *desc, const u8 *data, sha256_avx_finup() 164 static int sha256_avx_final(struct shash_desc *desc, u8 *out) sha256_avx_final() 236 static int sha256_avx2_update(struct shash_desc *desc, const u8 *data, sha256_avx2_update() 242 static int sha256_avx2_finup(struct shash_desc *desc, const u8 *data, sha256_avx2_finup() 248 static int sha256_avx2_final(struct shash_desc *desc, u8 *out) sha256_avx2_final() 318 static int sha256_ni_update(struct shash_desc *desc, const u8 *data, sha256_ni_update() 324 static int sha256_ni_finup(struct shash_desc *desc, const u8 *data, sha256_ni_finup() 330 static int sha256_ni_final(struct shash_desc *desc, u8 *out) sha256_ni_final()
|
H A D | crct10dif-pclmul_glue.c | 48 static int chksum_init(struct shash_desc *desc) chksum_init() 57 static int chksum_update(struct shash_desc *desc, const u8 *data, chksum_update() 71 static int chksum_final(struct shash_desc *desc, u8 *out) chksum_final() 91 static int chksum_finup(struct shash_desc *desc, const u8 *data, chksum_finup() 99 static int chksum_digest(struct shash_desc *desc, const u8 *data, chksum_digest()
|
H A D | sha512_ssse3_glue.c | 47 static int sha512_update(struct shash_desc *desc, const u8 *data, sha512_update() 67 static int sha512_finup(struct shash_desc *desc, const u8 *data, sha512_finup() 83 static int sha512_ssse3_update(struct shash_desc *desc, const u8 *data, sha512_ssse3_update() 89 static int sha512_ssse3_finup(struct shash_desc *desc, const u8 *data, sha512_ssse3_finup() 96 static int sha512_ssse3_final(struct shash_desc *desc, u8 *out) sha512_ssse3_final() 162 static int sha512_avx_update(struct shash_desc *desc, const u8 *data, sha512_avx_update() 168 static int sha512_avx_finup(struct shash_desc *desc, const u8 *data, sha512_avx_finup() 175 static int sha512_avx_final(struct shash_desc *desc, u8 *out) sha512_avx_final() 235 static int sha512_avx2_update(struct shash_desc *desc, const u8 *data, sha512_avx2_update() 241 static int sha512_avx2_finup(struct shash_desc *desc, const u8 *data, sha512_avx2_finup() 248 static int sha512_avx2_final(struct shash_desc *desc, u8 *out) sha512_avx2_final()
|
H A D | crc32c-intel_glue.c | 127 static int crc32c_intel_init(struct shash_desc *desc) crc32c_intel_init() 137 static int crc32c_intel_update(struct shash_desc *desc, const u8 *data, crc32c_intel_update() 153 static int crc32c_intel_finup(struct shash_desc *desc, const u8 *data, crc32c_intel_finup() 159 static int crc32c_intel_final(struct shash_desc *desc, u8 *out) crc32c_intel_final() 167 static int crc32c_intel_digest(struct shash_desc *desc, const u8 *data, crc32c_intel_digest() 184 static int crc32c_pcl_intel_update(struct shash_desc *desc, const u8 *data, crc32c_pcl_intel_update() 215 static int crc32c_pcl_intel_finup(struct shash_desc *desc, const u8 *data, crc32c_pcl_intel_finup() 221 static int crc32c_pcl_intel_digest(struct shash_desc *desc, const u8 *data, crc32c_pcl_intel_digest()
|
H A D | crc32-pclmul_glue.c | 104 static int crc32_pclmul_init(struct shash_desc *desc) crc32_pclmul_init() 114 static int crc32_pclmul_update(struct shash_desc *desc, const u8 *data, crc32_pclmul_update() 131 static int crc32_pclmul_finup(struct shash_desc *desc, const u8 *data, crc32_pclmul_finup() 137 static int crc32_pclmul_final(struct shash_desc *desc, u8 *out) crc32_pclmul_final() 145 static int crc32_pclmul_digest(struct shash_desc *desc, const u8 *data, crc32_pclmul_digest()
|
H A D | ghash-clmulni-intel_glue.c | 46 static int ghash_init(struct shash_desc *desc) ghash_init() 80 static int ghash_update(struct shash_desc *desc, ghash_update() 134 static int ghash_final(struct shash_desc *desc, u8 *dst) ghash_final() 177 struct shash_desc *desc = cryptd_shash_desc(cryptd_req); ghash_async_init() 199 struct shash_desc *desc = cryptd_shash_desc(cryptd_req); ghash_async_update() 217 struct shash_desc *desc = cryptd_shash_desc(cryptd_req); ghash_async_final() 234 struct shash_desc *desc = cryptd_shash_desc(cryptd_req); ghash_async_digest()
|
H A D | poly1305_glue.c | 44 static int poly1305_simd_init(struct shash_desc *desc) poly1305_simd_init() 120 static int poly1305_simd_update(struct shash_desc *desc, poly1305_simd_update()
|
/linux-4.4.14/drivers/staging/lustre/lustre/libcfs/linux/ |
H A D | linux-crypto-adler.c | 67 static int adler32_init(struct shash_desc *desc) adler32_init() 77 static int adler32_update(struct shash_desc *desc, const u8 *data, adler32_update() 93 static int adler32_finup(struct shash_desc *desc, const u8 *data, adler32_finup() 99 static int adler32_final(struct shash_desc *desc, u8 *out) adler32_final() 107 static int adler32_digest(struct shash_desc *desc, const u8 *data, adler32_digest()
|
/linux-4.4.14/arch/sparc/crypto/ |
H A D | crc32c_glue.c | 43 static int crc32c_sparc64_init(struct shash_desc *desc) crc32c_sparc64_init() 69 static int crc32c_sparc64_update(struct shash_desc *desc, const u8 *data, crc32c_sparc64_update() 90 static int crc32c_sparc64_finup(struct shash_desc *desc, const u8 *data, crc32c_sparc64_finup() 96 static int crc32c_sparc64_final(struct shash_desc *desc, u8 *out) crc32c_sparc64_final() 104 static int crc32c_sparc64_digest(struct shash_desc *desc, const u8 *data, crc32c_sparc64_digest()
|
H A D | sha256_glue.c | 29 static int sha224_sparc64_init(struct shash_desc *desc) sha224_sparc64_init() 45 static int sha256_sparc64_init(struct shash_desc *desc) sha256_sparc64_init() 82 static int sha256_sparc64_update(struct shash_desc *desc, const u8 *data, sha256_sparc64_update() 98 static int sha256_sparc64_final(struct shash_desc *desc, u8 *out) sha256_sparc64_final() 131 static int sha224_sparc64_final(struct shash_desc *desc, u8 *hash) sha224_sparc64_final() 143 static int sha256_sparc64_export(struct shash_desc *desc, void *out) sha256_sparc64_export() 151 static int sha256_sparc64_import(struct shash_desc *desc, const void *in) sha256_sparc64_import()
|
H A D | md5_glue.c | 32 static int md5_sparc64_init(struct shash_desc *desc) md5_sparc64_init() 66 static int md5_sparc64_update(struct shash_desc *desc, const u8 *data, md5_sparc64_update() 83 static int md5_sparc64_final(struct shash_desc *desc, u8 *out) md5_sparc64_final() 116 static int md5_sparc64_export(struct shash_desc *desc, void *out) md5_sparc64_export() 125 static int md5_sparc64_import(struct shash_desc *desc, const void *in) md5_sparc64_import()
|
H A D | sha1_glue.c | 29 static int sha1_sparc64_init(struct shash_desc *desc) sha1_sparc64_init() 61 static int sha1_sparc64_update(struct shash_desc *desc, const u8 *data, sha1_sparc64_update() 78 static int sha1_sparc64_final(struct shash_desc *desc, u8 *out) sha1_sparc64_final() 111 static int sha1_sparc64_export(struct shash_desc *desc, void *out) sha1_sparc64_export() 120 static int sha1_sparc64_import(struct shash_desc *desc, const void *in) sha1_sparc64_import()
|
H A D | sha512_glue.c | 28 static int sha512_sparc64_init(struct shash_desc *desc) sha512_sparc64_init() 44 static int sha384_sparc64_init(struct shash_desc *desc) sha384_sparc64_init() 82 static int sha512_sparc64_update(struct shash_desc *desc, const u8 *data, sha512_sparc64_update() 99 static int sha512_sparc64_final(struct shash_desc *desc, u8 *out) sha512_sparc64_final() 135 static int sha384_sparc64_final(struct shash_desc *desc, u8 *hash) sha384_sparc64_final()
|
/linux-4.4.14/arch/powerpc/crypto/ |
H A D | md5-glue.c | 36 static int ppc_md5_init(struct shash_desc *desc) ppc_md5_init() 49 static int ppc_md5_update(struct shash_desc *desc, const u8 *data, ppc_md5_update() 81 static int ppc_md5_final(struct shash_desc *desc, u8 *out) ppc_md5_final() 113 static int ppc_md5_export(struct shash_desc *desc, void *out) ppc_md5_export() 121 static int ppc_md5_import(struct shash_desc *desc, const void *in) ppc_md5_import()
|
H A D | sha1.c | 31 static int sha1_init(struct shash_desc *desc) sha1_init() 42 static int sha1_update(struct shash_desc *desc, const u8 *data, sha1_update() 79 static int sha1_final(struct shash_desc *desc, u8 *out) sha1_final() 107 static int sha1_export(struct shash_desc *desc, void *out) sha1_export() 115 static int sha1_import(struct shash_desc *desc, const void *in) sha1_import()
|
H A D | sha1-spe-glue.c | 63 static int ppc_spe_sha1_init(struct shash_desc *desc) ppc_spe_sha1_init() 77 static int ppc_spe_sha1_update(struct shash_desc *desc, const u8 *data, ppc_spe_sha1_update() 121 static int ppc_spe_sha1_final(struct shash_desc *desc, u8 *out) ppc_spe_sha1_final() 158 static int ppc_spe_sha1_export(struct shash_desc *desc, void *out) ppc_spe_sha1_export() 166 static int ppc_spe_sha1_import(struct shash_desc *desc, const void *in) ppc_spe_sha1_import()
|
H A D | sha256-spe-glue.c | 64 static int ppc_spe_sha256_init(struct shash_desc *desc) ppc_spe_sha256_init() 81 static int ppc_spe_sha224_init(struct shash_desc *desc) ppc_spe_sha224_init() 98 static int ppc_spe_sha256_update(struct shash_desc *desc, const u8 *data, ppc_spe_sha256_update() 143 static int ppc_spe_sha256_final(struct shash_desc *desc, u8 *out) ppc_spe_sha256_final() 183 static int ppc_spe_sha224_final(struct shash_desc *desc, u8 *out) ppc_spe_sha224_final() 204 static int ppc_spe_sha256_export(struct shash_desc *desc, void *out) ppc_spe_sha256_export() 212 static int ppc_spe_sha256_import(struct shash_desc *desc, const void *in) ppc_spe_sha256_import()
|
/linux-4.4.14/include/crypto/internal/ |
H A D | hash.h | 116 int shash_ahash_update(struct ahash_request *req, struct shash_desc *desc); 117 int shash_ahash_finup(struct ahash_request *req, struct shash_desc *desc); 118 int shash_ahash_digest(struct ahash_request *req, struct shash_desc *desc); 121 struct shash_desc *desc); 123 struct shash_desc *desc); 125 struct shash_desc *desc); 127 struct shash_desc *desc);
|
/linux-4.4.14/drivers/crypto/ |
H A D | padlock-sha.c | 29 struct shash_desc fallback; 36 static int padlock_sha_init(struct shash_desc *desc) padlock_sha_init() 46 static int padlock_sha_update(struct shash_desc *desc, padlock_sha_update() 55 static int padlock_sha_export(struct shash_desc *desc, void *out) padlock_sha_export() 62 static int padlock_sha_import(struct shash_desc *desc, const void *in) padlock_sha_import() 79 static int padlock_sha1_finup(struct shash_desc *desc, const u8 *in, padlock_sha1_finup() 138 static int padlock_sha1_final(struct shash_desc *desc, u8 *out) padlock_sha1_final() 145 static int padlock_sha256_finup(struct shash_desc *desc, const u8 *in, padlock_sha256_finup() 204 static int padlock_sha256_final(struct shash_desc *desc, u8 *out) padlock_sha256_final() 294 static int padlock_sha1_init_nano(struct shash_desc *desc) padlock_sha1_init_nano() 305 static int padlock_sha1_update_nano(struct shash_desc *desc, padlock_sha1_update_nano() 359 static int padlock_sha1_final_nano(struct shash_desc *desc, u8 *out) padlock_sha1_final_nano() 382 static int padlock_sha256_init_nano(struct shash_desc *desc) padlock_sha256_init_nano() 394 static int padlock_sha256_update_nano(struct shash_desc *desc, const u8 *data, padlock_sha256_update_nano() 448 static int padlock_sha256_final_nano(struct shash_desc *desc, u8 *out) padlock_sha256_final_nano() 472 static int padlock_sha_export_nano(struct shash_desc *desc, padlock_sha_export_nano() 482 static int padlock_sha_import_nano(struct shash_desc *desc, padlock_sha_import_nano()
|
H A D | mv_cesa.c | 394 struct shash_desc *desc) mv_hash_import_sha1_ctx()
|
/linux-4.4.14/arch/arm64/crypto/ |
H A D | sha1-ce-glue.c | 35 static int sha1_ce_update(struct shash_desc *desc, const u8 *data, sha1_ce_update() 49 static int sha1_ce_finup(struct shash_desc *desc, const u8 *data, sha1_ce_finup() 75 static int sha1_ce_final(struct shash_desc *desc, u8 *out) sha1_ce_final()
|
H A D | crc32-arm64.c | 100 static int chksum_init(struct shash_desc *desc) chksum_init() 128 static int chksum_update(struct shash_desc *desc, const u8 *data, chksum_update() 137 static int chksumc_update(struct shash_desc *desc, const u8 *data, chksumc_update() 146 static int chksum_final(struct shash_desc *desc, u8 *out) chksum_final() 154 static int chksumc_final(struct shash_desc *desc, u8 *out) chksumc_final() 174 static int chksum_finup(struct shash_desc *desc, const u8 *data, chksum_finup() 182 static int chksumc_finup(struct shash_desc *desc, const u8 *data, chksumc_finup() 190 static int chksum_digest(struct shash_desc *desc, const u8 *data, chksum_digest() 198 static int chksumc_digest(struct shash_desc *desc, const u8 *data, chksumc_digest()
|
H A D | ghash-ce-glue.c | 39 static int ghash_init(struct shash_desc *desc) ghash_init() 47 static int ghash_update(struct shash_desc *desc, const u8 *src, ghash_update() 82 static int ghash_final(struct shash_desc *desc, u8 *dst) ghash_final()
|
H A D | sha2-ce-glue.c | 35 static int sha256_ce_update(struct shash_desc *desc, const u8 *data, sha256_ce_update() 49 static int sha256_ce_finup(struct shash_desc *desc, const u8 *data, sha256_ce_finup() 76 static int sha256_ce_final(struct shash_desc *desc, u8 *out) sha256_ce_final()
|
/linux-4.4.14/arch/mips/cavium-octeon/crypto/ |
H A D | octeon-md5.c | 68 static int octeon_md5_init(struct shash_desc *desc) octeon_md5_init() 81 static int octeon_md5_update(struct shash_desc *desc, const u8 *data, octeon_md5_update() 121 static int octeon_md5_final(struct shash_desc *desc, u8 *out) octeon_md5_final() 156 static int octeon_md5_export(struct shash_desc *desc, void *out) octeon_md5_export() 164 static int octeon_md5_import(struct shash_desc *desc, const void *in) octeon_md5_import()
|
H A D | octeon-sha1.c | 78 static int octeon_sha1_init(struct shash_desc *desc) octeon_sha1_init() 123 static int octeon_sha1_update(struct shash_desc *desc, const u8 *data, octeon_sha1_update() 149 static int octeon_sha1_final(struct shash_desc *desc, u8 *out) octeon_sha1_final() 189 static int octeon_sha1_export(struct shash_desc *desc, void *out) octeon_sha1_export() 197 static int octeon_sha1_import(struct shash_desc *desc, const void *in) octeon_sha1_import()
|
H A D | octeon-sha256.c | 70 static int octeon_sha224_init(struct shash_desc *desc) octeon_sha224_init() 87 static int octeon_sha256_init(struct shash_desc *desc) octeon_sha256_init() 135 static int octeon_sha256_update(struct shash_desc *desc, const u8 *data, octeon_sha256_update() 161 static int octeon_sha256_final(struct shash_desc *desc, u8 *out) octeon_sha256_final() 201 static int octeon_sha224_final(struct shash_desc *desc, u8 *hash) octeon_sha224_final() 213 static int octeon_sha256_export(struct shash_desc *desc, void *out) octeon_sha256_export() 221 static int octeon_sha256_import(struct shash_desc *desc, const void *in) octeon_sha256_import()
|
H A D | octeon-sha512.c | 81 static int octeon_sha512_init(struct shash_desc *desc) octeon_sha512_init() 98 static int octeon_sha384_init(struct shash_desc *desc) octeon_sha384_init() 149 static int octeon_sha512_update(struct shash_desc *desc, const u8 *data, octeon_sha512_update() 175 static int octeon_sha512_final(struct shash_desc *desc, u8 *hash) octeon_sha512_final() 216 static int octeon_sha384_final(struct shash_desc *desc, u8 *hash) octeon_sha384_final()
|
/linux-4.4.14/drivers/crypto/vmx/ |
H A D | ghash.c | 53 struct shash_desc fallback_desc; 99 static int p8_ghash_init(struct shash_desc *desc) p8_ghash_init() 130 static int p8_ghash_update(struct shash_desc *desc, p8_ghash_update() 184 static int p8_ghash_final(struct shash_desc *desc, u8 *out) p8_ghash_final()
|
/linux-4.4.14/drivers/crypto/nx/ |
H A D | nx-sha256.c | 50 static int nx_sha256_init(struct shash_desc *desc) { nx_sha256_init() 68 static int nx_sha256_update(struct shash_desc *desc, const u8 *data, nx_sha256_update() 189 static int nx_sha256_final(struct shash_desc *desc, u8 *out) nx_sha256_final() 260 static int nx_sha256_export(struct shash_desc *desc, void *out) nx_sha256_export() 269 static int nx_sha256_import(struct shash_desc *desc, const void *in) nx_sha256_import()
|
H A D | nx-sha512.c | 49 static int nx_sha512_init(struct shash_desc *desc) nx_sha512_init() 68 static int nx_sha512_update(struct shash_desc *desc, const u8 *data, nx_sha512_update() 192 static int nx_sha512_final(struct shash_desc *desc, u8 *out) nx_sha512_final() 266 static int nx_sha512_export(struct shash_desc *desc, void *out) nx_sha512_export() 275 static int nx_sha512_import(struct shash_desc *desc, const void *in) nx_sha512_import()
|
H A D | nx-aes-xcbc.c | 71 static int nx_xcbc_empty(struct shash_desc *desc, u8 *out) nx_xcbc_empty() 170 static int nx_xcbc_init(struct shash_desc *desc) nx_xcbc_init() 179 static int nx_xcbc_update(struct shash_desc *desc, nx_xcbc_update() 307 static int nx_xcbc_final(struct shash_desc *desc, u8 *out) nx_xcbc_final()
|
/linux-4.4.14/security/integrity/evm/ |
H A D | evm_crypto.c | 35 static struct shash_desc *init_desc(char type) init_desc() 40 struct shash_desc *desc; init_desc() 97 static void hmac_add_misc(struct shash_desc *desc, struct inode *inode, hmac_add_misc() 135 struct shash_desc *desc; evm_calc_hmac_or_hash() 222 struct shash_desc *desc; evm_init_hmac()
|
/linux-4.4.14/lib/ |
H A D | crc-t10dif.c | 25 struct shash_desc shash; crc_t10dif_update()
|
H A D | digsig.c | 195 struct shash_desc *desc = NULL; digsig_verify()
|
/linux-4.4.14/security/apparmor/ |
H A D | crypto.c | 36 struct shash_desc shash; aa_calc_profile_hash()
|
/linux-4.4.14/arch/x86/crypto/sha-mb/ |
H A D | sha1_mb.c | 82 struct shash_desc *desc; cast_hash_to_mcryptd_ctx() 84 desc = container_of((void *) hash_ctx, struct shash_desc, __ctx); cast_hash_to_mcryptd_ctx() 94 struct shash_desc *desc) req_ctx_init() 346 static int sha1_mb_init(struct shash_desc *desc) sha1_mb_init() 488 static int sha1_mb_update(struct shash_desc *desc, const u8 *data, sha1_mb_update() 547 static int sha1_mb_finup(struct shash_desc *desc, const u8 *data, sha1_mb_finup() 608 static int sha1_mb_final(struct shash_desc *desc, u8 *out) sha1_mb_final() 657 static int sha1_mb_export(struct shash_desc *desc, void *out) sha1_mb_export() 666 static int sha1_mb_import(struct shash_desc *desc, const void *in) sha1_mb_import()
|
/linux-4.4.14/drivers/md/ |
H A D | dm-verity.c | 115 static struct shash_desc *io_hash_desc(struct dm_verity *v, struct dm_verity_io *io) io_hash_desc() 117 return (struct shash_desc *)(io + 1); io_hash_desc() 276 struct shash_desc *desc; verity_verify_level() 356 struct shash_desc *desc; verity_verify_io() 830 sizeof(struct shash_desc) + crypto_shash_descsize(v->tfm); verity_ctr()
|
/linux-4.4.14/crypto/asymmetric_keys/ |
H A D | verify_pefile.c | 247 struct shash_desc *desc) pefile_digest_pe_contents() 326 struct shash_desc *desc; pefile_digest_pe()
|
H A D | x509_public_key.c | 161 struct shash_desc *desc; x509_get_sig_params()
|
H A D | pkcs7_verify.c | 29 struct shash_desc *desc; pkcs7_digest()
|
/linux-4.4.14/fs/cifs/ |
H A D | smb2transport.c | 59 size = sizeof(struct shash_desc) + smb2_crypto_shash_allocate() 98 size = sizeof(struct shash_desc) + smb3_crypto_shash_allocate()
|
H A D | smbencrypt.c | 147 size = sizeof(struct shash_desc) + crypto_shash_descsize(md4); mdfour()
|
H A D | cifsencrypt.c | 54 size = sizeof(struct shash_desc) + cifs_crypto_shash_md5_allocate() 663 size = sizeof(struct shash_desc) + crypto_hmacmd5_alloc()
|
H A D | link.c | 71 size = sizeof(struct shash_desc) + crypto_shash_descsize(md5); symlink_hash()
|
H A D | cifsglob.h | 111 struct shash_desc shash;
|
/linux-4.4.14/net/bluetooth/ |
H A D | amp.c | 138 struct shash_desc *shash; hmac_sha256()
|
/linux-4.4.14/security/keys/encrypted-keys/ |
H A D | encrypted.c | 58 struct shash_desc shash; 329 size = sizeof(struct shash_desc) + crypto_shash_descsize(alg); alloc_sdesc()
|
/linux-4.4.14/security/keys/ |
H A D | trusted.c | 38 struct shash_desc shash; 50 size = sizeof(struct shash_desc) + crypto_shash_descsize(alg); init_sdesc()
|
/linux-4.4.14/kernel/ |
H A D | kexec_file.c | 552 struct shash_desc *desc; kexec_calculate_store_digests()
|
/linux-4.4.14/include/linux/ |
H A D | jbd2.h | 1476 struct shash_desc shash; jbd2_chksum()
|
/linux-4.4.14/fs/ext4/ |
H A D | ext4.h | 1993 struct shash_desc shash; ext4_chksum()
|