| /include/crypto/ |
| A D | skcipher.h | 260 struct crypto_tfm *tfm) in __crypto_skcipher_cast() 304 struct crypto_skcipher *tfm) in crypto_skcipher_tfm() 361 struct crypto_skcipher *tfm) in crypto_skcipher_driver_name() 373 struct crypto_skcipher *tfm) in crypto_skcipher_alg_common() 380 struct crypto_skcipher *tfm) in crypto_skcipher_alg() 439 struct crypto_skcipher *tfm) in crypto_skcipher_blocksize() 472 struct crypto_skcipher *tfm) in crypto_skcipher_chunksize() 506 struct crypto_skcipher *tfm) in crypto_skcipher_statesize() 535 struct crypto_skcipher *tfm) in crypto_skcipher_alignmask() 643 struct crypto_skcipher *tfm) in crypto_skcipher_min_keysize() [all …]
|
| A D | hash.h | 174 struct crypto_shash *tfm; member 326 static inline void crypto_free_ahash(struct crypto_ahash *tfm) in crypto_free_ahash() 343 static inline const char *crypto_ahash_alg_name(struct crypto_ahash *tfm) in crypto_ahash_alg_name() 374 struct crypto_ahash *tfm) in crypto_hash_alg_common() 409 static inline u32 crypto_ahash_get_flags(struct crypto_ahash *tfm) in crypto_ahash_get_flags() 589 struct crypto_ahash *tfm) in ahash_request_set_tfm() 607 struct crypto_ahash *tfm, gfp_t gfp) in ahash_request_alloc_noprof() 765 static inline void crypto_free_shash(struct crypto_shash *tfm) in crypto_free_shash() 823 static inline u32 crypto_shash_get_flags(struct crypto_shash *tfm) in crypto_shash_get_flags() 1022 static inline bool ahash_is_async(struct crypto_ahash *tfm) in ahash_is_async() [all …]
|
| A D | aead.h | 183 static inline struct crypto_tfm *crypto_aead_tfm(struct crypto_aead *tfm) in crypto_aead_tfm() 194 static inline void crypto_free_aead(struct crypto_aead *tfm) in crypto_free_aead() 211 static inline const char *crypto_aead_driver_name(struct crypto_aead *tfm) in crypto_aead_driver_name() 216 static inline struct aead_alg *crypto_aead_alg(struct crypto_aead *tfm) in crypto_aead_alg() 236 static inline unsigned int crypto_aead_ivsize(struct crypto_aead *tfm) in crypto_aead_ivsize() 253 static inline unsigned int crypto_aead_authsize(struct crypto_aead *tfm) in crypto_aead_authsize() 278 static inline unsigned int crypto_aead_blocksize(struct crypto_aead *tfm) in crypto_aead_blocksize() 283 static inline unsigned int crypto_aead_alignmask(struct crypto_aead *tfm) in crypto_aead_alignmask() 288 static inline u32 crypto_aead_get_flags(struct crypto_aead *tfm) in crypto_aead_get_flags() 401 static inline unsigned int crypto_aead_reqsize(struct crypto_aead *tfm) in crypto_aead_reqsize() [all …]
|
| A D | sig.h | 96 static inline struct crypto_tfm *crypto_sig_tfm(struct crypto_sig *tfm) in crypto_sig_tfm() 101 static inline struct crypto_sig *__crypto_sig_tfm(struct crypto_tfm *tfm) in __crypto_sig_tfm() 111 static inline struct sig_alg *crypto_sig_alg(struct crypto_sig *tfm) in crypto_sig_alg() 123 static inline void crypto_free_sig(struct crypto_sig *tfm) in crypto_free_sig() 138 static inline unsigned int crypto_sig_keysize(struct crypto_sig *tfm) in crypto_sig_keysize() 155 static inline unsigned int crypto_sig_digestsize(struct crypto_sig *tfm) in crypto_sig_digestsize() 172 static inline unsigned int crypto_sig_maxsize(struct crypto_sig *tfm) in crypto_sig_maxsize() 192 static inline int crypto_sig_sign(struct crypto_sig *tfm, in crypto_sig_sign() 215 static inline int crypto_sig_verify(struct crypto_sig *tfm, in crypto_sig_verify() 237 static inline int crypto_sig_set_pubkey(struct crypto_sig *tfm, in crypto_sig_set_pubkey() [all …]
|
| A D | kpp.h | 114 static inline struct crypto_tfm *crypto_kpp_tfm(struct crypto_kpp *tfm) in crypto_kpp_tfm() 124 static inline struct crypto_kpp *__crypto_kpp_tfm(struct crypto_tfm *tfm) in __crypto_kpp_tfm() 129 static inline struct kpp_alg *crypto_kpp_alg(struct crypto_kpp *tfm) in crypto_kpp_alg() 134 static inline unsigned int crypto_kpp_reqsize(struct crypto_kpp *tfm) in crypto_kpp_reqsize() 140 struct crypto_kpp *tfm) in kpp_request_set_tfm() 150 static inline u32 crypto_kpp_get_flags(struct crypto_kpp *tfm) in crypto_kpp_get_flags() 167 static inline void crypto_free_kpp(struct crypto_kpp *tfm) in crypto_free_kpp() 290 static inline int crypto_kpp_set_secret(struct crypto_kpp *tfm, in crypto_kpp_set_secret() 311 struct crypto_kpp *tfm = crypto_kpp_reqtfm(req); in crypto_kpp_generate_public_key() local 328 struct crypto_kpp *tfm = crypto_kpp_reqtfm(req); in crypto_kpp_compute_shared_secret() local [all …]
|
| A D | akcipher.h | 123 struct crypto_akcipher *tfm) in crypto_akcipher_tfm() 134 struct crypto_tfm *tfm) in __crypto_akcipher_tfm() 140 struct crypto_akcipher *tfm) in crypto_akcipher_alg() 145 static inline unsigned int crypto_akcipher_reqsize(struct crypto_akcipher *tfm) in crypto_akcipher_reqsize() 151 struct crypto_akcipher *tfm) in akcipher_request_set_tfm() 169 static inline void crypto_free_akcipher(struct crypto_akcipher *tfm) in crypto_free_akcipher() 183 struct crypto_akcipher *tfm, gfp_t gfp) in akcipher_request_alloc() 277 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in crypto_akcipher_encrypt() local 294 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in crypto_akcipher_decrypt() local 348 static inline int crypto_akcipher_set_pub_key(struct crypto_akcipher *tfm, in crypto_akcipher_set_pub_key() [all …]
|
| A D | acompress.h | 44 #define ACOMP_REQUEST_ON_STACK(name, tfm) \ argument 184 struct crypto_acomp *tfm) in crypto_comp_alg_common() 195 struct crypto_acomp *tfm) in acomp_request_set_tfm() 200 static inline bool acomp_is_async(struct crypto_acomp *tfm) in acomp_is_async() 218 static inline void crypto_free_acomp(struct crypto_acomp *tfm) in crypto_free_acomp() 251 struct crypto_acomp *tfm, size_t extra, gfp_t gfp) in acomp_request_alloc_extra_noprof() 265 #define acomp_request_alloc_noprof(tfm, ...) \ argument 268 #define acomp_request_alloc_noprof_0(tfm) \ argument 270 #define acomp_request_alloc_noprof_1(tfm, gfp) \ argument 287 struct crypto_acomp *tfm = crypto_acomp_reqtfm(req); in acomp_request_extra() local [all …]
|
| A D | rng.h | 94 static inline struct crypto_tfm *crypto_rng_tfm(struct crypto_rng *tfm) in crypto_rng_tfm() 110 static inline struct rng_alg *crypto_rng_alg(struct crypto_rng *tfm) in crypto_rng_alg() 121 static inline void crypto_free_rng(struct crypto_rng *tfm) in crypto_free_rng() 140 static inline int crypto_rng_generate(struct crypto_rng *tfm, in crypto_rng_generate() 158 static inline int crypto_rng_get_bytes(struct crypto_rng *tfm, in crypto_rng_get_bytes() 196 static inline int crypto_rng_seedsize(struct crypto_rng *tfm) in crypto_rng_seedsize()
|
| A D | cryptd.h | 39 struct crypto_ahash *tfm) in __cryptd_ahash_cast() 58 struct crypto_aead *tfm) in __cryptd_aead_cast()
|
| A D | algapi.h | 173 static inline void *crypto_tfm_ctx(struct crypto_tfm *tfm) in crypto_tfm_ctx() 178 static inline void *crypto_tfm_ctx_align(struct crypto_tfm *tfm, in crypto_tfm_ctx_align() 197 static inline void *crypto_tfm_ctx_dma(struct crypto_tfm *tfm) in crypto_tfm_ctx_dma() 203 struct crypto_tfm *tfm) in crypto_tfm_alg_instance() 261 static inline u32 crypto_tfm_alg_type(struct crypto_tfm *tfm) in crypto_tfm_alg_type() 266 static inline bool crypto_tfm_req_virt(struct crypto_tfm *tfm) in crypto_tfm_req_virt()
|
| A D | xts.h | 11 static inline int xts_verify_key(struct crypto_skcipher *tfm, in xts_verify_key()
|
| /include/crypto/internal/ |
| A D | cipher.h | 37 static inline struct crypto_cipher *__crypto_cipher_cast(struct crypto_tfm *tfm) in __crypto_cipher_cast() 66 static inline struct crypto_tfm *crypto_cipher_tfm(struct crypto_cipher *tfm) in crypto_cipher_tfm() 75 static inline void crypto_free_cipher(struct crypto_cipher *tfm) in crypto_free_cipher() 109 static inline unsigned int crypto_cipher_blocksize(struct crypto_cipher *tfm) in crypto_cipher_blocksize() 114 static inline unsigned int crypto_cipher_alignmask(struct crypto_cipher *tfm) in crypto_cipher_alignmask() 119 static inline u32 crypto_cipher_get_flags(struct crypto_cipher *tfm) in crypto_cipher_get_flags() 124 static inline void crypto_cipher_set_flags(struct crypto_cipher *tfm, in crypto_cipher_set_flags() 130 static inline void crypto_cipher_clear_flags(struct crypto_cipher *tfm, in crypto_cipher_clear_flags() 215 static inline struct cipher_alg *crypto_cipher_alg(struct crypto_cipher *tfm) in crypto_cipher_alg()
|
| A D | des.h | 26 static inline int crypto_des_verify_key(struct crypto_tfm *tfm, const u8 *key) in crypto_des_verify_key() 91 static inline int crypto_des3_ede_verify_key(struct crypto_tfm *tfm, in crypto_des3_ede_verify_key() 99 static inline int verify_skcipher_des_key(struct crypto_skcipher *tfm, in verify_skcipher_des_key() 105 static inline int verify_skcipher_des3_key(struct crypto_skcipher *tfm, in verify_skcipher_des3_key() 111 static inline int verify_aead_des_key(struct crypto_aead *tfm, const u8 *key, in verify_aead_des_key() 119 static inline int verify_aead_des3_key(struct crypto_aead *tfm, const u8 *key, in verify_aead_des3_key()
|
| A D | scompress.h | 56 static inline struct crypto_scomp *__crypto_scomp_tfm(struct crypto_tfm *tfm) in __crypto_scomp_tfm() 61 static inline struct crypto_tfm *crypto_scomp_tfm(struct crypto_scomp *tfm) in crypto_scomp_tfm() 66 static inline void crypto_free_scomp(struct crypto_scomp *tfm) in crypto_free_scomp() 71 static inline struct scomp_alg *crypto_scomp_alg(struct crypto_scomp *tfm) in crypto_scomp_alg() 76 static inline int crypto_scomp_compress(struct crypto_scomp *tfm, in crypto_scomp_compress() 83 static inline int crypto_scomp_decompress(struct crypto_scomp *tfm, in crypto_scomp_decompress()
|
| A D | hash.h | 117 static inline bool crypto_hash_no_export_core(struct crypto_ahash *tfm) in crypto_hash_no_export_core() 165 static inline void *crypto_ahash_ctx(struct crypto_ahash *tfm) in crypto_ahash_ctx() 170 static inline void *crypto_ahash_ctx_dma(struct crypto_ahash *tfm) in crypto_ahash_ctx_dma() 187 static inline void crypto_ahash_set_statesize(struct crypto_ahash *tfm, in crypto_ahash_set_statesize() 193 static inline void crypto_ahash_set_reqsize(struct crypto_ahash *tfm, in crypto_ahash_set_reqsize() 199 static inline bool crypto_ahash_tested(struct crypto_ahash *tfm) in crypto_ahash_tested() 274 static inline void *crypto_shash_ctx(struct crypto_shash *tfm) in crypto_shash_ctx() 318 static inline bool crypto_ahash_req_virt(struct crypto_ahash *tfm) in crypto_ahash_req_virt() 323 static inline struct crypto_ahash *crypto_ahash_fb(struct crypto_ahash *tfm) in crypto_ahash_fb() 331 struct crypto_ahash *tfm = crypto_ahash_reqtfm(old); in ahash_fbreq_on_stack_init() local [all …]
|
| A D | rng.h | 29 static inline void *crypto_rng_ctx(struct crypto_rng *tfm) in crypto_rng_ctx() 34 static inline void crypto_rng_set_entropy(struct crypto_rng *tfm, in crypto_rng_set_entropy()
|
| A D | skcipher.h | 184 static inline void *crypto_skcipher_ctx(struct crypto_skcipher *tfm) in crypto_skcipher_ctx() 189 static inline void *crypto_lskcipher_ctx(struct crypto_lskcipher *tfm) in crypto_lskcipher_ctx() 194 static inline void *crypto_skcipher_ctx_dma(struct crypto_skcipher *tfm) in crypto_skcipher_ctx_dma() 224 skcipher_cipher_simple(struct crypto_skcipher *tfm) in skcipher_cipher_simple() 243 struct crypto_lskcipher *tfm) in lskcipher_cipher_simple()
|
| A D | akcipher.h | 59 static inline void *akcipher_tfm_ctx(struct crypto_akcipher *tfm) in akcipher_tfm_ctx() 64 static inline void *akcipher_tfm_ctx_dma(struct crypto_akcipher *tfm) in akcipher_tfm_ctx_dma() 75 static inline const char *akcipher_alg_name(struct crypto_akcipher *tfm) in akcipher_alg_name()
|
| A D | kpp.h | 76 static inline void *kpp_tfm_ctx(struct crypto_kpp *tfm) in kpp_tfm_ctx() 81 static inline void *kpp_tfm_ctx_dma(struct crypto_kpp *tfm) in kpp_tfm_ctx_dma() 91 static inline const char *kpp_alg_name(struct crypto_kpp *tfm) in kpp_alg_name()
|
| A D | aead.h | 37 static inline void *crypto_aead_ctx(struct crypto_aead *tfm) in crypto_aead_ctx() 42 static inline void *crypto_aead_ctx_dma(struct crypto_aead *tfm) in crypto_aead_ctx_dma() 155 static inline unsigned int crypto_aead_chunksize(struct crypto_aead *tfm) in crypto_aead_chunksize()
|
| A D | acompress.h | 112 static inline void *acomp_tfm_ctx(struct crypto_acomp *tfm) in acomp_tfm_ctx() 186 static inline bool crypto_acomp_req_virt(struct crypto_acomp *tfm) in crypto_acomp_req_virt() 220 static inline struct crypto_acomp *crypto_acomp_fb(struct crypto_acomp *tfm) in crypto_acomp_fb() 228 struct crypto_acomp *tfm = crypto_acomp_reqtfm(old); in acomp_fbreq_on_stack_init() local
|
| A D | sig.h | 28 static inline void *crypto_sig_ctx(struct crypto_sig *tfm) in crypto_sig_ctx() 61 static inline struct sig_instance *sig_alg_instance(struct crypto_sig *tfm) in sig_alg_instance()
|
| A D | blake2b.h | 43 static inline int crypto_blake2b_setkey(struct crypto_shash *tfm, in crypto_blake2b_setkey()
|
| /include/linux/ |
| A D | crypto.h | 192 struct crypto_tfm *tfm; member 434 static inline void crypto_free_tfm(struct crypto_tfm *tfm) in crypto_free_tfm() 442 static inline const char *crypto_tfm_alg_name(struct crypto_tfm *tfm) in crypto_tfm_alg_name() 452 static inline unsigned int crypto_tfm_alg_blocksize(struct crypto_tfm *tfm) in crypto_tfm_alg_blocksize() 462 static inline unsigned int crypto_tfm_alg_reqsize(struct crypto_tfm *tfm) in crypto_tfm_alg_reqsize() 467 static inline u32 crypto_tfm_get_flags(struct crypto_tfm *tfm) in crypto_tfm_get_flags() 472 static inline void crypto_tfm_set_flags(struct crypto_tfm *tfm, u32 flags) in crypto_tfm_set_flags() 484 struct crypto_tfm *tfm; in crypto_tfm_ctx_alignment() local 488 static inline bool crypto_tfm_is_async(struct crypto_tfm *tfm) in crypto_tfm_is_async() 511 struct crypto_tfm *tfm) in crypto_request_set_tfm() [all …]
|
| /include/net/ |
| A D | macsec.h | 70 struct crypto_aead *tfm; member
|