/kernel/linux/linux-5.10/include/crypto/ |
H A D | algapi.h | 26 struct crypto_instance; 39 void (*free)(struct crypto_instance *inst); 47 struct crypto_instance { struct 79 struct crypto_instance *inst; 111 struct crypto_instance *inst); 112 void crypto_unregister_instance(struct crypto_instance *inst); 114 int crypto_grab_spawn(struct crypto_spawn *spawn, struct crypto_instance *inst, 125 int crypto_inst_setname(struct crypto_instance *inst, const char *name, 184 static inline struct crypto_instance *crypto_tfm_alg_instance( in crypto_tfm_alg_instance() 187 return container_of(tfm->__crt_alg, struct crypto_instance, al in crypto_tfm_alg_instance() [all...] |
/kernel/linux/linux-6.6/include/crypto/ |
H A D | algapi.h | 49 struct crypto_instance; 63 void (*free)(struct crypto_instance *inst); 74 struct crypto_instance { struct 106 struct crypto_instance *inst; 155 struct crypto_instance *inst); 156 void crypto_unregister_instance(struct crypto_instance *inst); 158 int crypto_grab_spawn(struct crypto_spawn *spawn, struct crypto_instance *inst, 168 int crypto_inst_setname(struct crypto_instance *inst, const char *name, 218 static inline struct crypto_instance *crypto_tfm_alg_instance( in crypto_tfm_alg_instance() 221 return container_of(tfm->__crt_alg, struct crypto_instance, al in crypto_tfm_alg_instance() [all...] |
/kernel/linux/linux-5.10/include/crypto/internal/ |
H A D | akcipher.h | 18 struct crypto_instance base; 58 static inline struct crypto_instance *akcipher_crypto_instance( in akcipher_crypto_instance() 61 return container_of(&inst->alg.base, struct crypto_instance, alg); in akcipher_crypto_instance() 65 struct crypto_instance *inst) in akcipher_instance() 82 struct crypto_instance *inst,
|
H A D | hash.h | 37 struct crypto_instance base; 48 struct crypto_instance base; 89 struct crypto_instance *inst, 112 struct crypto_instance *inst, 149 static inline struct crypto_instance *ahash_crypto_instance( in ahash_crypto_instance() 156 struct crypto_instance *inst) in ahash_instance() 205 static inline struct crypto_instance *shash_crypto_instance( in shash_crypto_instance() 212 struct crypto_instance *inst) in shash_instance()
|
H A D | aead.h | 23 struct crypto_instance base; 42 static inline struct crypto_instance *aead_crypto_instance( in aead_crypto_instance() 45 return container_of(&inst->alg.base, struct crypto_instance, alg); in aead_crypto_instance() 48 static inline struct aead_instance *aead_instance(struct crypto_instance *inst) in aead_instance() 85 struct crypto_instance *inst,
|
H A D | skcipher.h | 24 struct crypto_instance base; 68 static inline struct crypto_instance *skcipher_crypto_instance( in skcipher_crypto_instance() 92 struct crypto_instance *inst,
|
/kernel/linux/linux-6.6/include/crypto/internal/ |
H A D | akcipher.h | 18 struct crypto_instance base; 80 static inline struct crypto_instance *akcipher_crypto_instance( in akcipher_crypto_instance() 83 return container_of(&inst->alg.base, struct crypto_instance, alg); in akcipher_crypto_instance() 87 struct crypto_instance *inst) in akcipher_instance() 104 struct crypto_instance *inst,
|
H A D | hash.h | 37 struct crypto_instance base; 48 struct crypto_instance base; 95 struct crypto_instance *inst, 118 struct crypto_instance *inst, 177 static inline struct crypto_instance *ahash_crypto_instance( in ahash_crypto_instance() 184 struct crypto_instance *inst) in ahash_instance() 243 static inline struct crypto_instance *shash_crypto_instance( in shash_crypto_instance() 250 struct crypto_instance *inst) in shash_instance()
|
H A D | aead.h | 23 struct crypto_instance base; 47 static inline struct crypto_instance *aead_crypto_instance( in aead_crypto_instance() 50 return container_of(&inst->alg.base, struct crypto_instance, alg); in aead_crypto_instance() 53 static inline struct aead_instance *aead_instance(struct crypto_instance *inst) in aead_instance() 100 struct crypto_instance *inst,
|
H A D | kpp.h | 25 struct crypto_instance base; 101 * generic &struct crypto_instance. 103 * Return: A pointer to the &struct crypto_instance embedded in @inst. 105 static inline struct crypto_instance *kpp_crypto_instance( in kpp_crypto_instance() 112 * kpp_instance() - Cast a generic &struct crypto_instance to the corresponding 114 * @inst: Pointer to the &struct crypto_instance to be cast. 117 static inline struct kpp_instance *kpp_instance(struct crypto_instance *inst) in kpp_instance() 197 struct crypto_instance *inst,
|
H A D | skcipher.h | 33 struct crypto_instance base; 77 static inline struct crypto_instance *skcipher_crypto_instance( in skcipher_crypto_instance() 101 struct crypto_instance *inst,
|
H A D | cipher.h | 186 struct crypto_instance *inst, in crypto_grab_cipher()
|
/kernel/linux/linux-6.6/crypto/ |
H A D | algapi.c | 73 static void crypto_free_instance(struct crypto_instance *inst) in crypto_free_instance() 80 struct crypto_instance *inst = container_of(w, struct crypto_instance, in crypto_destroy_instance_workfn() 90 struct crypto_instance *inst = container_of(alg, in crypto_destroy_instance() 91 struct crypto_instance, in crypto_destroy_instance() 131 static void crypto_remove_instance(struct crypto_instance *inst, in crypto_remove_instance() 183 struct crypto_instance *inst; in crypto_remove_spawns() 588 struct crypto_instance *inst; in crypto_unregister_template() 651 struct crypto_instance *inst) in crypto_register_instance() 709 void crypto_unregister_instance(struct crypto_instance *ins [all...] |
H A D | kpp.c | 62 static void crypto_kpp_free_instance(struct crypto_instance *inst) in crypto_kpp_free_instance() 118 struct crypto_instance *inst, in crypto_grab_kpp()
|
H A D | aead.c | 211 static void crypto_aead_free_instance(struct crypto_instance *inst) in crypto_aead_free_instance() 258 struct crypto_instance *inst, in crypto_grab_aead()
|
H A D | akcipher.c | 66 static void crypto_akcipher_free_instance(struct crypto_instance *inst) in crypto_akcipher_free_instance() 117 struct crypto_instance *inst, in crypto_grab_akcipher()
|
H A D | internal.h | 27 struct crypto_instance;
|
H A D | shash.c | 504 static void crypto_shash_free_instance(struct crypto_instance *inst) in crypto_shash_free_instance() 564 struct crypto_instance *inst, in crypto_grab_shash()
|
H A D | ahash.c | 461 static void crypto_ahash_free_instance(struct crypto_instance *inst) in crypto_ahash_free_instance() 521 struct crypto_instance *inst, in crypto_grab_ahash()
|
/kernel/linux/linux-5.10/crypto/ |
H A D | algapi.c | 67 static void crypto_free_instance(struct crypto_instance *inst) in crypto_free_instance() 74 struct crypto_instance *inst = container_of(w, struct crypto_instance, in crypto_destroy_instance_workfn() 84 struct crypto_instance *inst = container_of(alg, in crypto_destroy_instance() 85 struct crypto_instance, in crypto_destroy_instance() 125 static void crypto_remove_instance(struct crypto_instance *inst, in crypto_remove_instance() 177 struct crypto_instance *inst; in crypto_remove_spawns() 553 struct crypto_instance *inst; in crypto_unregister_template() 616 struct crypto_instance *inst) in crypto_register_instance() 669 void crypto_unregister_instance(struct crypto_instance *ins [all...] |
H A D | akcipher.c | 72 static void crypto_akcipher_free_instance(struct crypto_instance *inst) in crypto_akcipher_free_instance() 94 struct crypto_instance *inst, in crypto_grab_akcipher()
|
H A D | aead.c | 183 static void crypto_aead_free_instance(struct crypto_instance *inst) in crypto_aead_free_instance() 205 struct crypto_instance *inst, in crypto_grab_aead()
|
H A D | internal.h | 22 struct crypto_instance;
|
H A D | ahash.c | 492 static void crypto_ahash_free_instance(struct crypto_instance *inst) in crypto_ahash_free_instance() 547 struct crypto_instance *inst, in crypto_grab_ahash()
|
H A D | shash.c | 454 static void crypto_shash_free_instance(struct crypto_instance *inst) in crypto_shash_free_instance() 509 struct crypto_instance *inst, in crypto_grab_shash()
|