/linux-master/include/crypto/ |
H A D | skcipher.h | 53 struct crypto_skcipher { struct 60 struct crypto_skcipher base; 152 int (*setkey)(struct crypto_skcipher *tfm, const u8 *key, 158 int (*init)(struct crypto_skcipher *tfm); 159 void (*exit)(struct crypto_skcipher *tfm); 258 static inline struct crypto_skcipher *__crypto_skcipher_cast( 261 return container_of(tfm, struct crypto_skcipher, base); 272 * crypto_skcipher is the cipher handle that is required for any subsequent 278 struct crypto_skcipher *crypto_alloc_skcipher(const char *alg_name, 303 struct crypto_skcipher *tf [all...] |
H A D | xts.h | 11 static inline int xts_verify_key(struct crypto_skcipher *tfm,
|
H A D | ctr.h | 21 void (*fn)(struct crypto_skcipher *, 24 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req);
|
H A D | cryptd.h | 23 struct crypto_skcipher base; 29 struct crypto_skcipher *cryptd_skcipher_child(struct cryptd_skcipher *tfm);
|
/linux-master/include/crypto/internal/ |
H A D | chacha.h | 15 static inline int chacha_setkey(struct crypto_skcipher *tfm, const u8 *key, 31 static inline int chacha20_setkey(struct crypto_skcipher *tfm, const u8 *key, 37 static inline int chacha12_setkey(struct crypto_skcipher *tfm, const u8 *key,
|
H A D | skcipher.h | 105 struct crypto_skcipher *skcipher) 169 static inline struct crypto_skcipher *crypto_spawn_skcipher( 182 struct crypto_skcipher *skcipher, unsigned int reqsize) 188 struct crypto_skcipher *skcipher, unsigned int reqsize) 225 static inline void *crypto_skcipher_ctx(struct crypto_skcipher *tfm) 235 static inline void *crypto_skcipher_ctx_dma(struct crypto_skcipher *tfm) 265 skcipher_cipher_simple(struct crypto_skcipher *tfm)
|
H A D | des.h | 99 static inline int verify_skcipher_des_key(struct crypto_skcipher *tfm, 105 static inline int verify_skcipher_des3_key(struct crypto_skcipher *tfm,
|
/linux-master/drivers/crypto/qce/ |
H A D | cipher.h | 17 struct crypto_skcipher *fallback; 48 static inline struct qce_alg_template *to_cipher_tmpl(struct crypto_skcipher *tfm)
|
/linux-master/arch/powerpc/crypto/ |
H A D | aes_cbc.c | 19 struct crypto_skcipher *fallback; 24 static int p8_aes_cbc_init(struct crypto_skcipher *tfm) 27 struct crypto_skcipher *fallback; 44 static void p8_aes_cbc_exit(struct crypto_skcipher *tfm) 51 static int p8_aes_cbc_setkey(struct crypto_skcipher *tfm, const u8 *key, 73 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req);
|
H A D | aes_ctr.c | 19 struct crypto_skcipher *fallback; 23 static int p8_aes_ctr_init(struct crypto_skcipher *tfm) 26 struct crypto_skcipher *fallback; 43 static void p8_aes_ctr_exit(struct crypto_skcipher *tfm) 50 static int p8_aes_ctr_setkey(struct crypto_skcipher *tfm, const u8 *key, 92 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req);
|
H A D | aes_xts.c | 20 struct crypto_skcipher *fallback; 26 static int p8_aes_xts_init(struct crypto_skcipher *tfm) 29 struct crypto_skcipher *fallback; 46 static void p8_aes_xts_exit(struct crypto_skcipher *tfm) 53 static int p8_aes_xts_setkey(struct crypto_skcipher *tfm, const u8 *key, 80 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req);
|
/linux-master/arch/x86/crypto/ |
H A D | serpent-avx.h | 9 struct crypto_skcipher;
|
H A D | aria_aesni_avx2_glue.c | 68 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); 76 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); 82 static int aria_avx2_set_key(struct crypto_skcipher *tfm, const u8 *key, 91 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); 159 static int aria_avx2_init_tfm(struct crypto_skcipher *tfm)
|
H A D | aria_aesni_avx_glue.c | 66 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); 74 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); 80 static int aria_avx_set_key(struct crypto_skcipher *tfm, const u8 *key, 89 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); 146 static int aria_avx_init_tfm(struct crypto_skcipher *tfm)
|
/linux-master/drivers/crypto/ |
H A D | geode-aes.h | 52 struct crypto_skcipher *skcipher;
|
/linux-master/crypto/ |
H A D | cts.c | 56 struct crypto_skcipher *child; 68 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); 70 struct crypto_skcipher *child = ctx->child; 76 static int crypto_cts_setkey(struct crypto_skcipher *parent, const u8 *key, 80 struct crypto_skcipher *child = ctx->child; 101 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); 145 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); 182 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); 239 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); 283 static int crypto_cts_init_tfm(struct crypto_skcipher *tf [all...] |
H A D | lrw.c | 31 struct crypto_skcipher *child; 68 static int lrw_setkey(struct crypto_skcipher *parent, const u8 *key, 72 struct crypto_skcipher *child = ctx->child; 143 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); 265 static int lrw_init_tfm(struct crypto_skcipher *tfm) 270 struct crypto_skcipher *cipher; 284 static void lrw_exit_tfm(struct crypto_skcipher *tfm)
|
H A D | ctr.c | 19 struct crypto_skcipher *child; 101 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); 169 static int crypto_rfc3686_setkey(struct crypto_skcipher *parent, 173 struct crypto_skcipher *child = ctx->child; 192 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); 194 struct crypto_skcipher *child = ctx->child; 218 static int crypto_rfc3686_init_tfm(struct crypto_skcipher *tfm) 223 struct crypto_skcipher *cipher; 242 static void crypto_rfc3686_exit_tfm(struct crypto_skcipher *tfm)
|
/linux-master/drivers/crypto/nx/ |
H A D | nx-aes-ctr.c | 22 static int ctr_aes_nx_set_key(struct crypto_skcipher *tfm, 54 static int ctr3686_aes_nx_set_key(struct crypto_skcipher *tfm, 74 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); 117 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req);
|
H A D | nx.h | 148 int nx_crypto_ctx_aes_ctr_init(struct crypto_skcipher *tfm); 149 int nx_crypto_ctx_aes_cbc_init(struct crypto_skcipher *tfm); 150 int nx_crypto_ctx_aes_ecb_init(struct crypto_skcipher *tfm); 153 void nx_crypto_ctx_skcipher_exit(struct crypto_skcipher *tfm);
|
/linux-master/drivers/crypto/cavium/nitrox/ |
H A D | nitrox_skcipher.c | 83 struct crypto_skcipher *cipher = crypto_skcipher_reqtfm(skreq); 108 static int nitrox_skcipher_init(struct crypto_skcipher *tfm) 134 static int nitrox_cbc_init(struct crypto_skcipher *tfm) 147 static void nitrox_skcipher_exit(struct crypto_skcipher *tfm) 165 static inline int nitrox_skcipher_setkey(struct crypto_skcipher *cipher, 197 static int nitrox_aes_setkey(struct crypto_skcipher *cipher, const u8 *key, 249 struct crypto_skcipher *cipher = crypto_skcipher_reqtfm(skreq); 293 struct crypto_skcipher *cipher = crypto_skcipher_reqtfm(skreq); 320 static int nitrox_3des_setkey(struct crypto_skcipher *cipher, 337 static int nitrox_aes_xts_setkey(struct crypto_skcipher *ciphe [all...] |
/linux-master/drivers/crypto/amlogic/ |
H A D | amlogic-gxl.h | 128 struct crypto_skcipher *fallback_tfm; 155 int meson_aes_setkey(struct crypto_skcipher *tfm, const u8 *key,
|
/linux-master/arch/arm64/crypto/ |
H A D | sm4-neon-glue.c | 28 static int sm4_setkey(struct crypto_skcipher *tfm, const u8 *key, 66 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); 74 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); 82 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); 114 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); 145 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req);
|
/linux-master/arch/arm/crypto/ |
H A D | aes-neonbs-glue.c | 54 struct crypto_skcipher *enc_tfm; 68 static int aesbs_setkey(struct crypto_skcipher *tfm, const u8 *in_key, 92 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); 127 static int aesbs_cbc_setkey(struct crypto_skcipher *tfm, const u8 *in_key, 151 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); 166 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); 192 static int cbc_init(struct crypto_skcipher *tfm) 209 static void cbc_exit(struct crypto_skcipher *tfm) 216 static int aesbs_ctr_setkey_sync(struct crypto_skcipher *tfm, const u8 *in_key, 237 struct crypto_skcipher *tf [all...] |
/linux-master/drivers/crypto/cavium/cpt/ |
H A D | cptvf_algs.c | 98 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); 195 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); 232 static int cvm_xts_setkey(struct crypto_skcipher *cipher, const u8 *key, 288 static int cvm_setkey(struct crypto_skcipher *cipher, const u8 *key, 302 static int cvm_cbc_aes_setkey(struct crypto_skcipher *cipher, const u8 *key, 308 static int cvm_ecb_aes_setkey(struct crypto_skcipher *cipher, const u8 *key, 314 static int cvm_cbc_des3_setkey(struct crypto_skcipher *cipher, const u8 *key, 321 static int cvm_ecb_des3_setkey(struct crypto_skcipher *cipher, const u8 *key, 328 static int cvm_enc_dec_init(struct crypto_skcipher *tfm)
|