Lines Matching refs:skcipher_request

16  *	struct skcipher_request - Symmetric key cipher request
24 struct skcipher_request {
107 int (*encrypt)(struct skcipher_request *req);
108 int (*decrypt)(struct skcipher_request *req);
127 char __##name##_desc[sizeof(struct skcipher_request) + \
132 struct skcipher_request *name = (void *)__##name##_desc
150 * information is given by filling in the skcipher_request data structure.
387 * @req: skcipher_request out of which the cipher handle is to be obtained
389 * Return the crypto_skcipher handle when furnishing an skcipher_request
395 struct skcipher_request *req)
401 struct skcipher_request *req)
410 * @req: reference to the skcipher_request handle that holds all information
413 * Encrypt plaintext data using the skcipher_request handle. That data
419 int crypto_skcipher_encrypt(struct skcipher_request *req);
423 * @req: reference to the skcipher_request handle that holds all information
426 * Decrypt ciphertext data using the skcipher_request handle. That data
432 int crypto_skcipher_decrypt(struct skcipher_request *req);
437 * The skcipher_request data structure contains all pointers to data
439 * handle (which can be used by multiple skcipher_request instances), pointer
464 static inline void skcipher_request_set_tfm(struct skcipher_request *req,
470 static inline void skcipher_request_set_sync_tfm(struct skcipher_request *req,
476 static inline struct skcipher_request *skcipher_request_cast(
479 return container_of(req, struct skcipher_request, base);
493 static inline struct skcipher_request *skcipher_request_alloc(
496 struct skcipher_request *req;
498 req = kmalloc(sizeof(struct skcipher_request) +
511 static inline void skcipher_request_free(struct skcipher_request *req)
516 static inline void skcipher_request_zero(struct skcipher_request *req)
543 * The callback function is registered with the skcipher_request handle and
548 static inline void skcipher_request_set_callback(struct skcipher_request *req,
575 struct skcipher_request *req,