Matthias J. Kannwischer
873d176652
ignore new clang warning security.insecureAPI.DeprecatedOrUnsafeBufferHandling
clang9.0.0 (https://releases.llvm.org/9.0.0/tools/clang/docs/ReleaseNotes.html )
adds a new satic analyzer: security.insecureAPI.DeprecatedOrUnsafeBufferHandling
which throws warnings if you use "unsafe" buffer handling functions which
includes memset and memcpy.
We have memset and mempy all over the place, so I think it's best to ignore this warning.
All the occurences that I looked at seemed perfectly "safe" to me.
5 years ago
Thom Wiggers
81a7e48d37
Run ARM64 tests on REAL HARDWARE 🎉
5 years ago
Matthias J. Kannwischer
071e541af7
Switch to gcc9.2 and xcode11.2 for MacOS builds ( #246 )
5 years ago
Thom Wiggers
367f29382f
Make sure the emulated jobs upload their test results properly
5 years ago
Sebastian
56a0fcb135
qTESLA ( #239 )
* Copied qTESLA-p-I round2 (2019-08-19) code
* Code compiles, NIST-KAT works
* Included detached signature API
* Generated testvectors
* Fixed name in api.h
* code style
* Fixed error in Makefile
* Passing pytest
* Fixing types (uint8_t bytes and size_t indices)
* Replaced SHAKE with SHAKE128 where necessary
* Fixed bug: (signed) integer overflow
* Added qTESLA-p-III
* Code is now independent of machine endianness
* repaired Microsoft makefile
5 years ago
Thom Wiggers
f792b925b4
Enable optimizers on Windows ( #244 )
5 years ago
Sebastian
298dd2cf22
fix clang-tidy complaint about falcon ( #242 )
See https://circleci.com/gh/PQClean/PQClean/7991
5 years ago
mergify[bot]
abe2a5aa2c
Merge pull request #241 from PQClean/fix_kyber90s
Fix kyber-90s warning if size_t is not 32 bits
5 years ago
Matthias J. Kannwischer
df8cc49670
fix kyber-90s warning if size_t is not 32 bits
5 years ago
mergify[bot]
c39e85dddf
Merge pull request #238 from PQClean/kyber90s-aes
Update Kyber-90s to use aes256_ecb instead of local AES implementation
5 years ago
Matthias J. Kannwischer
39246b808d
fix for big-endian
5 years ago
Matthias J. Kannwischer
9571a3b017
use common aes256_ecb instead of providing local AES implementation
5 years ago
Thom Wiggers
07543ba929
Document security issues ( #236 )
It seems wise to include _some_ form of guidance on what we know about
problems with certain (versions of) implementations.
[ci skip]
5 years ago
mergify[bot]
dd11ffc241
Merge pull request #230 from PQClean/fix_rainbow
Fix and re-add Rainbow
5 years ago
Matthias J. Kannwischer
1e04996465
re-add duplicate consistency checks
5 years ago
Matthias J. Kannwischer
db7200dc54
fix algorithm names in META.yml
5 years ago
Matthias J. Kannwischer
f08f65c8b6
remove unsupported -Wcast-align=strict
5 years ago
Matthias J. Kannwischer
3a4673bfd6
refactor gf16+gf256 arithmetic of rainbow to fix undefined behaviour
5 years ago
Matthias J. Kannwischer
0523cd693b
fix and re-add rainbow
5 years ago
mergify[bot]
546c8cd173
Merge pull request #226 from PQClean/kyber-90s
Add 90s variants of Kyber
5 years ago
Thom Wiggers
ac1f8cc74d
fixup! Add Kyber90s
Fix CRYPTO_ALGNAME
5 years ago
Thom Wiggers
7931383443
fixup! Add Kyber90s
Add duplicate consistency files
5 years ago
Thom Wiggers
526a841886
Add Kyber90s
5 years ago
Thom Wiggers
588dcaf5cb
Merge pull request #235 from pornin/master
Fixed sampler bug (update to new upstream Falcon code 2019-09-18).
5 years ago
Thomas Pornin
db2a8214f7
Merge remote-tracking branch 'upstream/master'
5 years ago
Thom Wiggers
993803e02d
Ignore pointless clang-tidy warning. ( #237 )
* Ignore pointless clang-tidy warning.
It wants you to write type suffixes for integers using uppercase. Let's
just disable this warning.
https://clang.llvm.org/extra/clang-tidy/checks/readability-uppercase-literal-suffix.html
* Clean up bugprone-narrowing-conversion
5 years ago
Thomas Pornin
2515f13378
Updated version number, and added an explicit cast to appease some versions of clang-tidy.
5 years ago
Thom Wiggers
bdb42f1911
Allow to automatically merge PRs if approved and CI agrees ( #234 )
5 years ago
Thomas Pornin
44a050106a
Fixed sampler bug (update to new upstream Falcon code 2019-09-18).
5 years ago
Thom Wiggers
4be5e497dc
Merge pull request #233 from PQClean/fix_algonames
Check and fix consistency of scheme names
5 years ago
Matthias J. Kannwischer
7d10484030
fix algo names for schemes that are inconsistent with the api.h
5 years ago
Matthias J. Kannwischer
1d789dc90d
check algo names
5 years ago
Thom Wiggers
88e59b3d61
Merge pull request #232 from PQClean/fix_incremental_sha512
Fix incremental sha512
5 years ago
Thom Wiggers
3779d4fcbf
Fix clang-tidy complaint about result of subtraction being compared with possibly small size_t ( #231 )
5 years ago
Thom Wiggers
f4bd312180
Adds AVX2 variants of Kyber512, Kyber768, Kyber1024 ( #225 )
* Integrate Kyber-AVX2 into PQClean
* Fix types and formatting in Kyber
* Workaround a valgrind crash
* Remove comment in shuffle.s
* Remove some extraneous truncations
* fixup! Fix types and formatting in Kyber
5 years ago
Matthias J. Kannwischer
6ee774a593
fix incremental sha512
5 years ago
Matthias J. Kannwischer
d83d4a4bf1
add test for incremental sha512
5 years ago
Thom Wiggers
2eaf382689
Add support for specifying architecture and feature limits ( #224 )
* Add support for specifying architecture and feature limits
* cpuinfo not supported on ppc
* Detect 32-bit python interpreter on 64-bit CPU
* Fix bugs in isolated tests
* Also support restricting operating system
5 years ago
Thom Wiggers
aa46b5239d
Enable valgrind exit errorcode and remove Rainbow ( #223 )
* Enable valgrind exit errorcode
It seems we were not doing anything with the valgrind results... D:
* Use --exit-on-first-error if available
* Revert "Merge pull request #182 from PQClean/rainbow"
This reverts commit 8a008417fe988b48c8acc4aefc9c299a4d3c1645, reversing
changes made to d4b612fe9a
.
5 years ago
Thom Wiggers
2753302605
Merge pull request #227 from leonbotros/ledav2.1
update LEDA to v2.1
5 years ago
Thom Wiggers
3237c2175e
Merge pull request #229 from PQClean/split_ci
Run KEMs and SIGs as separate CI jobs
5 years ago
Thom Wiggers
deb08ad929
Run KEMs and SIGs as separate CI jobs
5 years ago
Leon Botros
9190172f1a
fix a bug where error array is allocated way too big
5 years ago
Leon Botros
42256ec189
forgot to add updated dupicate consistency checks
5 years ago
Leon Botros
7dd7223587
more fixed sizes, hopefully fix mscv warnings
5 years ago
Leon Botros
9dd4a4b5da
fix requested changes
5 years ago
Thom Wiggers
8a120b3be7
Render proper diffs for duplicate_consistency test ( #228 )
Use Python's built-in ``diflib`` to compute diffs between the two versions.
5 years ago
Leon Botros
823ba3f13b
fix msvc complaints #2
5 years ago
Leon Botros
50665606f0
serialize error before hashing
5 years ago
Leon Botros
46145a3183
hopefully fix msvc complaints
5 years ago