Skip to content

Commit

Permalink
Updates for windows [full tests]
Browse files Browse the repository at this point in the history
Signed-off-by: Basil Hess <[email protected]>
  • Loading branch information
bhess committed Jan 10, 2025
1 parent e72f89c commit 00fda16
Show file tree
Hide file tree
Showing 12 changed files with 39 additions and 39 deletions.
2 changes: 1 addition & 1 deletion docs/algorithms/kem/ml_kem.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
- **Authors' website**: https://pq-crystals.org/kyber/ and https://csrc.nist.gov/pubs/fips/203
- **Specification version**: ML-KEM.
- **Primary Source**<a name="primary-source"></a>:
- **Source**: https://github.com/bhess/mlkem-native/commit/086b45d1ba2b5d820d4c4edb3875cbb9e023e080
- **Source**: https://github.com/bhess/mlkem-native/commit/8decb465cf3f63009fd19c337be283b440f2bd89
- **Implementation license (SPDX-Identifier)**: CC0-1.0 or Apache-2.0


Expand Down
2 changes: 1 addition & 1 deletion docs/algorithms/kem/ml_kem.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ website: https://pq-crystals.org/kyber/ and https://csrc.nist.gov/pubs/fips/203
nist-round: FIPS203
spec-version: ML-KEM
primary-upstream:
source: https://github.com/bhess/mlkem-native/commit/086b45d1ba2b5d820d4c4edb3875cbb9e023e080
source: https://github.com/bhess/mlkem-native/commit/8decb465cf3f63009fd19c337be283b440f2bd89
spdx-license-identifier: CC0-1.0 or Apache-2.0
parameter-sets:
- name: ML-KEM-512
Expand Down
2 changes: 1 addition & 1 deletion scripts/copy_from_upstream/copy_from_upstream.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ upstreams:
name: mlkem-native
git_url: https://github.com/bhess/mlkem-native.git
git_branch: updates-4
git_commit: 086b45d1ba2b5d820d4c4edb3875cbb9e023e080
git_commit: 8decb465cf3f63009fd19c337be283b440f2bd89
kem_meta_path: '{pretty_name_full}_META.yml'
kem_scheme_path: '.'
-
Expand Down
8 changes: 4 additions & 4 deletions src/kem/ml_kem/mlkem-native_ml-kem-1024_aarch64/sys.h
Original file line number Diff line number Diff line change
Expand Up @@ -63,12 +63,12 @@
/* Do not use inline for C90 builds*/
#if !defined(INLINE)
#if !defined(inline)
#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
#define INLINE inline
#define ALWAYS_INLINE __attribute__((always_inline))
#elif defined(_MSC_VER)
#if defined(_MSC_VER)
#define INLINE __inline
#define ALWAYS_INLINE __forceinline
#elif defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
#define INLINE inline
#define ALWAYS_INLINE __attribute__((always_inline))
#else
#define INLINE __attribute__((unused))
#define ALWAYS_INLINE
Expand Down
8 changes: 4 additions & 4 deletions src/kem/ml_kem/mlkem-native_ml-kem-1024_ref/sys.h
Original file line number Diff line number Diff line change
Expand Up @@ -63,12 +63,12 @@
/* Do not use inline for C90 builds*/
#if !defined(INLINE)
#if !defined(inline)
#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
#define INLINE inline
#define ALWAYS_INLINE __attribute__((always_inline))
#elif defined(_MSC_VER)
#if defined(_MSC_VER)
#define INLINE __inline
#define ALWAYS_INLINE __forceinline
#elif defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
#define INLINE inline
#define ALWAYS_INLINE __attribute__((always_inline))
#else
#define INLINE __attribute__((unused))
#define ALWAYS_INLINE
Expand Down
8 changes: 4 additions & 4 deletions src/kem/ml_kem/mlkem-native_ml-kem-1024_x86_64/sys.h
Original file line number Diff line number Diff line change
Expand Up @@ -63,12 +63,12 @@
/* Do not use inline for C90 builds*/
#if !defined(INLINE)
#if !defined(inline)
#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
#define INLINE inline
#define ALWAYS_INLINE __attribute__((always_inline))
#elif defined(_MSC_VER)
#if defined(_MSC_VER)
#define INLINE __inline
#define ALWAYS_INLINE __forceinline
#elif defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
#define INLINE inline
#define ALWAYS_INLINE __attribute__((always_inline))
#else
#define INLINE __attribute__((unused))
#define ALWAYS_INLINE
Expand Down
8 changes: 4 additions & 4 deletions src/kem/ml_kem/mlkem-native_ml-kem-512_aarch64/sys.h
Original file line number Diff line number Diff line change
Expand Up @@ -63,12 +63,12 @@
/* Do not use inline for C90 builds*/
#if !defined(INLINE)
#if !defined(inline)
#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
#define INLINE inline
#define ALWAYS_INLINE __attribute__((always_inline))
#elif defined(_MSC_VER)
#if defined(_MSC_VER)
#define INLINE __inline
#define ALWAYS_INLINE __forceinline
#elif defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
#define INLINE inline
#define ALWAYS_INLINE __attribute__((always_inline))
#else
#define INLINE __attribute__((unused))
#define ALWAYS_INLINE
Expand Down
8 changes: 4 additions & 4 deletions src/kem/ml_kem/mlkem-native_ml-kem-512_ref/sys.h
Original file line number Diff line number Diff line change
Expand Up @@ -63,12 +63,12 @@
/* Do not use inline for C90 builds*/
#if !defined(INLINE)
#if !defined(inline)
#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
#define INLINE inline
#define ALWAYS_INLINE __attribute__((always_inline))
#elif defined(_MSC_VER)
#if defined(_MSC_VER)
#define INLINE __inline
#define ALWAYS_INLINE __forceinline
#elif defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
#define INLINE inline
#define ALWAYS_INLINE __attribute__((always_inline))
#else
#define INLINE __attribute__((unused))
#define ALWAYS_INLINE
Expand Down
8 changes: 4 additions & 4 deletions src/kem/ml_kem/mlkem-native_ml-kem-512_x86_64/sys.h
Original file line number Diff line number Diff line change
Expand Up @@ -63,12 +63,12 @@
/* Do not use inline for C90 builds*/
#if !defined(INLINE)
#if !defined(inline)
#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
#define INLINE inline
#define ALWAYS_INLINE __attribute__((always_inline))
#elif defined(_MSC_VER)
#if defined(_MSC_VER)
#define INLINE __inline
#define ALWAYS_INLINE __forceinline
#elif defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
#define INLINE inline
#define ALWAYS_INLINE __attribute__((always_inline))
#else
#define INLINE __attribute__((unused))
#define ALWAYS_INLINE
Expand Down
8 changes: 4 additions & 4 deletions src/kem/ml_kem/mlkem-native_ml-kem-768_aarch64/sys.h
Original file line number Diff line number Diff line change
Expand Up @@ -63,12 +63,12 @@
/* Do not use inline for C90 builds*/
#if !defined(INLINE)
#if !defined(inline)
#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
#define INLINE inline
#define ALWAYS_INLINE __attribute__((always_inline))
#elif defined(_MSC_VER)
#if defined(_MSC_VER)
#define INLINE __inline
#define ALWAYS_INLINE __forceinline
#elif defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
#define INLINE inline
#define ALWAYS_INLINE __attribute__((always_inline))
#else
#define INLINE __attribute__((unused))
#define ALWAYS_INLINE
Expand Down
8 changes: 4 additions & 4 deletions src/kem/ml_kem/mlkem-native_ml-kem-768_ref/sys.h
Original file line number Diff line number Diff line change
Expand Up @@ -63,12 +63,12 @@
/* Do not use inline for C90 builds*/
#if !defined(INLINE)
#if !defined(inline)
#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
#define INLINE inline
#define ALWAYS_INLINE __attribute__((always_inline))
#elif defined(_MSC_VER)
#if defined(_MSC_VER)
#define INLINE __inline
#define ALWAYS_INLINE __forceinline
#elif defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
#define INLINE inline
#define ALWAYS_INLINE __attribute__((always_inline))
#else
#define INLINE __attribute__((unused))
#define ALWAYS_INLINE
Expand Down
8 changes: 4 additions & 4 deletions src/kem/ml_kem/mlkem-native_ml-kem-768_x86_64/sys.h
Original file line number Diff line number Diff line change
Expand Up @@ -63,12 +63,12 @@
/* Do not use inline for C90 builds*/
#if !defined(INLINE)
#if !defined(inline)
#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
#define INLINE inline
#define ALWAYS_INLINE __attribute__((always_inline))
#elif defined(_MSC_VER)
#if defined(_MSC_VER)
#define INLINE __inline
#define ALWAYS_INLINE __forceinline
#elif defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
#define INLINE inline
#define ALWAYS_INLINE __attribute__((always_inline))
#else
#define INLINE __attribute__((unused))
#define ALWAYS_INLINE
Expand Down

0 comments on commit 00fda16

Please sign in to comment.