qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] 07f348: crypto: Add generic 8-bit carry-less


From: Alex Bennée
Subject: [Qemu-commits] [qemu/qemu] 07f348: crypto: Add generic 8-bit carry-less multiply rout...
Date: Mon, 18 Sep 2023 10:52:12 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 07f348d77c35b6ff1f99075e20bffbf67e772d8b
      
https://github.com/qemu/qemu/commit/07f348d77c35b6ff1f99075e20bffbf67e772d8b
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2023-09-15 (Fri, 15 Sep 2023)

  Changed paths:
    A crypto/clmul.c
    M crypto/meson.build
    A include/crypto/clmul.h

  Log Message:
  -----------
  crypto: Add generic 8-bit carry-less multiply routines

Reviewed-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 8e3da4c716ad6251e93972bf84428569737a913f
      
https://github.com/qemu/qemu/commit/8e3da4c716ad6251e93972bf84428569737a913f
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2023-09-15 (Fri, 15 Sep 2023)

  Changed paths:
    M target/arm/tcg/mve_helper.c
    M target/arm/tcg/vec_helper.c
    M target/arm/tcg/vec_internal.h

  Log Message:
  -----------
  target/arm: Use clmul_8* routines

Use generic routines for 8-bit carry-less multiply.
Remove our local version of pmull_h.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 2d8bc6815e9a1c81f0aa0a1365c4d9a1e0cb0a81
      
https://github.com/qemu/qemu/commit/2d8bc6815e9a1c81f0aa0a1365c4d9a1e0cb0a81
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2023-09-15 (Fri, 15 Sep 2023)

  Changed paths:
    M target/s390x/tcg/vec_int_helper.c

  Log Message:
  -----------
  target/s390x: Use clmul_8* routines

Use generic routines for 8-bit carry-less multiply.
Remove our local version of galois_multiply8.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: cec4090d9487be9afe937b055e02a82c33e53320
      
https://github.com/qemu/qemu/commit/cec4090d9487be9afe937b055e02a82c33e53320
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2023-09-15 (Fri, 15 Sep 2023)

  Changed paths:
    M target/ppc/int_helper.c

  Log Message:
  -----------
  target/ppc: Use clmul_8* routines

Use generic routines for 8-bit carry-less multiply.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: cf1b2cab835f816915c8a170ec783922bc4e56a3
      
https://github.com/qemu/qemu/commit/cf1b2cab835f816915c8a170ec783922bc4e56a3
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2023-09-15 (Fri, 15 Sep 2023)

  Changed paths:
    M crypto/clmul.c
    M include/crypto/clmul.h

  Log Message:
  -----------
  crypto: Add generic 16-bit carry-less multiply routines

Reviewed-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: c6f0dcb1fdee2b1c2af15cea75bee98327308a8e
      
https://github.com/qemu/qemu/commit/c6f0dcb1fdee2b1c2af15cea75bee98327308a8e
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2023-09-15 (Fri, 15 Sep 2023)

  Changed paths:
    M target/arm/tcg/mve_helper.c
    M target/arm/tcg/vec_helper.c
    M target/arm/tcg/vec_internal.h

  Log Message:
  -----------
  target/arm: Use clmul_16* routines

Use generic routines for 16-bit carry-less multiply.
Remove our local version of pmull_w.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 25c304e93612b5a0ad75c55d43d596b6d3271aad
      
https://github.com/qemu/qemu/commit/25c304e93612b5a0ad75c55d43d596b6d3271aad
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2023-09-15 (Fri, 15 Sep 2023)

  Changed paths:
    M target/s390x/tcg/vec_int_helper.c

  Log Message:
  -----------
  target/s390x: Use clmul_16* routines

Use generic routines for 16-bit carry-less multiply.
Remove our local version of galois_multiply16.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: a2c67342eed42f181aa123803bc246b8fad7d1d9
      
https://github.com/qemu/qemu/commit/a2c67342eed42f181aa123803bc246b8fad7d1d9
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2023-09-15 (Fri, 15 Sep 2023)

  Changed paths:
    M target/ppc/int_helper.c

  Log Message:
  -----------
  target/ppc: Use clmul_16* routines

Use generic routines for 16-bit carry-less multiply.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 9a65a570fab1bf2e907d593631a6b588a821d365
      
https://github.com/qemu/qemu/commit/9a65a570fab1bf2e907d593631a6b588a821d365
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2023-09-15 (Fri, 15 Sep 2023)

  Changed paths:
    M crypto/clmul.c
    M include/crypto/clmul.h

  Log Message:
  -----------
  crypto: Add generic 32-bit carry-less multiply routines

