calvin2021y

Results 202 comments of calvin2021y

Thanks for explain, for windows x86 it is the line of : `aes->aadLen = 0;` now I will test with this patch: ```sh diff --git a/wolfcrypt/src/aes.c b/wolfcrypt/src/aes.c index 13e8fbbf6..59a9a8606 100644...

With this patch, on aarch64, with `--enable-sp=small,asm` ```sh Build fingerprint: 'samsung/beyond2qltezh/beyond2q:11/RP1A.200720.012/G9750ZHU5FUE2:user/release-keys' #00 0x000000000018c04c /data/app/~~KTk0gKq8ur1nMdN21wGDCQ==/com.test-BAnij8kkuaLOwIea5uCL8Q==/lib/arm64/libtest.so sp_256_mont_sqr_4 wolfcrypt/src/sp_arm64.c:22603:5 #01 0x000000000018ce5c /data/app/~~KTk0gKq8ur1nMdN21wGDCQ==/com.test-BAnij8kkuaLOwIea5uCL8Q==/lib/arm64/libtest.so sp_256_proj_point_dbl_n_store_4 wolfcrypt/src/sp_arm64.c:24173:9 sp_256_ecc_mulmod_win_add_sub_4 wolfcrypt/src/sp_arm64.c:24460:9 sp_256_ecc_mulmod_4 wolfcrypt/src/sp_arm64.c:24994:12 #02 0x000000000018caec /data/app/~~KTk0gKq8ur1nMdN21wGDCQ==/com.test-BAnij8kkuaLOwIea5uCL8Q==/lib/arm64/libtest.so sp_ecc_secret_gen_256 wolfcrypt/src/sp_arm64.c:39975:19...

for windows x86 lto, the location of error is not correct. I test with this patch: ```sh diff --git a/wolfcrypt/src/aes.c b/wolfcrypt/src/aes.c index 13e8fbbf6..a5f1b6af6 100644 --- a/wolfcrypt/src/aes.c +++ b/wolfcrypt/src/aes.c @@ -10689,7...

The app is build with curl, and all case is work fine with openssl but not wolfssl.

Thanks for the update. I can not apply this patch to stable release: ```sh error: patch failed: wolfcrypt/src/sp_arm64.c:22597 error: wolfcrypt/src/sp_arm64.c: patch does not apply ``` Then I try apply it...

with your patch, master, windows x86, clang + lto: ```sh dec = 3016906c dec->aes = 30167868 dec->aes->aadLen = 0 thread #1, stop reason = Exception 0xc0000005 encountered at address 0x753977:...

The test is on master branch. I am sorry I dont know the build commit id. toady I try there is a error: ```sh error: Error including wolfssl/openssl/*.h. Possible circular...

try use commit #98c1b152a for master branch windows x86 + lto there is nothing printed.

with this patch: ```sh diff --git a/wolfcrypt/src/aes.c b/wolfcrypt/src/aes.c index 63928bafe..e46f66f5e 100644 --- a/wolfcrypt/src/aes.c +++ b/wolfcrypt/src/aes.c @@ -10688,8 +10688,11 @@ int wc_AesInit(Aes* aes, void* heap, int devId) #ifdef HAVE_AESGCM #ifdef OPENSSL_EXTRA...

this is the output: ```sh aes=30553980, 16, 30553ac0 aes=30553d08, 16, 30553e48 ``` ```diff diff --git a/wolfcrypt/src/aes.c b/wolfcrypt/src/aes.c index 63928bafe..341d6e765 100644 --- a/wolfcrypt/src/aes.c +++ b/wolfcrypt/src/aes.c @@ -10688,6 +10688,8 @@ int wc_AesInit(Aes*...