Home
last modified time | relevance | path

Searched refs:crypto_instance (Results 1 – 8 of 8) sorted by relevance

/include/crypto/internal/
A Dsig.h18 struct crypto_instance base;
56 static inline struct sig_instance *sig_instance(struct crypto_instance *inst) in sig_instance()
66 static inline struct crypto_instance *sig_crypto_instance(struct sig_instance in sig_crypto_instance()
69 return container_of(&inst->alg.base, struct crypto_instance, alg); in sig_crypto_instance()
78 struct crypto_instance *inst,
A Dakcipher.h18 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,
A Daead.h23 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,
A Dkpp.h25 struct crypto_instance base;
105 static inline struct crypto_instance *kpp_crypto_instance( in kpp_crypto_instance()
117 static inline struct kpp_instance *kpp_instance(struct crypto_instance *inst) in kpp_instance()
197 struct crypto_instance *inst,
A Dskcipher.h33 struct crypto_instance base;
44 struct crypto_instance base;
58 static inline struct crypto_instance *skcipher_crypto_instance( in skcipher_crypto_instance()
64 static inline struct crypto_instance *lskcipher_crypto_instance( in lskcipher_crypto_instance()
100 struct crypto_instance *inst,
104 struct crypto_instance *inst,
A Dhash.h53 struct crypto_instance base;
64 struct crypto_instance base;
124 struct crypto_instance *inst,
147 struct crypto_instance *inst,
213 static inline struct crypto_instance *ahash_crypto_instance( in ahash_crypto_instance()
220 struct crypto_instance *inst) in ahash_instance()
279 static inline struct crypto_instance *shash_crypto_instance( in shash_crypto_instance()
286 struct crypto_instance *inst) in shash_instance()
A Dcipher.h186 struct crypto_instance *inst, in crypto_grab_cipher()
/include/crypto/
A Dalgapi.h50 struct crypto_instance;
59 struct crypto_instance { struct
92 struct crypto_instance *inst; argument
136 struct crypto_instance *inst);
137 void crypto_unregister_instance(struct crypto_instance *inst);
139 int crypto_grab_spawn(struct crypto_spawn *spawn, struct crypto_instance *inst,
149 int __crypto_inst_setname(struct crypto_instance *inst, const char *name,
202 static inline struct crypto_instance *crypto_tfm_alg_instance( in crypto_tfm_alg_instance()
205 return container_of(tfm->__crt_alg, struct crypto_instance, alg); in crypto_tfm_alg_instance()
208 static inline void *crypto_instance_ctx(struct crypto_instance *inst) in crypto_instance_ctx()

Completed in 21 milliseconds