Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: a72d93e1631852b19e2a996fa5fa81109d5c25f4
      
https://github.com/tianocore/edk2/commit/a72d93e1631852b19e2a996fa5fa81109d5c25f4
  Author: Pierre Gondois <pierre.gond...@arm.com>
  Date:   2024-08-01 (Thu, 01 Aug 2024)

  Changed paths:
    M MdePkg/Include/Library/BaseLib.h
    A MdePkg/Library/BaseLib/AArch64/ArmReadCntPctReg.S
    A MdePkg/Library/BaseLib/AArch64/ArmReadCntPctReg.asm
    M MdePkg/Library/BaseLib/BaseLib.inf

  Log Message:
  -----------
  MdePkg/BaseLib: AARCH64: Add ArmReadCntPctReg()

To enable AARCH64 native instruction support for Openssl,
some interfaces must be implemented. OPENSSL_rdtsc() requests
an access to a counter to get some non-trusted entropy.

Add ArmReadCntPctReg() to read system count.
A similar ArmReadCntPct() function is available in the ArmPkg,
but the CryptoPkg where OPENSSL_rdtsc will reside cannot rely
on the ArmPkg.

Signed-off-by: Pierre Gondois <pierre.gond...@arm.com>


  Commit: 30e53f8b5efe0112eda7014cf846007fb0fb425f
      
https://github.com/tianocore/edk2/commit/30e53f8b5efe0112eda7014cf846007fb0fb425f
  Author: Pierre Gondois <pierre.gond...@arm.com>
  Date:   2024-08-01 (Thu, 01 Aug 2024)

  Changed paths:
    M MdePkg/Include/Library/BaseLib.h
    A MdePkg/Library/BaseLib/AArch64/ArmReadIdAA64Isar0Reg.S
    A MdePkg/Library/BaseLib/AArch64/ArmReadIdAA64Isar0Reg.asm
    M MdePkg/Library/BaseLib/BaseLib.inf

  Log Message:
  -----------
  MdePkg/BaseLib: AARCH64: Add ArmReadIdAA64Isar0Reg()

To enable AARCH64 native instruction support for Openssl,
some interfaces must be implemented. OPENSSL_cpuid_setup()
allows to probe the supported features of the platform.

Add ArmReadIdAA64Isar0Reg() to read the AA64Isar0, containing
Arm64 instruction capabilities.
A similar ArmReadIdAA64Isar0() function is available in the ArmPkg,
but the CryptoPkg where OPENSSL_cpuid_setup will reside cannot rely
on the ArmPkg.

Signed-off-by: Pierre Gondois <pierre.gond...@arm.com>


  Commit: 1715d672310a318ce441d27a3515d371329f8b5b
      
https://github.com/tianocore/edk2/commit/1715d672310a318ce441d27a3515d371329f8b5b
  Author: Pierre Gondois <pierre.gond...@arm.com>
  Date:   2024-08-01 (Thu, 01 Aug 2024)

  Changed paths:
    R MdePkg/Library/BaseRngLib/AArch64/ArmReadIdIsar0.S
    R MdePkg/Library/BaseRngLib/AArch64/ArmReadIdIsar0.asm
    M MdePkg/Library/BaseRngLib/AArch64/ArmRng.h
    M MdePkg/Library/BaseRngLib/AArch64/Rndr.c
    M MdePkg/Library/BaseRngLib/BaseRngLib.inf

  Log Message:
  -----------
  MdePkg/BaseRngLib: Prefer ArmReadIdAA64Isar0Reg() over ArmReadIdIsar0()

A ArmReadIdAA64Isar0Reg() function was recently added
to BaseLib. Use it instead of its ArmReadIdIsar0() equivalent,
which was private to the BaseRngLib library.

This also allows to avoid the confusion between the following
registers:
- ID_ISAR0_EL1: allows to probe for Divide instructions, Debug
  instructions, ...
- ID_AA64ISAR0_EL1: AARCH64 specific register allowing to probe
  for AESE, RNDR, ... instructions

Signed-off-by: Pierre Gondois <pierre.gond...@arm.com>


  Commit: 952ecf53f9cbe80b0ec033e7acb29733bd1afed9
      
https://github.com/tianocore/edk2/commit/952ecf53f9cbe80b0ec033e7acb29733bd1afed9
  Author: Pierre Gondois <pierre.gond...@arm.com>
  Date:   2024-08-01 (Thu, 01 Aug 2024)

  Changed paths:
    M CryptoPkg/Library/OpensslLib/OpensslLibAccel.inf
    M CryptoPkg/Library/OpensslLib/OpensslLibFullAccel.inf
    M CryptoPkg/Library/OpensslLib/UefiAsm.conf
    M CryptoPkg/Library/OpensslLib/configure.py

  Log Message:
  -----------
  CryptoPkg/OpensslLib: Add native instruction support for AARCH64

