Skip to content

Commit

Permalink
Update BIKE documentation to exclude x86 (#1679)
Browse files Browse the repository at this point in the history
* Update BIKE documentation to exclude x86; clarify comments in
alg_support

* Update Markdown
  • Loading branch information
SWilson4 authored Jan 30, 2024
1 parent 7c56bcb commit 6bce010
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .CMake/alg_support.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,10 @@ if(OQS_DIST_X86_64_BUILD OR OQS_USE_AVX2_INSTRUCTIONS)
endif()
endif()

# BIKE is not supported on Windows, 32-bit ARM, S390X (big endian) and PPC64 (big endian)
# BIKE is not supported on Windows, 32-bit ARM, X86, S390X (big endian) and PPC64 (big endian)
cmake_dependent_option(OQS_ENABLE_KEM_BIKE "Enable BIKE algorithm family" ON "NOT WIN32; NOT ARCH_ARM32v7; NOT ARCH_X86; NOT ARCH_S390X; NOT ARCH_PPC64" OFF)
# BIKE doesn't work on any 32bit platform except x86:
if(CMAKE_SIZEOF_VOID_P MATCHES "4" AND NOT ARCH_X86)
# BIKE doesn't work on any 32-bit platform
if(CMAKE_SIZEOF_VOID_P MATCHES "4")
set(OQS_ENABLE_KEM_BIKE OFF)
endif()
cmake_dependent_option(OQS_ENABLE_KEM_bike_l1 "" ON "OQS_ENABLE_KEM_BIKE" OFF)
Expand Down
6 changes: 3 additions & 3 deletions docs/algorithms/kem/bike.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

| Implementation source | Identifier in upstream | Supported architecture(s) | Supported operating system(s) | CPU extension(s) used | No branching-on-secrets claimed? | No branching-on-secrets checked by valgrind? | Large stack usage?‡ |
|:---------------------------------:|:-------------------------|:----------------------------|:--------------------------------|:------------------------|:-----------------------------------|:-----------------------------------------------|:----------------------|
| [Primary Source](#primary-source) | master | little endian | Linux,Darwin | None | True | True | False |
| [Primary Source](#primary-source) | master | 64-bit little-endian | Linux,Darwin | None | True | True | False |
| [Primary Source](#primary-source) | master | x86\_64 | Linux,Darwin | AVX2,AVX512,PCLMUL,SSE2 | True | True | False |

Are implementations chosen based on runtime CPU feature detection? **Yes**.
Expand All @@ -34,7 +34,7 @@ Are implementations chosen based on runtime CPU feature detection? **Yes**.

| Implementation source | Identifier in upstream | Supported architecture(s) | Supported operating system(s) | CPU extension(s) used | No branching-on-secrets claimed? | No branching-on-secrets checked by valgrind? | Large stack usage? |
|:---------------------------------:|:-------------------------|:----------------------------|:--------------------------------|:------------------------|:-----------------------------------|:-----------------------------------------------|:---------------------|
| [Primary Source](#primary-source) | master | little endian | Linux,Darwin | None | True | True | False |
| [Primary Source](#primary-source) | master | 64-bit little-endian | Linux,Darwin | None | True | True | False |
| [Primary Source](#primary-source) | master | x86\_64 | Linux,Darwin | AVX2,AVX512,PCLMUL,SSE2 | True | True | False |

Are implementations chosen based on runtime CPU feature detection? **Yes**.
Expand All @@ -43,7 +43,7 @@ Are implementations chosen based on runtime CPU feature detection? **Yes**.

| Implementation source | Identifier in upstream | Supported architecture(s) | Supported operating system(s) | CPU extension(s) used | No branching-on-secrets claimed? | No branching-on-secrets checked by valgrind? | Large stack usage? |
|:---------------------------------:|:-------------------------|:----------------------------|:--------------------------------|:------------------------|:-----------------------------------|:-----------------------------------------------|:---------------------|
| [Primary Source](#primary-source) | master | little endian | Linux,Darwin | None | True | True | False |
| [Primary Source](#primary-source) | master | 64-bit little-endian | Linux,Darwin | None | True | True | False |
| [Primary Source](#primary-source) | master | x86\_64 | Linux,Darwin | AVX2,AVX512,PCLMUL,SSE2 | True | True | False |

Are implementations chosen based on runtime CPU feature detection? **Yes**.
Expand Down
6 changes: 3 additions & 3 deletions docs/algorithms/kem/bike.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ parameter-sets:
- upstream: primary-upstream
upstream-id: master
supported-platforms:
- architecture: little endian
- architecture: 64-bit little-endian
operating_systems:
- Linux
- Darwin
Expand Down Expand Up @@ -76,7 +76,7 @@ parameter-sets:
- upstream: primary-upstream
upstream-id: master
supported-platforms:
- architecture: little endian
- architecture: 64-bit little-endian
operating_systems:
- Linux
- Darwin
Expand Down Expand Up @@ -112,7 +112,7 @@ parameter-sets:
- upstream: primary-upstream
upstream-id: master
supported-platforms:
- architecture: little endian
- architecture: 64-bit little-endian
operating_systems:
- Linux
- Darwin
Expand Down

0 comments on commit 6bce010

Please sign in to comment.