|
@@ -81,8 +81,7 @@ static inline int skcipher_enqueue_givcrypt(
|
|
|
static inline struct skcipher_givcrypt_request *skcipher_dequeue_givcrypt(
|
|
static inline struct skcipher_givcrypt_request *skcipher_dequeue_givcrypt(
|
|
|
struct crypto_queue *queue)
|
|
struct crypto_queue *queue)
|
|
|
{
|
|
{
|
|
|
- return __crypto_dequeue_request(
|
|
|
|
|
- queue, offsetof(struct skcipher_givcrypt_request, creq.base));
|
|
|
|
|
|
|
+ return skcipher_givcrypt_cast(crypto_dequeue_request(queue));
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
static inline void *skcipher_givcrypt_reqctx(
|
|
static inline void *skcipher_givcrypt_reqctx(
|