Home
last modified time | relevance | path

Searched defs:dctx (Results 1 – 25 of 35) sorted by relevance

12

/kernel/linux/linux-5.10/arch/arm64/crypto/
Dpoly1305-glue.c28 void poly1305_init_arch(struct poly1305_desc_ctx *dctx, const u8 key[POLY1305_KEY_SIZE]) in poly1305_init_arch()
41 struct poly1305_desc_ctx *dctx = shash_desc_ctx(desc); in neon_poly1305_init() local
50 static void neon_poly1305_blocks(struct poly1305_desc_ctx *dctx, const u8 *src, in neon_poly1305_blocks()
81 static void neon_poly1305_do_update(struct poly1305_desc_ctx *dctx, in neon_poly1305_do_update()
115 struct poly1305_desc_ctx *dctx = shash_desc_ctx(desc); in neon_poly1305_update() local
125 void poly1305_update_arch(struct poly1305_desc_ctx *dctx, const u8 *src, in poly1305_update_arch()
170 void poly1305_final_arch(struct poly1305_desc_ctx *dctx, u8 *dst) in poly1305_final_arch()
186 struct poly1305_desc_ctx *dctx = shash_desc_ctx(desc); in neon_poly1305_final() local
/kernel/linux/linux-5.10/arch/arm/crypto/
Dpoly1305-glue.c32 void poly1305_init_arch(struct poly1305_desc_ctx *dctx, const u8 key[POLY1305_KEY_SIZE]) in poly1305_init_arch()
45 struct poly1305_desc_ctx *dctx = shash_desc_ctx(desc); in arm_poly1305_init() local
54 static void arm_poly1305_blocks(struct poly1305_desc_ctx *dctx, const u8 *src, in arm_poly1305_blocks()
85 static void arm_poly1305_do_update(struct poly1305_desc_ctx *dctx, in arm_poly1305_do_update()
118 struct poly1305_desc_ctx *dctx = shash_desc_ctx(desc); in arm_poly1305_update() local
128 struct poly1305_desc_ctx *dctx = shash_desc_ctx(desc); in arm_poly1305_update_neon() local
139 void poly1305_update_arch(struct poly1305_desc_ctx *dctx, const u8 *src, in poly1305_update_arch()
188 void poly1305_final_arch(struct poly1305_desc_ctx *dctx, u8 *dst) in poly1305_final_arch()
204 struct poly1305_desc_ctx *dctx = shash_desc_ctx(desc); in arm_poly1305_final() local
/kernel/linux/linux-5.10/arch/mips/crypto/
Dpoly1305-glue.c20 void poly1305_init_arch(struct poly1305_desc_ctx *dctx, const u8 key[POLY1305_KEY_SIZE]) in poly1305_init_arch()
33 struct poly1305_desc_ctx *dctx = shash_desc_ctx(desc); in mips_poly1305_init() local
42 static void mips_poly1305_blocks(struct poly1305_desc_ctx *dctx, const u8 *src, in mips_poly1305_blocks()
73 struct poly1305_desc_ctx *dctx = shash_desc_ctx(desc); in mips_poly1305_update() local
102 void poly1305_update_arch(struct poly1305_desc_ctx *dctx, const u8 *src, in poly1305_update_arch()
135 void poly1305_final_arch(struct poly1305_desc_ctx *dctx, u8 *dst) in poly1305_final_arch()
151 struct poly1305_desc_ctx *dctx = shash_desc_ctx(desc); in mips_poly1305_final() local
/kernel/linux/linux-5.10/crypto/
Ddes_generic.c22 struct des_ctx *dctx = crypto_tfm_ctx(tfm); in des_setkey() local
39 const struct des_ctx *dctx = crypto_tfm_ctx(tfm); in crypto_des_encrypt() local
46 const struct des_ctx *dctx = crypto_tfm_ctx(tfm); in crypto_des_decrypt() local
54 struct des3_ede_ctx *dctx = crypto_tfm_ctx(tfm); in des3_ede_setkey() local
72 const struct des3_ede_ctx *dctx = crypto_tfm_ctx(tfm); in crypto_des3_ede_encrypt() local
80 const struct des3_ede_ctx *dctx = crypto_tfm_ctx(tfm); in crypto_des3_ede_decrypt() local
Dpoly1305_generic.c24 struct poly1305_desc_ctx *dctx = shash_desc_ctx(desc); in crypto_poly1305_init() local
34 static unsigned int crypto_poly1305_setdesckey(struct poly1305_desc_ctx *dctx, in crypto_poly1305_setdesckey()
57 static void poly1305_blocks(struct poly1305_desc_ctx *dctx, const u8 *src, in poly1305_blocks()
75 struct poly1305_desc_ctx *dctx = shash_desc_ctx(desc); in crypto_poly1305_update() local
108 struct poly1305_desc_ctx *dctx = shash_desc_ctx(desc); in crypto_poly1305_final() local
Dghash-generic.c48 struct ghash_desc_ctx *dctx = shash_desc_ctx(desc); in ghash_init() local
81 struct ghash_desc_ctx *dctx = shash_desc_ctx(desc); in ghash_update() local
115 static void ghash_flush(struct ghash_ctx *ctx, struct ghash_desc_ctx *dctx) in ghash_flush()
133 struct ghash_desc_ctx *dctx = shash_desc_ctx(desc); in ghash_final() local
Dxxhash_generic.c34 struct xxhash64_desc_ctx *dctx = shash_desc_ctx(desc); in xxhash64_init() local
44 struct xxhash64_desc_ctx *dctx = shash_desc_ctx(desc); in xxhash64_update() local
53 struct xxhash64_desc_ctx *dctx = shash_desc_ctx(desc); in xxhash64_final() local
Ddeflate.c180 struct deflate_ctx *dctx = ctx; in __deflate_compress() local
208 struct deflate_ctx *dctx = crypto_tfm_ctx(tfm); in deflate_compress() local
225 struct deflate_ctx *dctx = ctx; in __deflate_decompress() local
264 struct deflate_ctx *dctx = crypto_tfm_ctx(tfm); in deflate_decompress() local
/kernel/linux/linux-4.19/crypto/
Dpoly1305_generic.c39 struct poly1305_desc_ctx *dctx = shash_desc_ctx(desc); in crypto_poly1305_init() local
50 static void poly1305_setrkey(struct poly1305_desc_ctx *dctx, const u8 *key) in poly1305_setrkey()
60 static void poly1305_setskey(struct poly1305_desc_ctx *dctx, const u8 *key) in poly1305_setskey()
73 unsigned int crypto_poly1305_setdesckey(struct poly1305_desc_ctx *dctx, in crypto_poly1305_setdesckey()
94 static unsigned int poly1305_blocks(struct poly1305_desc_ctx *dctx, in poly1305_blocks()
172 struct poly1305_desc_ctx *dctx = shash_desc_ctx(desc); in crypto_poly1305_update() local
206 struct poly1305_desc_ctx *dctx = shash_desc_ctx(desc); in crypto_poly1305_final() local
Dghash-generic.c26 struct ghash_desc_ctx *dctx = shash_desc_ctx(desc); in ghash_init() local
61 struct ghash_desc_ctx *dctx = shash_desc_ctx(desc); in ghash_update() local
95 static void ghash_flush(struct ghash_ctx *ctx, struct ghash_desc_ctx *dctx) in ghash_flush()
113 struct ghash_desc_ctx *dctx = shash_desc_ctx(desc); in ghash_final() local
Ddeflate.c184 struct deflate_ctx *dctx = ctx; in __deflate_compress() local
212 struct deflate_ctx *dctx = crypto_tfm_ctx(tfm); in deflate_compress() local
229 struct deflate_ctx *dctx = ctx; in __deflate_decompress() local
268 struct deflate_ctx *dctx = crypto_tfm_ctx(tfm); in deflate_decompress() local
Ddes_generic.c784 struct des_ctx *dctx = crypto_tfm_ctx(tfm); in des_setkey() local
885 struct des3_ede_ctx *dctx = crypto_tfm_ctx(tfm); in des3_ede_setkey() local
894 struct des3_ede_ctx *dctx = crypto_tfm_ctx(tfm); in des3_ede_encrypt() local
925 struct des3_ede_ctx *dctx = crypto_tfm_ctx(tfm); in des3_ede_decrypt() local
Dvmac.c399 struct vmac_desc_ctx *dctx, in vhash_blocks()
484 struct vmac_desc_ctx *dctx = shash_desc_ctx(desc); in vmac_init() local
496 struct vmac_desc_ctx *dctx = shash_desc_ctx(desc); in vmac_update() local
537 struct vmac_desc_ctx *dctx) in vhash_final()
566 struct vmac_desc_ctx *dctx = shash_desc_ctx(desc); in vmac_final() local
/kernel/linux/linux-5.10/drivers/crypto/vmx/
Dghash.c47 struct p8_ghash_desc_ctx *dctx = shash_desc_ctx(desc); in p8_ghash_init() local
76 struct p8_ghash_desc_ctx *dctx) in __ghash_block()
94 struct p8_ghash_desc_ctx *dctx, in __ghash_blocks()
121 struct p8_ghash_desc_ctx *dctx = shash_desc_ctx(desc); in p8_ghash_update() local
156 struct p8_ghash_desc_ctx *dctx = shash_desc_ctx(desc); in p8_ghash_final() local
/kernel/linux/linux-4.19/drivers/crypto/vmx/
Dghash.c48 struct p8_ghash_desc_ctx *dctx = shash_desc_ctx(desc); in p8_ghash_init() local
77 struct p8_ghash_desc_ctx *dctx) in __ghash_block()
95 struct p8_ghash_desc_ctx *dctx, in __ghash_blocks()
122 struct p8_ghash_desc_ctx *dctx = shash_desc_ctx(desc); in p8_ghash_update() local
157 struct p8_ghash_desc_ctx *dctx = shash_desc_ctx(desc); in p8_ghash_final() local
/kernel/linux/linux-5.10/arch/x86/crypto/
Dpoly1305_glue.c132 void poly1305_init_arch(struct poly1305_desc_ctx *dctx, const u8 key[POLY1305_KEY_SIZE]) in poly1305_init_arch()
144 static unsigned int crypto_poly1305_setdctxkey(struct poly1305_desc_ctx *dctx, in crypto_poly1305_setdctxkey()
168 void poly1305_update_arch(struct poly1305_desc_ctx *dctx, const u8 *src, in poly1305_update_arch()
203 void poly1305_final_arch(struct poly1305_desc_ctx *dctx, u8 *dst) in poly1305_final_arch()
219 struct poly1305_desc_ctx *dctx = shash_desc_ctx(desc); in crypto_poly1305_init() local
228 struct poly1305_desc_ctx *dctx = shash_desc_ctx(desc); in crypto_poly1305_update() local
236 struct poly1305_desc_ctx *dctx = shash_desc_ctx(desc); in crypto_poly1305_final() local
Dghash-clmulni-intel_glue.c46 struct ghash_desc_ctx *dctx = shash_desc_ctx(desc); in ghash_init() local
79 struct ghash_desc_ctx *dctx = shash_desc_ctx(desc); in ghash_update() local
112 static void ghash_flush(struct ghash_ctx *ctx, struct ghash_desc_ctx *dctx) in ghash_flush()
132 struct ghash_desc_ctx *dctx = shash_desc_ctx(desc); in ghash_final() local
213 struct ghash_desc_ctx *dctx = shash_desc_ctx(desc); in ghash_async_import() local
225 struct ghash_desc_ctx *dctx = shash_desc_ctx(desc); in ghash_async_export() local
/kernel/linux/linux-4.19/arch/s390/crypto/
Dghash_s390.c32 struct ghash_desc_ctx *dctx = shash_desc_ctx(desc); in ghash_init() local
59 struct ghash_desc_ctx *dctx = shash_desc_ctx(desc); in ghash_update() local
94 static int ghash_flush(struct ghash_desc_ctx *dctx) in ghash_flush()
111 struct ghash_desc_ctx *dctx = shash_desc_ctx(desc); in ghash_final() local
/kernel/linux/linux-5.10/arch/s390/crypto/
Dghash_s390.c32 struct ghash_desc_ctx *dctx = shash_desc_ctx(desc); in ghash_init() local
57 struct ghash_desc_ctx *dctx = shash_desc_ctx(desc); in ghash_update() local
92 static int ghash_flush(struct ghash_desc_ctx *dctx) in ghash_flush()
109 struct ghash_desc_ctx *dctx = shash_desc_ctx(desc); in ghash_final() local
/kernel/linux/linux-4.19/arch/x86/crypto/
Dghash-clmulni-intel_glue.c48 struct ghash_desc_ctx *dctx = shash_desc_ctx(desc); in ghash_init() local
83 struct ghash_desc_ctx *dctx = shash_desc_ctx(desc); in ghash_update() local
116 static void ghash_flush(struct ghash_ctx *ctx, struct ghash_desc_ctx *dctx) in ghash_flush()
136 struct ghash_desc_ctx *dctx = shash_desc_ctx(desc); in ghash_final() local
218 struct ghash_desc_ctx *dctx = shash_desc_ctx(desc); in ghash_async_import() local
230 struct ghash_desc_ctx *dctx = shash_desc_ctx(desc); in ghash_async_export() local
Dpoly1305_glue.c67 static unsigned int poly1305_simd_blocks(struct poly1305_desc_ctx *dctx, in poly1305_simd_blocks()
123 struct poly1305_desc_ctx *dctx = shash_desc_ctx(desc); in poly1305_simd_update() local
/kernel/linux/linux-5.10/lib/zstd/
Ddecompress.c106 size_t ZSTD_decompressBegin(ZSTD_DCtx *dctx) in ZSTD_decompressBegin()
128 ZSTD_DCtx *dctx; in ZSTD_createDCtx_advanced() local
147 size_t ZSTD_freeDCtx(ZSTD_DCtx *dctx) in ZSTD_freeDCtx()
372 static size_t ZSTD_decodeFrameHeader(ZSTD_DCtx *dctx, const void *src, size_t headerSize) in ZSTD_decodeFrameHeader()
432 size_t ZSTD_decodeLiteralsBlock(ZSTD_DCtx *dctx, const void *src, size_t srcSize) /* note : srcSize… in ZSTD_decodeLiteralsBlock()
794 size_t ZSTD_decodeSeqHeaders(ZSTD_DCtx *dctx, int *nbSeqPtr, const void *src, size_t srcSize) in ZSTD_decodeSeqHeaders()
1093 static size_t ZSTD_decompressSequences(ZSTD_DCtx *dctx, void *dst, size_t maxDstSize, const void *s… in ZSTD_decompressSequences()
1348 static size_t ZSTD_decompressSequencesLong(ZSTD_DCtx *dctx, void *dst, size_t maxDstSize, const voi… in ZSTD_decompressSequencesLong()
1445 static size_t ZSTD_decompressBlock_internal(ZSTD_DCtx *dctx, void *dst, size_t dstCapacity, const v… in ZSTD_decompressBlock_internal()
1469 static void ZSTD_checkContinuity(ZSTD_DCtx *dctx, const void *dst) in ZSTD_checkContinuity()
[all …]
/kernel/linux/linux-4.19/lib/zstd/
Ddecompress.c106 size_t ZSTD_decompressBegin(ZSTD_DCtx *dctx) in ZSTD_decompressBegin()
128 ZSTD_DCtx *dctx; in ZSTD_createDCtx_advanced() local
147 size_t ZSTD_freeDCtx(ZSTD_DCtx *dctx) in ZSTD_freeDCtx()
372 static size_t ZSTD_decodeFrameHeader(ZSTD_DCtx *dctx, const void *src, size_t headerSize) in ZSTD_decodeFrameHeader()
432 size_t ZSTD_decodeLiteralsBlock(ZSTD_DCtx *dctx, const void *src, size_t srcSize) /* note : srcSize… in ZSTD_decodeLiteralsBlock()
794 size_t ZSTD_decodeSeqHeaders(ZSTD_DCtx *dctx, int *nbSeqPtr, const void *src, size_t srcSize) in ZSTD_decodeSeqHeaders()
1093 static size_t ZSTD_decompressSequences(ZSTD_DCtx *dctx, void *dst, size_t maxDstSize, const void *s… in ZSTD_decompressSequences()
1348 static size_t ZSTD_decompressSequencesLong(ZSTD_DCtx *dctx, void *dst, size_t maxDstSize, const voi… in ZSTD_decompressSequencesLong()
1445 static size_t ZSTD_decompressBlock_internal(ZSTD_DCtx *dctx, void *dst, size_t dstCapacity, const v… in ZSTD_decompressBlock_internal()
1469 static void ZSTD_checkContinuity(ZSTD_DCtx *dctx, const void *dst) in ZSTD_checkContinuity()
[all …]
/kernel/linux/linux-5.10/drivers/crypto/
Dpadlock-sha.c33 struct padlock_sha_desc *dctx = shash_desc_ctx(desc); in padlock_sha_init() local
43 struct padlock_sha_desc *dctx = shash_desc_ctx(desc); in padlock_sha_update() local
50 struct padlock_sha_desc *dctx = shash_desc_ctx(desc); in padlock_sha_export() local
57 struct padlock_sha_desc *dctx = shash_desc_ctx(desc); in padlock_sha_import() local
80 struct padlock_sha_desc *dctx = shash_desc_ctx(desc); in padlock_sha1_finup() local
141 struct padlock_sha_desc *dctx = shash_desc_ctx(desc); in padlock_sha256_finup() local
/kernel/linux/linux-4.19/drivers/crypto/
Dpadlock-sha.c38 struct padlock_sha_desc *dctx = shash_desc_ctx(desc); in padlock_sha_init() local
49 struct padlock_sha_desc *dctx = shash_desc_ctx(desc); in padlock_sha_update() local
57 struct padlock_sha_desc *dctx = shash_desc_ctx(desc); in padlock_sha_export() local
64 struct padlock_sha_desc *dctx = shash_desc_ctx(desc); in padlock_sha_import() local
88 struct padlock_sha_desc *dctx = shash_desc_ctx(desc); in padlock_sha1_finup() local
150 struct padlock_sha_desc *dctx = shash_desc_ctx(desc); in padlock_sha256_finup() local

12