| /OK3568_Linux_fs/kernel/crypto/ |
| H A D | shash.c | 36 bool crypto_shash_alg_has_setkey(struct shash_alg *alg) in crypto_shash_alg_has_setkey() 45 struct shash_alg *shash = crypto_shash_alg(tfm); in shash_setkey_unaligned() 63 static void shash_set_needkey(struct crypto_shash *tfm, struct shash_alg *alg) in shash_set_needkey() 72 struct shash_alg *shash = crypto_shash_alg(tfm); in crypto_shash_setkey() 95 struct shash_alg *shash = crypto_shash_alg(tfm); in shash_update_unaligned() 125 struct shash_alg *shash = crypto_shash_alg(tfm); in crypto_shash_update() 139 struct shash_alg *shash = crypto_shash_alg(tfm); in shash_final_unaligned() 166 struct shash_alg *shash = crypto_shash_alg(tfm); in crypto_shash_final() 187 struct shash_alg *shash = crypto_shash_alg(tfm); in crypto_shash_finup() 208 struct shash_alg *shash = crypto_shash_alg(tfm); in crypto_shash_digest() [all …]
|
| H A D | fips140-alg-registration.c | 170 struct shash_alg *alg = crypto_shash_alg(tfm); in fips140_shash_init_tfm() 233 static int fips140_prepare_shash_alg(struct shash_alg *alg) in fips140_prepare_shash_alg() 263 int fips140_crypto_register_shash(struct shash_alg *alg) in fips140_crypto_register_shash() 362 int fips140_crypto_register_shashes(struct shash_alg *algs, int count) in fips140_crypto_register_shashes()
|
| H A D | blake2s_generic.c | 43 static struct shash_alg blake2s_algs[] = {
|
| /OK3568_Linux_fs/kernel/include/crypto/internal/ |
| H A D | hash.h | 47 char head[offsetof(struct shash_alg, base)]; 50 struct shash_alg alg; 78 bool crypto_shash_alg_has_setkey(struct shash_alg *alg); 80 static inline bool crypto_shash_alg_needs_key(struct shash_alg *alg) in crypto_shash_alg_needs_key() 103 int crypto_register_shash(struct shash_alg *alg); 104 void crypto_unregister_shash(struct shash_alg *alg); 105 int crypto_register_shashes(struct shash_alg *algs, int count); 106 void crypto_unregister_shashes(struct shash_alg *algs, int count); 120 static inline struct shash_alg *crypto_spawn_shash_alg( in crypto_spawn_shash_alg()
|
| /OK3568_Linux_fs/kernel/arch/x86/crypto/ |
| H A D | sha1_ssse3_glue.c | 87 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 = {
|
| H A D | sha256_ssse3_glue.c | 101 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[] = { {
|
| H A D | sha512_ssse3_glue.c | 99 static struct shash_alg sha512_ssse3_algs[] = { { 175 static struct shash_alg sha512_avx_algs[] = { { 241 static struct shash_alg sha512_avx2_algs[] = { {
|
| /OK3568_Linux_fs/kernel/drivers/crypto/nx/ |
| H A D | nx.h | 186 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;
|
| /OK3568_Linux_fs/kernel/drivers/crypto/ |
| H A D | padlock-sha.c | 220 static struct shash_alg sha1_alg = { 243 static struct shash_alg sha256_alg = { 456 static struct shash_alg sha1_alg_nano = { 474 static struct shash_alg sha256_alg_nano = { 502 struct shash_alg *sha1; in padlock_init() 503 struct shash_alg *sha256; in padlock_init()
|
| /OK3568_Linux_fs/kernel/include/crypto/ |
| H A D | hash.h | 198 struct shash_alg { struct 767 static inline struct shash_alg *__crypto_shash_alg(struct crypto_alg *alg) in __crypto_shash_alg() 769 return container_of(alg, struct shash_alg, base); in __crypto_shash_alg() 772 static inline struct shash_alg *crypto_shash_alg(struct crypto_shash *tfm) in crypto_shash_alg()
|
| /OK3568_Linux_fs/kernel/arch/s390/crypto/ |
| H A D | sha3_256_s390.c | 70 static struct shash_alg sha3_256_alg = { 99 static struct shash_alg sha3_224_alg = {
|
| H A D | sha256_s390.c | 61 static struct shash_alg sha256_alg = { 97 static struct shash_alg sha224_alg = {
|
| H A D | sha3_512_s390.c | 77 static struct shash_alg sha3_512_alg = { 108 static struct shash_alg sha3_384_alg = {
|
| H A D | sha512_s390.c | 66 static struct shash_alg sha512_alg = { 104 static struct shash_alg sha384_alg = {
|
| /OK3568_Linux_fs/kernel/Documentation/crypto/ |
| H A D | devel-algos.rst | 153 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
|
| /OK3568_Linux_fs/kernel/arch/arm64/crypto/ |
| H A D | sha256-glue.c | 67 static struct shash_alg algs[] = { { 147 static struct shash_alg neon_algs[] = { {
|
| H A D | nhpoly1305-neon-glue.c | 44 static struct shash_alg nhpoly1305_alg = {
|
| /OK3568_Linux_fs/kernel/arch/sparc/crypto/ |
| H A D | sha512_glue.c | 147 static struct shash_alg sha512 = { 162 static struct shash_alg sha384 = {
|
| H A D | sha256_glue.c | 159 static struct shash_alg sha256_alg = { 177 static struct shash_alg sha224_alg = {
|
| /OK3568_Linux_fs/kernel/arch/arm/crypto/ |
| H A D | sha512.h | 9 extern struct shash_alg sha512_neon_algs[2];
|
| H A D | sha256_glue.h | 7 extern struct shash_alg sha256_neon_algs[2];
|
| H A D | sha1_glue.c | 53 static struct shash_alg alg = {
|
| H A D | blake2s-shash.c | 41 static struct shash_alg blake2s_arm_algs[] = {
|
| H A D | nhpoly1305-neon-glue.c | 44 static struct shash_alg nhpoly1305_alg = {
|
| /OK3568_Linux_fs/kernel/drivers/crypto/vmx/ |
| H A D | vmx.c | 20 extern struct shash_alg p8_ghash_alg;
|