/Linux-v5.4/arch/mips/cavium-octeon/crypto/ |
D | octeon-sha256.c | 32 static void octeon_sha256_store_hash(struct sha256_state *sctx) in octeon_sha256_store_hash() 42 static void octeon_sha256_read_hash(struct sha256_state *sctx) in octeon_sha256_read_hash() 68 struct sha256_state *sctx = shash_desc_ctx(desc); in octeon_sha224_init() local 85 struct sha256_state *sctx = shash_desc_ctx(desc); in octeon_sha256_init() local 100 static void __octeon_sha256_update(struct sha256_state *sctx, const u8 *data, in __octeon_sha256_update() 134 struct sha256_state *sctx = shash_desc_ctx(desc); in octeon_sha256_update() local 159 struct sha256_state *sctx = shash_desc_ctx(desc); in octeon_sha256_final() local 211 struct sha256_state *sctx = shash_desc_ctx(desc); in octeon_sha256_export() local 219 struct sha256_state *sctx = shash_desc_ctx(desc); in octeon_sha256_import() local
|
D | octeon-sha1.c | 31 static void octeon_sha1_store_hash(struct sha1_state *sctx) in octeon_sha1_store_hash() 45 static void octeon_sha1_read_hash(struct sha1_state *sctx) in octeon_sha1_read_hash() 76 struct sha1_state *sctx = shash_desc_ctx(desc); in octeon_sha1_init() local 88 static void __octeon_sha1_update(struct sha1_state *sctx, const u8 *data, in __octeon_sha1_update() 122 struct sha1_state *sctx = shash_desc_ctx(desc); in octeon_sha1_update() local 147 struct sha1_state *sctx = shash_desc_ctx(desc); in octeon_sha1_final() local 187 struct sha1_state *sctx = shash_desc_ctx(desc); in octeon_sha1_export() local 195 struct sha1_state *sctx = shash_desc_ctx(desc); in octeon_sha1_import() local
|
D | octeon-sha512.c | 31 static void octeon_sha512_store_hash(struct sha512_state *sctx) in octeon_sha512_store_hash() 43 static void octeon_sha512_read_hash(struct sha512_state *sctx) in octeon_sha512_read_hash() 79 struct sha512_state *sctx = shash_desc_ctx(desc); in octeon_sha512_init() local 96 struct sha512_state *sctx = shash_desc_ctx(desc); in octeon_sha384_init() local 111 static void __octeon_sha512_update(struct sha512_state *sctx, const u8 *data, in __octeon_sha512_update() 148 struct sha512_state *sctx = shash_desc_ctx(desc); in octeon_sha512_update() local 173 struct sha512_state *sctx = shash_desc_ctx(desc); in octeon_sha512_final() local
|
/Linux-v5.4/drivers/md/ |
D | dm-switch.c | 62 struct switch_ctx *sctx; in alloc_switch_ctx() local 78 struct switch_ctx *sctx = ti->private; in alloc_region_table() local 126 static void switch_get_position(struct switch_ctx *sctx, unsigned long region_nr, in switch_get_position() 140 static unsigned switch_region_table_read(struct switch_ctx *sctx, unsigned long region_nr) in switch_region_table_read() 154 static unsigned switch_get_path_nr(struct switch_ctx *sctx, sector_t offset) in switch_get_path_nr() 174 static void switch_region_table_write(struct switch_ctx *sctx, unsigned long region_nr, in switch_region_table_write() 192 static void initialise_region_table(struct switch_ctx *sctx) in initialise_region_table() 206 struct switch_ctx *sctx = ti->private; in parse_path() local 235 struct switch_ctx *sctx = ti->private; in switch_dtr() local 260 struct switch_ctx *sctx; in switch_ctr() local [all …]
|
/Linux-v5.4/fs/btrfs/ |
D | send.c | 279 static void inconsistent_snapshot_error(struct send_ctx *sctx, in inconsistent_snapshot_error() 319 static int need_send_hole(struct send_ctx *sctx) in need_send_hole() 568 static int tlv_put(struct send_ctx *sctx, u16 attr, const void *data, int len) in tlv_put() 596 static int tlv_put_string(struct send_ctx *sctx, u16 attr, in tlv_put_string() 604 static int tlv_put_uuid(struct send_ctx *sctx, u16 attr, in tlv_put_uuid() 610 static int tlv_put_btrfs_timespec(struct send_ctx *sctx, u16 attr, in tlv_put_btrfs_timespec() 620 #define TLV_PUT(sctx, attrtype, data, attrlen) \ argument 627 #define TLV_PUT_INT(sctx, attrtype, bits, value) \ argument 634 #define TLV_PUT_U8(sctx, attrtype, data) TLV_PUT_INT(sctx, attrtype, 8, data) argument 635 #define TLV_PUT_U16(sctx, attrtype, data) TLV_PUT_INT(sctx, attrtype, 16, data) argument [all …]
|
/Linux-v5.4/arch/powerpc/crypto/ |
D | sha256-spe-glue.c | 50 static inline void ppc_sha256_clear_context(struct sha256_state *sctx) in ppc_sha256_clear_context() 62 struct sha256_state *sctx = shash_desc_ctx(desc); in ppc_spe_sha256_init() local 79 struct sha256_state *sctx = shash_desc_ctx(desc); in ppc_spe_sha224_init() local 97 struct sha256_state *sctx = shash_desc_ctx(desc); in ppc_spe_sha256_update() local 141 struct sha256_state *sctx = shash_desc_ctx(desc); in ppc_spe_sha256_final() local 202 struct sha256_state *sctx = shash_desc_ctx(desc); in ppc_spe_sha256_export() local 210 struct sha256_state *sctx = shash_desc_ctx(desc); in ppc_spe_sha256_import() local
|
D | md5-glue.c | 21 static inline void ppc_md5_clear_context(struct md5_state *sctx) in ppc_md5_clear_context() 33 struct md5_state *sctx = shash_desc_ctx(desc); in ppc_md5_init() local 47 struct md5_state *sctx = shash_desc_ctx(desc); in ppc_md5_update() local 78 struct md5_state *sctx = shash_desc_ctx(desc); in ppc_md5_final() local 110 struct md5_state *sctx = shash_desc_ctx(desc); in ppc_md5_export() local 118 struct md5_state *sctx = shash_desc_ctx(desc); in ppc_md5_import() local
|
D | sha1-spe-glue.c | 49 static inline void ppc_sha1_clear_context(struct sha1_state *sctx) in ppc_sha1_clear_context() 61 struct sha1_state *sctx = shash_desc_ctx(desc); in ppc_spe_sha1_init() local 76 struct sha1_state *sctx = shash_desc_ctx(desc); in ppc_spe_sha1_update() local 119 struct sha1_state *sctx = shash_desc_ctx(desc); in ppc_spe_sha1_final() local 156 struct sha1_state *sctx = shash_desc_ctx(desc); in ppc_spe_sha1_export() local 164 struct sha1_state *sctx = shash_desc_ctx(desc); in ppc_spe_sha1_import() local
|
D | sha1.c | 28 struct sha1_state *sctx = shash_desc_ctx(desc); in sha1_init() local 40 struct sha1_state *sctx = shash_desc_ctx(desc); in sha1_update() local 76 struct sha1_state *sctx = shash_desc_ctx(desc); in sha1_final() local 104 struct sha1_state *sctx = shash_desc_ctx(desc); in sha1_export() local 112 struct sha1_state *sctx = shash_desc_ctx(desc); in sha1_import() local
|
/Linux-v5.4/arch/sparc/crypto/ |
D | sha256_glue.c | 32 struct sha256_state *sctx = shash_desc_ctx(desc); in sha224_sparc64_init() local 48 struct sha256_state *sctx = shash_desc_ctx(desc); in sha256_sparc64_init() local 62 static void __sha256_sparc64_update(struct sha256_state *sctx, const u8 *data, in __sha256_sparc64_update() 86 struct sha256_state *sctx = shash_desc_ctx(desc); in sha256_sparc64_update() local 101 struct sha256_state *sctx = shash_desc_ctx(desc); in sha256_sparc64_final() local 146 struct sha256_state *sctx = shash_desc_ctx(desc); in sha256_sparc64_export() local 154 struct sha256_state *sctx = shash_desc_ctx(desc); in sha256_sparc64_import() local
|
D | sha1_glue.c | 32 struct sha1_state *sctx = shash_desc_ctx(desc); in sha1_sparc64_init() local 41 static void __sha1_sparc64_update(struct sha1_state *sctx, const u8 *data, in __sha1_sparc64_update() 65 struct sha1_state *sctx = shash_desc_ctx(desc); in sha1_sparc64_update() local 81 struct sha1_state *sctx = shash_desc_ctx(desc); in sha1_sparc64_final() local 114 struct sha1_state *sctx = shash_desc_ctx(desc); in sha1_sparc64_export() local 123 struct sha1_state *sctx = shash_desc_ctx(desc); in sha1_sparc64_import() local
|
D | md5_glue.c | 46 static void __md5_sparc64_update(struct md5_state *sctx, const u8 *data, in __md5_sparc64_update() 70 struct md5_state *sctx = shash_desc_ctx(desc); in md5_sparc64_update() local 86 struct md5_state *sctx = shash_desc_ctx(desc); in md5_sparc64_final() local 119 struct md5_state *sctx = shash_desc_ctx(desc); in md5_sparc64_export() local 128 struct md5_state *sctx = shash_desc_ctx(desc); in md5_sparc64_import() local
|
D | sha512_glue.c | 31 struct sha512_state *sctx = shash_desc_ctx(desc); in sha512_sparc64_init() local 47 struct sha512_state *sctx = shash_desc_ctx(desc); in sha384_sparc64_init() local 61 static void __sha512_sparc64_update(struct sha512_state *sctx, const u8 *data, in __sha512_sparc64_update() 86 struct sha512_state *sctx = shash_desc_ctx(desc); in sha512_sparc64_update() local 102 struct sha512_state *sctx = shash_desc_ctx(desc); in sha512_sparc64_final() local
|
/Linux-v5.4/arch/s390/crypto/ |
D | sha3_256_s390.c | 23 struct s390_sha_ctx *sctx = shash_desc_ctx(desc); in sha3_256_init() local 34 struct s390_sha_ctx *sctx = shash_desc_ctx(desc); in sha3_256_export() local 46 struct s390_sha_ctx *sctx = shash_desc_ctx(desc); in sha3_256_import() local 59 struct s390_sha_ctx *sctx = shash_desc_ctx(desc); in sha3_224_import() local 90 struct s390_sha_ctx *sctx = shash_desc_ctx(desc); in sha3_224_init() local
|
D | sha3_512_s390.c | 22 struct s390_sha_ctx *sctx = shash_desc_ctx(desc); in sha3_512_init() local 33 struct s390_sha_ctx *sctx = shash_desc_ctx(desc); in sha3_512_export() local 47 struct s390_sha_ctx *sctx = shash_desc_ctx(desc); in sha3_512_import() local 63 struct s390_sha_ctx *sctx = shash_desc_ctx(desc); in sha3_384_import() local 99 struct s390_sha_ctx *sctx = shash_desc_ctx(desc); in sha3_384_init() local
|
D | sha256_s390.c | 22 struct s390_sha_ctx *sctx = shash_desc_ctx(desc); in s390_sha256_init() local 40 struct s390_sha_ctx *sctx = shash_desc_ctx(desc); in sha256_export() local 51 struct s390_sha_ctx *sctx = shash_desc_ctx(desc); in sha256_import() local 81 struct s390_sha_ctx *sctx = shash_desc_ctx(desc); in s390_sha224_init() local
|
D | aes_s390.c | 74 struct s390_aes_ctx *sctx = crypto_tfm_ctx(tfm); in setkey_fallback_cip() local 93 struct s390_aes_ctx *sctx = crypto_tfm_ctx(tfm); in aes_set_key() local 113 struct s390_aes_ctx *sctx = crypto_tfm_ctx(tfm); in crypto_aes_encrypt() local 124 struct s390_aes_ctx *sctx = crypto_tfm_ctx(tfm); in crypto_aes_decrypt() local 137 struct s390_aes_ctx *sctx = crypto_tfm_ctx(tfm); in fallback_init_cip() local 153 struct s390_aes_ctx *sctx = crypto_tfm_ctx(tfm); in fallback_exit_cip() local 184 struct s390_aes_ctx *sctx = crypto_tfm_ctx(tfm); in setkey_fallback_blk() local 207 struct s390_aes_ctx *sctx = crypto_blkcipher_ctx(tfm); in fallback_blk_dec() local 226 struct s390_aes_ctx *sctx = crypto_blkcipher_ctx(tfm); in fallback_blk_enc() local 240 struct s390_aes_ctx *sctx = crypto_tfm_ctx(tfm); in ecb_aes_set_key() local [all …]
|
D | sha1_s390.c | 32 struct s390_sha_ctx *sctx = shash_desc_ctx(desc); in sha1_init() local 47 struct s390_sha_ctx *sctx = shash_desc_ctx(desc); in sha1_export() local 58 struct s390_sha_ctx *sctx = shash_desc_ctx(desc); in sha1_import() local
|
/Linux-v5.4/include/crypto/ |
D | sha256_base.h | 23 struct sha256_state *sctx = shash_desc_ctx(desc); in sha224_base_init() local 30 struct sha256_state *sctx = shash_desc_ctx(desc); in sha256_base_init() local 40 struct sha256_state *sctx = shash_desc_ctx(desc); in sha256_base_do_update() local 77 struct sha256_state *sctx = shash_desc_ctx(desc); in sha256_base_do_finalize() local 99 struct sha256_state *sctx = shash_desc_ctx(desc); in sha256_base_finish() local
|
D | sha512_base.h | 23 struct sha512_state *sctx = shash_desc_ctx(desc); in sha384_base_init() local 40 struct sha512_state *sctx = shash_desc_ctx(desc); in sha512_base_init() local 60 struct sha512_state *sctx = shash_desc_ctx(desc); in sha512_base_do_update() local 99 struct sha512_state *sctx = shash_desc_ctx(desc); in sha512_base_do_finalize() local 122 struct sha512_state *sctx = shash_desc_ctx(desc); in sha512_base_finish() local
|
D | sha1_base.h | 22 struct sha1_state *sctx = shash_desc_ctx(desc); in sha1_base_init() local 39 struct sha1_state *sctx = shash_desc_ctx(desc); in sha1_base_do_update() local 76 struct sha1_state *sctx = shash_desc_ctx(desc); in sha1_base_do_finalize() local 97 struct sha1_state *sctx = shash_desc_ctx(desc); in sha1_base_finish() local
|
D | sm3_base.h | 22 struct sm3_state *sctx = shash_desc_ctx(desc); in sm3_base_init() local 42 struct sm3_state *sctx = shash_desc_ctx(desc); in sm3_base_do_update() local 79 struct sm3_state *sctx = shash_desc_ctx(desc); in sm3_base_do_finalize() local 100 struct sm3_state *sctx = shash_desc_ctx(desc); in sm3_base_finish() local
|
/Linux-v5.4/drivers/crypto/nx/ |
D | nx-sha256.c | 39 struct sha256_state *sctx = shash_desc_ctx(desc); in nx_sha256_init() local 59 struct sha256_state *sctx = shash_desc_ctx(desc); in nx_sha256_update() local 178 struct sha256_state *sctx = shash_desc_ctx(desc); in nx_sha256_final() local 248 struct sha256_state *sctx = shash_desc_ctx(desc); in nx_sha256_export() local 257 struct sha256_state *sctx = shash_desc_ctx(desc); in nx_sha256_import() local
|
D | nx-sha512.c | 39 struct sha512_state *sctx = shash_desc_ctx(desc); in nx_sha512_init() local 59 struct sha512_state *sctx = shash_desc_ctx(desc); in nx_sha512_update() local 181 struct sha512_state *sctx = shash_desc_ctx(desc); in nx_sha512_final() local 254 struct sha512_state *sctx = shash_desc_ctx(desc); in nx_sha512_export() local 263 struct sha512_state *sctx = shash_desc_ctx(desc); in nx_sha512_import() local
|
/Linux-v5.4/lib/crypto/ |
D | sha256.c | 209 int sha256_update(struct sha256_state *sctx, const u8 *data, unsigned int len) in sha256_update() 240 int sha224_update(struct sha256_state *sctx, const u8 *data, unsigned int len) in sha224_update() 246 static int __sha256_final(struct sha256_state *sctx, u8 *out, int digest_words) in __sha256_final() 275 int sha256_final(struct sha256_state *sctx, u8 *out) in sha256_final() 281 int sha224_final(struct sha256_state *sctx, u8 *out) in sha224_final()
|