Lines Matching refs:skcipher_request

32  *	struct skcipher_request - Symmetric key cipher request
40 struct skcipher_request {
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) + \
226 struct skcipher_request *name = (void *)__##name##_desc
244 * information is given by filling in the skcipher_request data structure.
661 * @req: skcipher_request out of which the cipher handle is to be obtained
663 * Return the crypto_skcipher handle when furnishing an skcipher_request
669 struct skcipher_request *req)
675 struct skcipher_request *req)
684 * @req: reference to the skcipher_request handle that holds all information
687 * Encrypt plaintext data using the skcipher_request handle. That data
693 int crypto_skcipher_encrypt(struct skcipher_request *req);
697 * @req: reference to the skcipher_request handle that holds all information
700 * Decrypt ciphertext data using the skcipher_request handle. That data
706 int crypto_skcipher_decrypt(struct skcipher_request *req);
710 * @req: reference to the skcipher_request handle that holds all information
724 int crypto_skcipher_export(struct skcipher_request *req, void *out);
728 * @req: reference to the skcipher_request handle that holds all information
739 int crypto_skcipher_import(struct skcipher_request *req, const void *in);
783 * The skcipher_request data structure contains all pointers to data
785 * handle (which can be used by multiple skcipher_request instances), pointer
810 static inline void skcipher_request_set_tfm(struct skcipher_request *req,
816 static inline void skcipher_request_set_sync_tfm(struct skcipher_request *req,
822 static inline struct skcipher_request *skcipher_request_cast(
825 return container_of(req, struct skcipher_request, base);
839 static inline struct skcipher_request *skcipher_request_alloc_noprof(
842 struct skcipher_request *req;
844 req = kmalloc_noprof(sizeof(struct skcipher_request) +
858 static inline void skcipher_request_free(struct skcipher_request *req)
863 static inline void skcipher_request_zero(struct skcipher_request *req)
890 * The callback function is registered with the skcipher_request handle and
895 static inline void skcipher_request_set_callback(struct skcipher_request *req,
922 struct skcipher_request *req,