/linux-master/crypto/ |
H A D | deflate.c | 115 static void *deflate_alloc_ctx(struct crypto_scomp *tfm) argument 133 static int deflate_init(struct crypto_tfm *tfm) argument 146 static void deflate_free_ctx(struct crypto_scomp *tfm, void *ctx) argument 152 static void deflate_exit(struct crypto_tfm *tfm) argument 188 static int deflate_compress(struct crypto_tfm *tfm, const u8 *src, argument 196 deflate_scompress(struct crypto_scomp *tfm, const u8 *src, unsigned int slen, u8 *dst, unsigned int *dlen, void *ctx) argument 244 deflate_decompress(struct crypto_tfm *tfm, const u8 *src, unsigned int slen, u8 *dst, unsigned int *dlen) argument 252 deflate_sdecompress(struct crypto_scomp *tfm, const u8 *src, unsigned int slen, u8 *dst, unsigned int *dlen, void *ctx) argument [all...] |
H A D | xcbc.c | 89 struct crypto_cipher *tfm = tctx->child; local 134 struct crypto_cipher *tfm = tctx->child; local 162 static int xcbc_init_tfm(struct crypto_tfm *tfm) argument 178 xcbc_exit_tfm(struct crypto_tfm *tfm) argument [all...] |
H A D | ecb.c | 34 static int crypto_ecb_encrypt2(struct crypto_lskcipher *tfm, const u8 *src, argument 45 static int crypto_ecb_decrypt2(struct crypto_lskcipher *tfm, const u8 *src, argument 56 static int lskcipher_setkey_simple2(struct crypto_lskcipher *tfm, argument 68 static int lskcipher_init_tfm_simple2(struct crypto_lskcipher *tfm) argument 84 lskcipher_exit_tfm_simple2(struct crypto_lskcipher *tfm) argument [all...] |
H A D | rsa.c | 116 static inline struct rsa_mpi_key *rsa_get_key(struct crypto_akcipher *tfm) argument 123 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); local 162 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); local 264 static int rsa_set_pub_key(struct crypto_akcipher *tfm, const void *key, argument 303 static int rsa_set_priv_key(struct crypto_akcipher *tfm, const void *key, argument 366 rsa_max_size(struct crypto_akcipher *tfm) argument 373 rsa_exit_tfm(struct crypto_akcipher *tfm) argument [all...] |
H A D | simd.c | 50 static int simd_skcipher_setkey(struct crypto_skcipher *tfm, const u8 *key, argument 64 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local 85 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local 104 static void simd_skcipher_exit(struct crypto_skcipher *tfm) argument 111 static int simd_skcipher_init(struct crypto_skcipher *tfm) argument 144 struct crypto_skcipher *tfm; local 290 simd_aead_setkey(struct crypto_aead *tfm, const u8 *key, unsigned int key_len) argument 302 simd_aead_setauthsize(struct crypto_aead *tfm, unsigned int authsize) argument 312 struct crypto_aead *tfm = crypto_aead_reqtfm(req); local 333 struct crypto_aead *tfm = crypto_aead_reqtfm(req); local 352 simd_aead_exit(struct crypto_aead *tfm) argument 359 simd_aead_init(struct crypto_aead *tfm) argument 391 struct crypto_aead *tfm; local [all...] |
H A D | ansi_cprng.c | 47 struct crypto_cipher *tfm; member in struct:prng_context 320 static int cprng_init(struct crypto_tfm *tfm) argument 344 cprng_exit(struct crypto_tfm *tfm) argument 349 cprng_get_random(struct crypto_rng *tfm, const u8 *src, unsigned int slen, u8 *rdata, unsigned int dlen) argument 364 cprng_reset(struct crypto_rng *tfm, const u8 *seed, unsigned int slen) argument 385 fips_cprng_get_random(struct crypto_rng *tfm, const u8 *src, unsigned int slen, u8 *rdata, unsigned int dlen) argument 394 fips_cprng_reset(struct crypto_rng *tfm, const u8 *seed, unsigned int slen) argument [all...] |
H A D | ecrdsa.c | 73 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); local 191 static int ecrdsa_set_pub_key(struct crypto_akcipher *tfm, const void *key, argument 252 static unsigned int ecrdsa_max_size(struct crypto_akcipher *tfm) argument 263 static void ecrdsa_exit_tfm(struct crypto_akcipher *tfm) argument
|
/linux-master/drivers/crypto/gemini/ |
H A D | sl3516-ce-cipher.c | 27 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); local 105 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); local 129 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); local 280 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); local 298 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); local 314 sl3516_ce_cipher_init(struct crypto_tfm *tfm) argument 353 sl3516_ce_cipher_exit(struct crypto_tfm *tfm) argument 362 sl3516_ce_aes_setkey(struct crypto_skcipher *tfm, const u8 *key, unsigned int keylen) argument [all...] |
/linux-master/drivers/crypto/amlogic/ |
H A D | amlogic-gxl-cipher.c | 60 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); local 86 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); local 276 struct crypto_skcipher *tfm local 294 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); local 310 meson_cipher_init(struct crypto_tfm *tfm) argument 336 meson_cipher_exit(struct crypto_tfm *tfm) argument 344 meson_aes_setkey(struct crypto_skcipher *tfm, const u8 *key, unsigned int keylen) argument [all...] |
/linux-master/arch/x86/crypto/ |
H A D | sm4_aesni_avx_glue.c | 31 static int sm4_skcipher_setkey(struct crypto_skcipher *tfm, const u8 *key, argument 75 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local 84 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local 93 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local 127 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local 192 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local [all...] |
H A D | aegis128-aesni-glue.c | 155 static int crypto_aegis128_aesni_setauthsize(struct crypto_aead *tfm, argument 170 struct crypto_aead *tfm = crypto_aead_reqtfm(req); local 195 struct crypto_aead *tfm = crypto_aead_reqtfm(req); local 217 struct crypto_aead *tfm = crypto_aead_reqtfm(req); local
|
H A D | des3_ede_glue.c | 56 static void des3_ede_x86_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) argument 61 static void des3_ede_x86_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) argument 112 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local 120 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local 151 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local 230 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local 246 des3_ede_x86_setkey(struct crypto_tfm *tfm, const u8 *key, unsigned int keylen) argument 280 des3_ede_x86_setkey_skcipher(struct crypto_skcipher *tfm, const u8 *key, unsigned int keylen) argument [all...] |
/linux-master/drivers/crypto/allwinner/sun8i-ss/ |
H A D | sun8i-ss-cipher.c | 25 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); local 91 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); local 122 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); local 185 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); local 347 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); local 368 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); local 387 sun8i_ss_cipher_init(struct crypto_tfm *tfm) argument 427 sun8i_ss_cipher_exit(struct crypto_tfm *tfm) argument 436 sun8i_ss_aes_setkey(struct crypto_skcipher *tfm, const u8 *key, unsigned int keylen) argument 465 sun8i_ss_des3_setkey(struct crypto_skcipher *tfm, const u8 *key, unsigned int keylen) argument [all...] |
/linux-master/fs/verity/ |
H A D | fsverity_private.h | 23 struct crypto_shash *tfm; /* hash tfm, allocated on demand */ member in struct:fsverity_hash_alg
|
/linux-master/arch/s390/crypto/ |
H A D | crc32-vx.c | 79 static int crc32_vx_cra_init_zero(struct crypto_tfm *tfm) argument 87 static int crc32_vx_cra_init_invert(struct crypto_tfm *tfm) argument 104 static int crc32_vx_setkey(struct crypto_shash *tfm, const u8 *newkey, argument 115 static int crc32be_vx_setkey(struct crypto_shash *tfm, const u8 *newkey, argument [all...] |
/linux-master/crypto/asymmetric_keys/ |
H A D | verify_pefile.c | 325 struct crypto_shash *tfm; local [all...] |
H A D | public_key.c | 163 struct crypto_akcipher *tfm; local 281 struct crypto_akcipher *tfm; local 386 struct crypto_sig *tfm; local [all...] |
/linux-master/arch/powerpc/crypto/ |
H A D | chacha-p10-glue.c | 126 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local 134 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local
|
/linux-master/drivers/crypto/nx/ |
H A D | nx-842.c | 104 int nx842_crypto_init(struct crypto_tfm *tfm, struct nx842_driver *driver) argument 124 void nx842_crypto_exit(struct crypto_tfm *tfm) argument 249 int nx842_crypto_compress(struct crypto_tfm *tfm, argument 432 int nx842_crypto_decompress(struct crypto_tfm *tfm, argument
|
/linux-master/arch/sparc/crypto/ |
H A D | des_glue.c | 45 static int des_set_key(struct crypto_tfm *tfm, const u8 *key, argument 65 static int des_set_key_skcipher(struct crypto_skcipher *tfm, const u8 *key, argument 74 static void sparc_des_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) argument 82 static void sparc_des_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) argument 97 struct crypto_skcipher *tfm local 138 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local 181 des3_ede_set_key(struct crypto_tfm *tfm, const u8 *key, unsigned int keylen) argument 214 des3_ede_set_key_skcipher(struct crypto_skcipher *tfm, const u8 *key, unsigned int keylen) argument 223 sparc_des3_ede_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) argument 231 sparc_des3_ede_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) argument 246 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local 292 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local [all...] |
H A D | aes_glue.c | 168 static int aes_set_key(struct crypto_tfm *tfm, const u8 *in_key, argument 199 static int aes_set_key_skcipher(struct crypto_skcipher *tfm, const u8 *in_key, argument 205 static void crypto_aes_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) argument 212 static void crypto_aes_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) argument 221 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local 244 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local 270 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local 294 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local 336 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local [all...] |
/linux-master/arch/arm/crypto/ |
H A D | aes-ce-glue.c | 137 static int ce_aes_setkey(struct crypto_skcipher *tfm, const u8 *in_key, argument 150 static int xts_set_key(struct crypto_skcipher *tfm, const u8 *in_key, argument 169 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local 189 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local 210 struct crypto_skcipher *tfm local 240 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local 269 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local 327 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local 385 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local 421 ctr_encrypt_one(struct crypto_skcipher *tfm, const u8 *src, u8 *dst) argument 446 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local 518 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local [all...] |
H A D | aes-neonbs-glue.c | 68 static int aesbs_setkey(struct crypto_skcipher *tfm, const u8 *in_key, argument 92 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local 127 static int aesbs_cbc_setkey(struct crypto_skcipher *tfm, const u8 *in_key, argument 151 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local 166 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local 192 cbc_init(struct crypto_skcipher *tfm) argument 209 cbc_exit(struct crypto_skcipher *tfm) argument 216 aesbs_ctr_setkey_sync(struct crypto_skcipher *tfm, const u8 *in_key, unsigned int key_len) argument 237 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local 270 ctr_encrypt_one(struct crypto_skcipher *tfm, const u8 *src, u8 *dst) argument 293 aesbs_xts_setkey(struct crypto_skcipher *tfm, const u8 *in_key, unsigned int key_len) argument 314 xts_init(struct crypto_skcipher *tfm) argument 329 xts_exit(struct crypto_skcipher *tfm) argument 341 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local [all...] |
/linux-master/drivers/crypto/ |
H A D | geode-aes.c | 110 static int geode_setkey_cip(struct crypto_tfm *tfm, const u8 *key, argument 136 static int geode_setkey_skcipher(struct crypto_skcipher *tfm, const u8 *key, argument 164 geode_encrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) argument 179 geode_decrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) argument 192 fallback_init_cip(struct crypto_tfm *tfm) argument 208 fallback_exit_cip(struct crypto_tfm *tfm) argument 238 geode_init_skcipher(struct crypto_skcipher *tfm) argument 256 geode_exit_skcipher(struct crypto_skcipher *tfm) argument 265 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local [all...] |
/linux-master/drivers/nfc/s3fwrn5/ |
H A D | firmware.c | 414 struct crypto_shash *tfm; local
|