Home
last modified time | relevance | path

Searched refs:shash_alg (Results 1 – 25 of 111) sorted by relevance

12345

/Linux-v6.6/crypto/
Dshash.c24 static inline struct crypto_istat_hash *shash_get_stat(struct shash_alg *alg) in shash_get_stat()
29 static inline int crypto_shash_errstat(struct shash_alg *alg, int err) in crypto_shash_errstat()
44 struct shash_alg *shash = crypto_shash_alg(tfm); in shash_setkey_unaligned()
62 static void shash_set_needkey(struct crypto_shash *tfm, struct shash_alg *alg) in shash_set_needkey()
71 struct shash_alg *shash = crypto_shash_alg(tfm); in crypto_shash_setkey()
94 struct shash_alg *shash = crypto_shash_alg(tfm); in shash_update_unaligned()
124 struct shash_alg *shash = crypto_shash_alg(tfm); in crypto_shash_update()
144 struct shash_alg *shash = crypto_shash_alg(tfm); in shash_final_unaligned()
171 struct shash_alg *shash = crypto_shash_alg(tfm); in crypto_shash_final()
198 struct shash_alg *shash = crypto_shash_alg(tfm); in crypto_shash_finup()
[all …]
Dsm3_generic.c54 static struct shash_alg sm3_alg = {
/Linux-v6.6/include/crypto/internal/
Dhash.h47 char head[offsetof(struct shash_alg, base)];
50 struct shash_alg alg;
81 static inline bool crypto_shash_alg_has_setkey(struct shash_alg *alg) in crypto_shash_alg_has_setkey()
86 static inline bool crypto_shash_alg_needs_key(struct shash_alg *alg) in crypto_shash_alg_needs_key()
109 int crypto_register_shash(struct shash_alg *alg);
110 void crypto_unregister_shash(struct shash_alg *alg);
111 int crypto_register_shashes(struct shash_alg *algs, int count);
112 void crypto_unregister_shashes(struct shash_alg *algs, int count);
126 static inline struct shash_alg *crypto_spawn_shash_alg( in crypto_spawn_shash_alg()
/Linux-v6.6/arch/x86/crypto/
Dsha1_ssse3_glue.c87 static struct shash_alg sha1_ssse3_alg = {
136 static struct shash_alg sha1_avx_alg = {
218 static struct shash_alg sha1_avx2_alg = {
268 static struct shash_alg sha1_ni_alg = {
Dsha256_ssse3_glue.c101 static struct shash_alg sha256_ssse3_algs[] = { {
166 static struct shash_alg sha256_avx_algs[] = { {
242 static struct shash_alg sha256_avx2_algs[] = { {
317 static struct shash_alg sha256_ni_algs[] = { {
Dsha512_ssse3_glue.c100 static struct shash_alg sha512_ssse3_algs[] = { {
176 static struct shash_alg sha512_avx_algs[] = { {
242 static struct shash_alg sha512_avx2_algs[] = { {
Dnhpoly1305-avx2-glue.c37 static struct shash_alg nhpoly1305_alg = {
Dnhpoly1305-sse2-glue.c37 static struct shash_alg nhpoly1305_alg = {
/Linux-v6.6/drivers/crypto/nx/
Dnx.h186 extern struct shash_alg nx_shash_aes_xcbc_alg;
187 extern struct shash_alg nx_shash_sha512_alg;
188 extern struct shash_alg nx_shash_sha256_alg;
/Linux-v6.6/drivers/crypto/
Dpadlock-sha.c221 static struct shash_alg sha1_alg = {
244 static struct shash_alg sha256_alg = {
457 static struct shash_alg sha1_alg_nano = {
475 static struct shash_alg sha256_alg_nano = {
503 struct shash_alg *sha1; in padlock_init()
504 struct shash_alg *sha256; in padlock_init()
/Linux-v6.6/arch/s390/crypto/
Dsha3_256_s390.c69 static struct shash_alg sha3_256_alg = {
98 static struct shash_alg sha3_224_alg = {
Dsha256_s390.c61 static struct shash_alg sha256_alg = {
97 static struct shash_alg sha224_alg = {
Dsha3_512_s390.c76 static struct shash_alg sha3_512_alg = {
107 static struct shash_alg sha3_384_alg = {
Dsha512_s390.c66 static struct shash_alg sha512_alg = {
104 static struct shash_alg sha384_alg = {
/Linux-v6.6/include/crypto/
Dhash.h225 struct shash_alg { struct
821 static inline struct shash_alg *__crypto_shash_alg(struct crypto_alg *alg) in __crypto_shash_alg()
823 return container_of(alg, struct shash_alg, base); in __crypto_shash_alg()
826 static inline struct shash_alg *crypto_shash_alg(struct crypto_shash *tfm) in crypto_shash_alg()
/Linux-v6.6/Documentation/crypto/
Ddevel-algos.rst153 int crypto_register_shash(struct shash_alg *alg);
154 int crypto_register_shashes(struct shash_alg *algs, int count);
164 void crypto_unregister_shash(struct shash_alg *alg);
165 void crypto_unregister_shashes(struct shash_alg *algs, int count);
168 Cipher Definition With struct shash_alg and ahash_alg
/Linux-v6.6/arch/arm/crypto/
Dsha512.h9 extern struct shash_alg sha512_neon_algs[2];
Dsha256_glue.h7 extern struct shash_alg sha256_neon_algs[2];
Dnhpoly1305-neon-glue.c37 static struct shash_alg nhpoly1305_alg = {
Dsha1_glue.c51 static struct shash_alg alg = {
/Linux-v6.6/arch/sparc/crypto/
Dsha512_glue.c116 static struct shash_alg sha512 = {
131 static struct shash_alg sha384 = {
Dsha256_glue.c128 static struct shash_alg sha256_alg = {
146 static struct shash_alg sha224_alg = {
/Linux-v6.6/arch/arm64/crypto/
Dsha256-glue.c68 static struct shash_alg algs[] = { {
148 static struct shash_alg neon_algs[] = { {
Dnhpoly1305-neon-glue.c37 static struct shash_alg nhpoly1305_alg = {
/Linux-v6.6/drivers/crypto/xilinx/
Dzynqmp-sha.c30 struct shash_alg sha3_384;
50 struct shash_alg *alg = crypto_shash_alg(hash); in zynqmp_sha_init_tfm()

12345