Reviewed-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: bae25f648e3cbf7755c74aef2278be7332190e53
      
https://github.com/qemu/qemu/commit/bae25f648e3cbf7755c74aef2278be7332190e53
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2023-09-15 (Fri, 15 Sep 2023)

  Changed paths:
    M target/arm/tcg/vec_helper.c

  Log Message:
  -----------
  target/arm: Use clmul_32* routines

Use generic routines for 32-bit carry-less multiply.
Remove our local version of pmull_d.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 653aab27ba9610e3d3e047d1475765bd01f6fc14
      
https://github.com/qemu/qemu/commit/653aab27ba9610e3d3e047d1475765bd01f6fc14
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2023-09-15 (Fri, 15 Sep 2023)

  Changed paths:
    M target/s390x/tcg/vec_int_helper.c

  Log Message:
  -----------
  target/s390x: Use clmul_32* routines

Use generic routines for 32-bit carry-less multiply.
Remove our local version of galois_multiply32.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: f56d3c1a140267ae88874d755fa2f24cb71a1572
      
https://github.com/qemu/qemu/commit/f56d3c1a140267ae88874d755fa2f24cb71a1572
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2023-09-15 (Fri, 15 Sep 2023)

  Changed paths:
    M target/ppc/int_helper.c

  Log Message:
  -----------
  target/ppc: Use clmul_32* routines

Use generic routines for 32-bit carry-less multiply.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 00f463b38aa7cfca0bc65e3af7f2c49e1b9da690
      
https://github.com/qemu/qemu/commit/00f463b38aa7cfca0bc65e3af7f2c49e1b9da690
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2023-09-15 (Fri, 15 Sep 2023)

  Changed paths:
    M crypto/clmul.c
    A host/include/generic/host/crypto/clmul.h
    M include/crypto/clmul.h

  Log Message:
  -----------
  crypto: Add generic 64-bit carry-less multiply routine

Reviewed-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: a50cfdf0be23e4d3ef52d1beb5e206b7be2a80f2
      
https://github.com/qemu/qemu/commit/a50cfdf0be23e4d3ef52d1beb5e206b7be2a80f2
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2023-09-15 (Fri, 15 Sep 2023)

  Changed paths:
    M target/arm/tcg/vec_helper.c

  Log Message:
  -----------
  target/arm: Use clmul_64

Use generic routine for 64-bit carry-less multiply.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 7fcb505455aff817fe8984494b83e657f0f2e02b
      
https://github.com/qemu/qemu/commit/7fcb505455aff817fe8984494b83e657f0f2e02b
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2023-09-15 (Fri, 15 Sep 2023)

  Changed paths:
    M target/i386/ops_sse.h

  Log Message:
  -----------
  target/i386: Use clmul_64

Use generic routine for 64-bit carry-less multiply.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: ef73fe7cf1cedfb11b77e79d65638645ebd1cbc5
      
https://github.com/qemu/qemu/commit/ef73fe7cf1cedfb11b77e79d65638645ebd1cbc5
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2023-09-15 (Fri, 15 Sep 2023)

  Changed paths:
    M target/s390x/tcg/vec_int_helper.c

  Log Message:
  -----------
  target/s390x: Use clmul_64

Use the generic routine for 64-bit carry-less multiply.
Remove our local version of galois_multiply64.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 7bdbf233d9636a4bc73a2513b5e1a83a388626cf
      
https://github.com/qemu/qemu/commit/7bdbf233d9636a4bc73a2513b5e1a83a388626cf
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2023-09-15 (Fri, 15 Sep 2023)

  Changed paths:
    M target/ppc/int_helper.c

  Log Message:
  -----------
  target/ppc: Use clmul_64

Use generic routine for 64-bit carry-less multiply.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: d6493dbb46b4b7be13a39425b5a1e523e72f5a68
      
https://github.com/qemu/qemu/commit/d6493dbb46b4b7be13a39425b5a1e523e72f5a68
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2023-09-15 (Fri, 15 Sep 2023)

  Changed paths:
    M host/include/i386/host/cpuinfo.h
    A host/include/i386/host/crypto/clmul.h
    A host/include/x86_64/host/crypto/clmul.h
    M include/qemu/cpuid.h
    M util/cpuinfo-i386.c

  Log Message:
  -----------
  host/include/i386: Implement clmul.h

Detect PCLMUL in cpuinfo; implement the accel hook.

Reviewed-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 055c99015a4ec3c608d0260592368adc604429ea
      
