diff options
-rw-r--r-- | drivers/crypto/mv_cesa.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/crypto/mv_cesa.c b/drivers/crypto/mv_cesa.c index 015c0fcea0bd..a617c5cb3797 100644 --- a/drivers/crypto/mv_cesa.c +++ b/drivers/crypto/mv_cesa.c | |||
@@ -712,6 +712,7 @@ static int mv_hash_final(struct ahash_request *req) | |||
712 | { | 712 | { |
713 | struct mv_req_hash_ctx *ctx = ahash_request_ctx(req); | 713 | struct mv_req_hash_ctx *ctx = ahash_request_ctx(req); |
714 | 714 | ||
715 | ahash_request_set_crypt(req, NULL, req->result, 0); | ||
715 | mv_update_hash_req_ctx(ctx, 1, 0); | 716 | mv_update_hash_req_ctx(ctx, 1, 0); |
716 | return mv_handle_req(&req->base); | 717 | return mv_handle_req(&req->base); |
717 | } | 718 | } |