lkml.org 
[lkml]   [2015]   [Oct]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 3.4 59/65] crypto: s390/ghash: Fix incorrect backport of a1cae34e23b1
    Date
    From: Zefan Li <lizefan@huawei.com>

    3.4.110-rc1 review patch. If anyone has any objections, please let me know.

    ------------------


    Signed-off-by: Zefan Li <lizefan@huawei.com>
    ---
    arch/s390/crypto/ghash_s390.c | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    diff --git a/arch/s390/crypto/ghash_s390.c b/arch/s390/crypto/ghash_s390.c
    index c2dac2e..69b5a4b 100644
    --- a/arch/s390/crypto/ghash_s390.c
    +++ b/arch/s390/crypto/ghash_s390.c
    @@ -115,7 +115,7 @@ static int ghash_final(struct shash_desc *desc, u8 *dst)
    struct ghash_desc_ctx *dctx = shash_desc_ctx(desc);

    ghash_flush(dctx);
    - memcpy(dst, dtx->icv, GHASH_BLOCK_SIZE);
    + memcpy(dst, dctx->icv, GHASH_BLOCK_SIZE);

    return 0;
    }
    --
    1.9.1


    \
     
     \ /
      Last update: 2015-10-20 03:01    [W:2.927 / U:0.036 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site