8 Commits

Author SHA1 Message Date
Daniel Berrangé f3a423ec0c Fix escaping of regexes in sgx-asm-pp (#1056)
Running sgx-asm-pp.py on Python >= 3.12 generates many warnings:

  sgx-asm-pp.py:64: SyntaxWarning: invalid escape sequence '\s'
  sgx-asm-pp.py:85: SyntaxWarning: invalid escape sequence '\s'
  sgx-asm-pp.py:65: SyntaxWarning: invalid escape sequence '\s'
  sgx-asm-pp.py:86: SyntaxWarning: invalid escape sequence '\s'
  sgx-asm-pp.py:66: SyntaxWarning: invalid escape sequence '\s'

This is a new python change:

  https://docs.python.org/3/whatsnew/3.12.html#other-language-changes

  "A backslash-character pair that is not a valid escape
   sequence now generates a SyntaxWarning, instead of
   DeprecationWarning. For example, re.compile("\d+\.\d+")
   now emits a SyntaxWarning ("\d" is an invalid escape
   sequence, use raw strings for regular expression:
   re.compile(r"\d+\.\d+")). In a future Python version,
   SyntaxError will eventually be raised, instead of
   SyntaxWarning."

Given that python intends to turn this into an error in a future
release, this should be proactively fixed now.

Fortunately the regexes used by sgx-asm-pp don't appear to need
to use any genuine backslash escapes, all the backslash usage
is for regex characters, so the raw string conversion is simple.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
2026-01-19 15:09:23 +01:00
Li, Xun edfe42a517 Linux 2.14 Open Source Gold Release
Supported loading enclave at address 0.
Upgraded Intel(R) Quote Verification Enclave to integrate SgxSSL/OpenSSL version 1.1.1k.
Updated the DCAP driver V1.33 with stability fixes, released as V1.33.2. This is to support
  legacy solutions not ready to transition to the latest DCAP driver V1.41 or kernel 5.11+.
Fixed bugs.

Signed-off-by: Li, Xun <xun.li@intel.com>
2021-07-13 14:01:03 +08:00
lzha101 26c458905b Update copyright. (#708)
Signed-off-by: Zhang Lili <lili.z.zhang@intel.com>
2021-05-18 10:52:48 +08:00
Zhang Lili f1fcf9175d Linux 2.13.3 Open Source Gold Release
Upgraded to Intel(R) Integrated Performance Primitives (IPP) Cryptography library version 2020 update 3.
Upgraded Intel(R) SGX Architecture Enclaves based on new IPP crypto library.
Fixed bugs.

Signed-off-by: Zhang Lili <lili.z.zhang@intel.com>
2021-05-07 23:33:49 +08:00
Li, Xun 56faf11a45 Revert "Linux 2.13.1 Open Source Gold Release"
Linux 2.13.1 is broken.

This reverts commit 63d0e65cfa.

Signed-off-by: Li, Xun <xun.li@intel.com>
2021-04-06 12:00:15 +08:00
Li, Xun 63d0e65cfa Linux 2.13.1 Open Source Gold Release
Upgraded Intel(R) Integrated Performance Primitives (IPP) Cryptography library to version 2020 update 3.
Upgraded Intel(R) SGX Architecture Enclaves based on new IPP crypto library.
Fixed bugs.

Signed-off-by: Li, Xun <xun.li@intel.com>
2021-03-30 13:56:43 +08:00
Zhang Lili Z 9ddec08fb9 Linux 2.8 Open Source Gold Release.
Signed-off-by: Zhang Lili Z <lili.z.zhang@intel.com>
2020-01-16 09:56:26 +08:00
Angie Chinchilla 9441de4c38 Initial release of Intel SGX for Linux.
This release is used in conjunction with the linux-sgx-driver Intial release:
https://github.com/01org/linux-sgx-driver
commit-id: 0e865ce5e6b297a787bcdc12d98bada8174be6d7

Intel-id: 33399

Signed-off-by: Angie Chinchilla <angie.v.chinchilla@intel.com>
2016-06-23 18:51:53 -04:00