Add native instruction support for AARCH64.

Signed-off-by: Pierre Gondois <pierre.gond...@arm.com>


  Commit: 9403422f214acf2a82821836bbf6dcdee2beb491
      
https://github.com/tianocore/edk2/commit/9403422f214acf2a82821836bbf6dcdee2beb491
  Author: Pierre Gondois <pierre.gond...@arm.com>
  Date:   2024-08-01 (Thu, 01 Aug 2024)

  Changed paths:
    A 
CryptoPkg/Library/OpensslLib/OpensslGen/AARCH64-GCC/crypto/aes/aesv8-armx.S
    A 
CryptoPkg/Library/OpensslLib/OpensslGen/AARCH64-GCC/crypto/aes/vpaes-armv8.S
    A CryptoPkg/Library/OpensslLib/OpensslGen/AARCH64-GCC/crypto/arm64cpuid.S
    A CryptoPkg/Library/OpensslLib/OpensslGen/AARCH64-GCC/crypto/bn/armv8-mont.S
    A 
CryptoPkg/Library/OpensslLib/OpensslGen/AARCH64-GCC/crypto/ec/ecp_nistz256-armv8.S
    A 
CryptoPkg/Library/OpensslLib/OpensslGen/AARCH64-GCC/crypto/modes/aes-gcm-armv8_64.S
    A 
CryptoPkg/Library/OpensslLib/OpensslGen/AARCH64-GCC/crypto/modes/ghashv8-armx.S
    A 
CryptoPkg/Library/OpensslLib/OpensslGen/AARCH64-GCC/crypto/sha/keccak1600-armv8.S
    A 
CryptoPkg/Library/OpensslLib/OpensslGen/AARCH64-GCC/crypto/sha/sha1-armv8.S
    A 
CryptoPkg/Library/OpensslLib/OpensslGen/AARCH64-GCC/crypto/sha/sha256-armv8.S
    A 
CryptoPkg/Library/OpensslLib/OpensslGen/AARCH64-GCC/crypto/sha/sha512-armv8.S
    M CryptoPkg/Library/OpensslLib/OpensslLibAccel.inf
    M CryptoPkg/Library/OpensslLib/OpensslLibFullAccel.inf

  Log Message:
  -----------
  CryptoPkg/OpensslLib: Generate files for AARCH64 native support

Generate AARCH64 related files and update .inf files,
running:
  python CryptoPkg/Library/OpensslLib/configure.py

Signed-off-by: Pierre Gondois <pierre.gond...@arm.com>


  Commit: 368f9b62a2f284b95b90e5083fcc3f434c3a35c2
      
https://github.com/tianocore/edk2/commit/368f9b62a2f284b95b90e5083fcc3f434c3a35c2
  Author: Pierre Gondois <pierre.gond...@arm.com>
  Date:   2024-08-01 (Thu, 01 Aug 2024)

  Changed paths:
    M CryptoPkg/Library/OpensslLib/OpensslLibAccel.inf
    M CryptoPkg/Library/OpensslLib/OpensslLibFullAccel.inf
    A CryptoPkg/Library/OpensslLib/OpensslStub/AArch64Cap.c

  Log Message:
  -----------
  CryptoPkg/OpensslLib: Add AArch64Cap for arch specific hooks

Add AARCH64 specific implementations of:
- OPENSSL_cpuid_setup(), probing hardware capabilitie
  (presence of FEAT_AES, etc.)
- OPENSSL_rdtsc(), returning non-trusted entropy by accessing
  system counter.

Signed-off-by: Pierre Gondois <pierre.gond...@arm.com>


  Commit: a679ceca974e94a659f9b6b9e7a7900644220ef9
      
https://github.com/tianocore/edk2/commit/a679ceca974e94a659f9b6b9e7a7900644220ef9
  Author: Pierre Gondois <pierre.gond...@arm.com>
  Date:   2024-08-01 (Thu, 01 Aug 2024)

  Changed paths:
    M CryptoPkg/CryptoPkg.dsc
    M CryptoPkg/Readme.md

  Log Message:
  -----------
  CryptoPkg: Enable Openssl Accel builds for AARCH64

Enable the following modules builds for AARCH64:
- OpensslLibAccel.inf
- OpensslLibFullAccel.inf

Signed-off-by: Pierre Gondois <pierre.gond...@arm.com>


Compare: https://github.com/tianocore/edk2/compare/71b9bda1ace3...a679ceca974e

To unsubscribe from these emails, change your notification settings at 
https://github.com/tianocore/edk2/settings/notifications


_______________________________________________
edk2-commits mailing list
edk2-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to