Lines Matching refs:skcipher_request
40 struct skcipher_request { struct
154 int (*encrypt)(struct skcipher_request *req);
155 int (*decrypt)(struct skcipher_request *req);
156 int (*export)(struct skcipher_request *req, void *out);
157 int (*import)(struct skcipher_request *req, const void *in);
221 char __##name##_desc[sizeof(struct skcipher_request) + \
224 struct skcipher_request *name = \
225 (((struct skcipher_request *)__##name##_desc)->base.tfm = \
676 struct skcipher_request *req) in crypto_skcipher_reqtfm()
682 struct skcipher_request *req) in crypto_sync_skcipher_reqtfm()
700 int crypto_skcipher_encrypt(struct skcipher_request *req);
713 int crypto_skcipher_decrypt(struct skcipher_request *req);
731 int crypto_skcipher_export(struct skcipher_request *req, void *out);
746 int crypto_skcipher_import(struct skcipher_request *req, const void *in);
817 static inline void skcipher_request_set_tfm(struct skcipher_request *req, in skcipher_request_set_tfm()
823 static inline void skcipher_request_set_sync_tfm(struct skcipher_request *req, in skcipher_request_set_sync_tfm()
829 static inline struct skcipher_request *skcipher_request_cast( in skcipher_request_cast()
832 return container_of(req, struct skcipher_request, base); in skcipher_request_cast()
846 static inline struct skcipher_request *skcipher_request_alloc_noprof( in skcipher_request_alloc_noprof()
849 struct skcipher_request *req; in skcipher_request_alloc_noprof()
851 req = kmalloc_noprof(sizeof(struct skcipher_request) + in skcipher_request_alloc_noprof()
865 static inline void skcipher_request_free(struct skcipher_request *req) in skcipher_request_free()
870 static inline void skcipher_request_zero(struct skcipher_request *req) in skcipher_request_zero()
902 static inline void skcipher_request_set_callback(struct skcipher_request *req, in skcipher_request_set_callback()
929 struct skcipher_request *req, in skcipher_request_set_crypt()