https://github.com/qemu/qemu/commit/055c99015a4ec3c608d0260592368adc604429ea
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2023-09-15 (Fri, 15 Sep 2023)

  Changed paths:
    M host/include/aarch64/host/cpuinfo.h
    A host/include/aarch64/host/crypto/clmul.h
    M util/cpuinfo-aarch64.c

  Log Message:
  -----------
  host/include/aarch64: Implement clmul.h

Detect PMULL in cpuinfo; implement the accel hook.

Acked-by: Ard Biesheuvel <ardb@kernel.org>
Tested-by: Ard Biesheuvel <ardb@kernel.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 13d6b1608160de40ec65ae4c32419e56714bbadf
      
https://github.com/qemu/qemu/commit/13d6b1608160de40ec65ae4c32419e56714bbadf
  Author: Stefan Hajnoczi <stefanha@redhat.com>
  Date:   2023-09-18 (Mon, 18 Sep 2023)

  Changed paths:
    A crypto/clmul.c
    M crypto/meson.build
    M host/include/aarch64/host/cpuinfo.h
    A host/include/aarch64/host/crypto/clmul.h
    A host/include/generic/host/crypto/clmul.h
    M host/include/i386/host/cpuinfo.h
    A host/include/i386/host/crypto/clmul.h
    A host/include/x86_64/host/crypto/clmul.h
    A include/crypto/clmul.h
    M include/qemu/cpuid.h
    M target/arm/tcg/mve_helper.c
    M target/arm/tcg/vec_helper.c
    M target/arm/tcg/vec_internal.h
    M target/i386/ops_sse.h
    M target/ppc/int_helper.c
    M target/s390x/tcg/vec_int_helper.c
    M util/cpuinfo-aarch64.c
    M util/cpuinfo-i386.c

  Log Message:
  -----------
  Merge tag 'pull-crypto-20230915' of https://gitlab.com/rth7680/qemu into 
staging

Unify implementation of carry-less multiply.
Accelerate carry-less multiply for 64x64->128.

# -----BEGIN PGP SIGNATURE-----
#
# iQFRBAABCgA7FiEEekgeeIaLTbaoWgXAZN846K9+IV8FAmUEiPodHHJpY2hhcmQu
# aGVuZGVyc29uQGxpbmFyby5vcmcACgkQZN846K9+IV/akgf/XkiIeErWJr1YXSbS
# YPQtCsDAfIrqn3RiyQ2uwSn2eeuwVqTFFPGER04YegRDK8dyO874JBfvOwmBT70J
# I/aU8Z4BbRyNu9nfaCtFMlXQH9KArAKcAds1PnshfcnI5T2yBloZ1sAU97IuJFZk
# Uuz96H60+ohc4wzaUiPqPhXQStgZeSYwwAJB0s25DhCckdea0udRCAJ1tQTVpxkM
# wIFef1SHPoM6DtMzFKHLLUH6VivSlHjqx8GqFusa7pVqfQyDzNBfwvDl1F/bkE07
# yTocQEkV3QnZvIplhqUxAaZXIFZr9BNk7bDimMjHW6z3pNPN3T8zRn4trNjxbgPV
# jqzAtg==
# =8nnk
# -----END PGP SIGNATURE-----
# gpg: Signature made Fri 15 Sep 2023 12:40:26 EDT
# gpg:                using RSA key 7A481E78868B4DB6A85A05C064DF38E8AF7E215F
# gpg:                issuer "richard.henderson@linaro.org"
# gpg: Good signature from "Richard Henderson <richard.henderson@linaro.org>" 
[full]
# Primary key fingerprint: 7A48 1E78 868B 4DB6 A85A  05C0 64DF 38E8 AF7E 215F

* tag 'pull-crypto-20230915' of https://gitlab.com/rth7680/qemu:
  host/include/aarch64: Implement clmul.h
  host/include/i386: Implement clmul.h
  target/ppc: Use clmul_64
  target/s390x: Use clmul_64
  target/i386: Use clmul_64
  target/arm: Use clmul_64
  crypto: Add generic 64-bit carry-less multiply routine
  target/ppc: Use clmul_32* routines
  target/s390x: Use clmul_32* routines
  target/arm: Use clmul_32* routines
  crypto: Add generic 32-bit carry-less multiply routines
  target/ppc: Use clmul_16* routines
  target/s390x: Use clmul_16* routines
  target/arm: Use clmul_16* routines
  crypto: Add generic 16-bit carry-less multiply routines
  target/ppc: Use clmul_8* routines
  target/s390x: Use clmul_8* routines
  target/arm: Use clmul_8* routines
  crypto: Add generic 8-bit carry-less multiply routines

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>


Compare: https://github.com/qemu/qemu/compare/005ad32358f1...13d6b1608160



reply via email to

[Prev in Thread] Current Thread [Next in Thread]