On Tue, 25 Aug 2020 at 03:41, Herbert Xu <[email protected]> wrote:
>
> This patch changes a couple u128's to be128 which is the correct
> type to use and fixes a few sparse warnings.
>
> Signed-off-by: Herbert Xu <[email protected]>

Acked-by: Ard Biesheuvel <[email protected]>

>
> diff --git a/arch/arm64/crypto/ghash-ce-glue.c 
> b/arch/arm64/crypto/ghash-ce-glue.c
> index da1034867aaa..8536008e3e35 100644
> --- a/arch/arm64/crypto/ghash-ce-glue.c
> +++ b/arch/arm64/crypto/ghash-ce-glue.c
> @@ -347,7 +347,7 @@ static int gcm_encrypt(struct aead_request *req)
>         u8 buf[AES_BLOCK_SIZE];
>         u8 iv[AES_BLOCK_SIZE];
>         u64 dg[2] = {};
> -       u128 lengths;
> +       be128 lengths;
>         u8 *tag;
>         int err;
>
> @@ -461,7 +461,7 @@ static int gcm_decrypt(struct aead_request *req)
>         u8 buf[AES_BLOCK_SIZE];
>         u8 iv[AES_BLOCK_SIZE];
>         u64 dg[2] = {};
> -       u128 lengths;
> +       be128 lengths;
>         u8 *tag;
>         int err;
>
> --
> Email: Herbert Xu <[email protected]>
> Home Page: http://gondor.apana.org.au/~herbert/
> PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

Reply via email to