.. |
port
|
689a82a622
fix AES-related code, in both crypto and TLS layers, for various uninitialized data and resource leak defects around wc_AesInit() and wc_AesFree():
|
11 months ago |
aes.c
|
931ac4e568
add documentation for wc_AesXtsInit(), wc_AesXtsSetKeyNoInit(), wc_CmacFinalNoFree(), and wc_CmacFree();
|
11 months ago |
aes_asm.S
|
a10260ca5f
refactor AESNI implementations and *VECTOR_REGISTERS* macros to allow dynamic as-needed fallback to pure C, via WC_AES_C_DYNAMIC_FALLBACK.
|
1 year ago |
aes_asm.asm
|
347a17f7cf
wolfcrypt/src/aes_asm.asm: fix missed _AESNI suffixing.
|
1 year ago |
aes_gcm_asm.S
|
a10260ca5f
refactor AESNI implementations and *VECTOR_REGISTERS* macros to allow dynamic as-needed fallback to pure C, via WC_AES_C_DYNAMIC_FALLBACK.
|
1 year ago |
aes_gcm_asm.asm
|
a10260ca5f
refactor AESNI implementations and *VECTOR_REGISTERS* macros to allow dynamic as-needed fallback to pure C, via WC_AES_C_DYNAMIC_FALLBACK.
|
1 year ago |
aes_gcm_x86_asm.S
|
9dcc48c8f7
update copyright to 2023
|
1 year ago |
aes_xts_asm.S
|
a10260ca5f
refactor AESNI implementations and *VECTOR_REGISTERS* macros to allow dynamic as-needed fallback to pure C, via WC_AES_C_DYNAMIC_FALLBACK.
|
1 year ago |
arc4.c
|
9dcc48c8f7
update copyright to 2023
|
1 year ago |
asm.c
|
f6f8d2eda3
add WC_DO_NOTHING macro to wolfssl/wolfcrypt/types.h, with default expansion "do {} while (0)", and globally refactor to use the macro where appropriate, annotating intended-null macros-with-args with "/* null expansion */";
|
1 year ago |
asn.c
|
223d8c9a10
Merge pull request #7004 from julek-wolfssl/zd/17033
|
11 months ago |
blake2b.c
|
03a6eed037
wolfcrypt/src/{aes.c,blake2b.c,siphash.c}: fix W64LIT() arguments to not have improper 'U' suffix;
|
1 year ago |
blake2s.c
|
f396989d20
more -Wconversion fixes, now covering everything inside the 140-3 boundary with default build options, everything in wolfcrypt with default build options, all modes of AES, builds with/without intelasm, all permutations of c89/c99 32/64 bit, and much of the crypto-all-cryptonly boundary;
|
1 year ago |
camellia.c
|
2c9609039d
Type conversion fixes: make explicit
|
1 year ago |
chacha.c
|
20cab7afe3
Remove cyaSSL from XCODE proj and small fix in chacha.c
|
1 year ago |
chacha20_poly1305.c
|
131b7c2bcf
wolfcrypt/src/chacha20_poly1305.c: refactor ssize_t uses in wc_XChaCha20Poly1305_crypt_oneshot() as long int, for portability.
|
1 year ago |
chacha_asm.S
|
3ea0fb30dd
AES XTS x64 ASM: add AVX1 and AESNI implementations
|
1 year ago |
cmac.c
|
b14aba48af
wolfcrypt/src/cmac.c: add wc_CmacFree(), revert wc_CmacFinal(), rename wc_CmacFinal() as wc_CmacFinalNoFree() removing its deallocation clauses, and add new wc_CmacFinal() that calls wc_CmacFinalNoFree() then calls wc_CmacFree() unconditionally, for compatibility with legacy client code (some of which may have previously leaked).
|
11 months ago |
coding.c
|
f2c97d5d35
fixes for various wolfcrypt -Wconversions visible only on compilers that promote byte and word16 to signed int, then warn of a sign conflict when an intrinsically safe result is assigned back to the original type.
|
1 year ago |
compress.c
|
578f56e60c
Test api.c: change more tests to use Expect instead of Assert
|
1 year ago |
cpuid.c
|
59a7c0d7e4
move definitions of XASM_LINK() from wolfcrypt/src/aes.c, wolfcrypt/src/asm.c, and wolfcrypt/src/cpuid.c, to wolfssl/wolfcrypt/types.h, and use __asm__() instead of asm() if __GNUC__, for compatibility with -std=c99.
|
1 year ago |
cryptocb.c
|
7a6e851a82
Corrected print format string.
|
1 year ago |
curve25519.c
|
196f154c51
wolfcrypt/src/curve25519.c: use endian-conditional initializer for kCurve25519BasePoint.
|
1 year ago |
curve448.c
|
f396989d20
more -Wconversion fixes, now covering everything inside the 140-3 boundary with default build options, everything in wolfcrypt with default build options, all modes of AES, builds with/without intelasm, all permutations of c89/c99 32/64 bit, and much of the crypto-all-cryptonly boundary;
|
1 year ago |
des3.c
|
ad9779cdc1
Explicitly define code with WOLFCRYPT_ASYNC_CRYPT_SW
|
1 year ago |
dh.c
|
ad9779cdc1
Explicitly define code with WOLFCRYPT_ASYNC_CRYPT_SW
|
1 year ago |
dilithium.c
|
9dcc48c8f7
update copyright to 2023
|
1 year ago |
dsa.c
|
50752f5a2b
Fix typos found by codespell
|
1 year ago |
ecc.c
|
962bf88c9d
wolfcrypt/src/ecc.c: add missing semicolon in SAVE_VECTOR_REGISTERS() args.
|
11 months ago |
ecc_fp.c
|
5d377b7bc5
for make dist and also aes compatibility
|
10 years ago |
eccsi.c
|
f1725b4962
fix to 3e9f8bc649: `(void)h` was a typo for correct `(void)n`.
|
1 year ago |
ed25519.c
|
90467aa578
Curve25519/Ed25519: align buffers
|
1 year ago |
ed448.c
|
50752f5a2b
Fix typos found by codespell
|
1 year ago |
error.c
|
fafb9e81c0
Add support for AES EAX mode, as described in https://eprint.iacr.org/2003/069
|
1 year ago |
evp.c
|
931ac4e568
add documentation for wc_AesXtsInit(), wc_AesXtsSetKeyNoInit(), wc_CmacFinalNoFree(), and wc_CmacFree();
|
11 months ago |
ext_kyber.c
|
50752f5a2b
Fix typos found by codespell
|
1 year ago |
ext_lms.c
|
7223b5a708
Fix spelling warnings
|
11 months ago |
ext_xmss.c
|
7223b5a708
Fix spelling warnings
|
11 months ago |
falcon.c
|
9dcc48c8f7
update copyright to 2023
|
1 year ago |
fe_448.c
|
2c9609039d
Type conversion fixes: make explicit
|
1 year ago |
fe_low_mem.c
|
9dcc48c8f7
update copyright to 2023
|
1 year ago |
fe_operations.c
|
ed01b14356
cppcheck: fixes from scan
|
1 year ago |
fe_x25519_128.i
|
b62e0b7ceb
Fix type conversion warnings by gcc
|
1 year ago |
fe_x25519_asm.S
|
3ea0fb30dd
AES XTS x64 ASM: add AVX1 and AESNI implementations
|
1 year ago |
fp_mont_small.i
|
9dcc48c8f7
update copyright to 2023
|
1 year ago |
fp_mul_comba_12.i
|
9dcc48c8f7
update copyright to 2023
|
1 year ago |
fp_mul_comba_17.i
|
9dcc48c8f7
update copyright to 2023
|
1 year ago |
fp_mul_comba_20.i
|
9dcc48c8f7
update copyright to 2023
|
1 year ago |
fp_mul_comba_24.i
|
9dcc48c8f7
update copyright to 2023
|
1 year ago |
fp_mul_comba_28.i
|
9dcc48c8f7
update copyright to 2023
|
1 year ago |
fp_mul_comba_3.i
|
9dcc48c8f7
update copyright to 2023
|
1 year ago |
fp_mul_comba_32.i
|
9dcc48c8f7
update copyright to 2023
|
1 year ago |
fp_mul_comba_4.i
|
9dcc48c8f7
update copyright to 2023
|
1 year ago |
fp_mul_comba_48.i
|
9dcc48c8f7
update copyright to 2023
|
1 year ago |
fp_mul_comba_6.i
|
9dcc48c8f7
update copyright to 2023
|
1 year ago |
fp_mul_comba_64.i
|
9dcc48c8f7
update copyright to 2023
|
1 year ago |
fp_mul_comba_7.i
|
9dcc48c8f7
update copyright to 2023
|
1 year ago |
fp_mul_comba_8.i
|
9dcc48c8f7
update copyright to 2023
|
1 year ago |
fp_mul_comba_9.i
|
9dcc48c8f7
update copyright to 2023
|
1 year ago |
fp_mul_comba_small_set.i
|
9dcc48c8f7
update copyright to 2023
|
1 year ago |
fp_sqr_comba_12.i
|
9dcc48c8f7
update copyright to 2023
|
1 year ago |
fp_sqr_comba_17.i
|
9dcc48c8f7
update copyright to 2023
|
1 year ago |
fp_sqr_comba_20.i
|
9dcc48c8f7
update copyright to 2023
|
1 year ago |
fp_sqr_comba_24.i
|
9dcc48c8f7
update copyright to 2023
|
1 year ago |
fp_sqr_comba_28.i
|
9dcc48c8f7
update copyright to 2023
|
1 year ago |
fp_sqr_comba_3.i
|
9dcc48c8f7
update copyright to 2023
|
1 year ago |
fp_sqr_comba_32.i
|
9dcc48c8f7
update copyright to 2023
|
1 year ago |
fp_sqr_comba_4.i
|
9dcc48c8f7
update copyright to 2023
|
1 year ago |
fp_sqr_comba_48.i
|
9dcc48c8f7
update copyright to 2023
|
1 year ago |
fp_sqr_comba_6.i
|
9dcc48c8f7
update copyright to 2023
|
1 year ago |
fp_sqr_comba_64.i
|
9dcc48c8f7
update copyright to 2023
|
1 year ago |
fp_sqr_comba_7.i
|
9dcc48c8f7
update copyright to 2023
|
1 year ago |
fp_sqr_comba_8.i
|
9dcc48c8f7
update copyright to 2023
|
1 year ago |
fp_sqr_comba_9.i
|
9dcc48c8f7
update copyright to 2023
|
1 year ago |
fp_sqr_comba_small_set.i
|
9dcc48c8f7
update copyright to 2023
|
1 year ago |
ge_448.c
|
2c9609039d
Type conversion fixes: make explicit
|
1 year ago |
ge_low_mem.c
|
36b92a4cef
Thumb2 ASM, Curve25519
|
1 year ago |
ge_operations.c
|
90467aa578
Curve25519/Ed25519: align buffers
|
1 year ago |
hash.c
|
1912f1bc2a
fixes for clang-analyzer-core.NullDereference, clang-analyzer-core.NonNullParamChecker, clang-analyzer-deadcode.DeadStores, readability-redundant-preprocessor, clang-diagnostic-unreachable-code-break, -Werror=sign-conversion, bugprone-macro-parentheses, "Call to 'malloc' has an allocation size of 0 bytes", clang-diagnostic-declaration-after-statement re tests/unit.h:ExpectPtr() pragmas.
|
1 year ago |
hmac.c
|
344e1661e1
wolfcrypt/src/{hmac.c,sha256.c,sha512.c,kdf.c}: ForceZero() smallstack buffers before freeing them, and ForceZero() the Hmac, wc_Sha512, wc_Sha384, wc_Sha256, and wc_Sha224 structures at the end of their respective freeing routines. also, remove superseded ForceZero() calls in wc_HKDF_Expand(), wc_SSH_KDF(), and wc_HKDF_Extract().
|
1 year ago |
hpke.c
|
21f34ef028
Merge pull request #6905 from bandi13/moreCodeSonarFixes
|
1 year ago |
include.am
|
47caa9b06d
generalize sce protect impl to fsp sm(secure module)
|
1 year ago |
integer.c
|
416ce54276
Heap math: mp_add/submod_ct make work when c == d
|
11 months ago |
kdf.c
|
716cb450aa
SRTP KDF: Don't use i outside loop
|
1 year ago |
logging.c
|
12ee732fe2
Merge pull request #6981 from douzzer/20231102-vector-register-dynamic-fallback-aes
|
11 months ago |
md2.c
|
2c9609039d
Type conversion fixes: make explicit
|
1 year ago |
md4.c
|
9dcc48c8f7
update copyright to 2023
|
1 year ago |
md5.c
|
dc8f348bdf
smaller sized build with curl
|
1 year ago |
memory.c
|
689a82a622
fix AES-related code, in both crypto and TLS layers, for various uninitialized data and resource leak defects around wc_AesInit() and wc_AesFree():
|
11 months ago |
misc.c
|
b771b6ebf5
ZD16445
|
1 year ago |
pkcs12.c
|
50752f5a2b
Fix typos found by codespell
|
1 year ago |
pkcs7.c
|
21f34ef028
Merge pull request #6905 from bandi13/moreCodeSonarFixes
|
1 year ago |
poly1305.c
|
4b9302cdb3
another batch of -Wconversion fixes.
|
1 year ago |
poly1305_asm.S
|
3ea0fb30dd
AES XTS x64 ASM: add AVX1 and AESNI implementations
|
1 year ago |
pwdbased.c
|
a10260ca5f
refactor AESNI implementations and *VECTOR_REGISTERS* macros to allow dynamic as-needed fallback to pure C, via WC_AES_C_DYNAMIC_FALLBACK.
|
1 year ago |
random.c
|
7e69030df1
Espressif ESP32-C3 ESP32-C6 ESP32-S2 Hardware Acceleration
|
1 year ago |
rc2.c
|
9dcc48c8f7
update copyright to 2023
|
1 year ago |
ripemd.c
|
98b718f91b
wolfcrypt polish: init, checks, corrections (#6249)
|
1 year ago |
rsa.c
|
9265142369
Used codespell and fixed obvious typos.
|
11 months ago |
sakke.c
|
50752f5a2b
Fix typos found by codespell
|
1 year ago |
sha.c
|
9227020f8e
code review updates for ESP32 C3/C6/S2 HW Acceleration
|
11 months ago |
sha256.c
|
9227020f8e
code review updates for ESP32 C3/C6/S2 HW Acceleration
|
11 months ago |
sha256_asm.S
|
3ea0fb30dd
AES XTS x64 ASM: add AVX1 and AESNI implementations
|
1 year ago |
sha3.c
|
66f4101569
Update documentation for wc_Shake256_Final to match function signature.
|
1 year ago |
sha3_asm.S
|
3ea0fb30dd
AES XTS x64 ASM: add AVX1 and AESNI implementations
|
1 year ago |
sha512.c
|
7e69030df1
Espressif ESP32-C3 ESP32-C6 ESP32-S2 Hardware Acceleration
|
1 year ago |
sha512_asm.S
|
3ea0fb30dd
AES XTS x64 ASM: add AVX1 and AESNI implementations
|
1 year ago |
signature.c
|
9ca53ac7f7
Fix for `wc_SignatureGenerate_ex` calling verify twice.
|
1 year ago |
siphash.c
|
50752f5a2b
Fix typos found by codespell
|
1 year ago |
sm2.c
|
0cc21a42f3
SP updates for SM2
|
1 year ago |
sm3.c
|
0cc21a42f3
SP updates for SM2
|
1 year ago |
sm3_asm.S
|
0cc21a42f3
SP updates for SM2
|
1 year ago |
sm4.c
|
0cc21a42f3
SP updates for SM2
|
1 year ago |
sp_arm32.c
|
11e5544032
ARM asm: add "cc" to all clobber lists
|
11 months ago |
sp_arm64.c
|
7223b5a708
Fix spelling warnings
|
11 months ago |
sp_armthumb.c
|
11e5544032
ARM asm: add "cc" to all clobber lists
|
11 months ago |
sp_c32.c
|
7223b5a708
Fix spelling warnings
|
11 months ago |
sp_c64.c
|
7223b5a708
Fix spelling warnings
|
11 months ago |
sp_cortexm.c
|
11e5544032
ARM asm: add "cc" to all clobber lists
|
11 months ago |
sp_dsp32.c
|
34f349e510
Used codespell and fixed obvious typos.
|
1 year ago |
sp_int.c
|
4642077146
src/ssl.c: remove frivolous (void)heap to clear -Wdeclaration-after-statement.
|
11 months ago |
sp_sm2_arm32.c
|
0cc21a42f3
SP updates for SM2
|
1 year ago |
sp_sm2_arm64.c
|
0cc21a42f3
SP updates for SM2
|
1 year ago |
sp_sm2_armthumb.c
|
0cc21a42f3
SP updates for SM2
|
1 year ago |
sp_sm2_c32.c
|
0cc21a42f3
SP updates for SM2
|
1 year ago |
sp_sm2_c64.c
|
0cc21a42f3
SP updates for SM2
|
1 year ago |
sp_sm2_cortexm.c
|
0cc21a42f3
SP updates for SM2
|
1 year ago |
sp_sm2_x86_64.c
|
0cc21a42f3
SP updates for SM2
|
1 year ago |
sp_sm2_x86_64_asm.S
|
0cc21a42f3
SP updates for SM2
|
1 year ago |
sp_x86_64.c
|
7223b5a708
Fix spelling warnings
|
11 months ago |
sp_x86_64_asm.S
|
cefe108cab
Thumb2 inline ASM: IAR doesn't do register variables
|
1 year ago |
sp_x86_64_asm.asm
|
cefe108cab
Thumb2 inline ASM: IAR doesn't do register variables
|
1 year ago |
sphincs.c
|
7c14ea67ae
Rename sphincs algs to follow upstream
|
1 year ago |
srp.c
|
f396989d20
more -Wconversion fixes, now covering everything inside the 140-3 boundary with default build options, everything in wolfcrypt with default build options, all modes of AES, builds with/without intelasm, all permutations of c89/c99 32/64 bit, and much of the crypto-all-cryptonly boundary;
|
1 year ago |
tfm.c
|
61a2d2de3d
Merge pull request #6955 from SparkiDev/rsa_dec_inv_blind_mul_mont
|
11 months ago |
wc_dsp.c
|
9dcc48c8f7
update copyright to 2023
|
1 year ago |
wc_encrypt.c
|
a4aef0e55d
refinements from peer review for #6303.
|
1 year ago |
wc_kyber.c
|
9dcc48c8f7
update copyright to 2023
|
1 year ago |
wc_kyber_asm.S
|
9dcc48c8f7
update copyright to 2023
|
1 year ago |
wc_kyber_poly.c
|
9dcc48c8f7
update copyright to 2023
|
1 year ago |
wc_lms.c
|
67bef21185
Add LMS/HSS wolfCrypt hooks.
|
1 year ago |
wc_pkcs11.c
|
ca56b79209
Add compile-time option WOLFSSL_PKCS11_RW_TOKENS
|
1 year ago |
wc_port.c
|
e1ac56f2dd
Reworking MINGW mutex/threading
|
11 months ago |
wc_xmss.c
|
33d4b331fb
Add XMSS/XMSSMT wolfCrypt hooks.
|
1 year ago |
wolfevent.c
|
23ebace6b1
Fix event handling
|
1 year ago |
wolfmath.c
|
ed11669f3c
more fixes for implicit casts, including asn=template.
|
1 year ago |