Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RX72N support update #7849

Merged
merged 2 commits into from
Aug 12, 2024
Merged

RX72N support update #7849

merged 2 commits into from
Aug 12, 2024

Conversation

miyazakh
Copy link
Contributor

@miyazakh miyazakh commented Aug 8, 2024

Revert 2b4acf5
Fix compile failure when no TSIP uses

Description

TSIP random generator is not true random generator, but it generates pseudo random based on AES CTR-DRBG. So, it needs to use CUSTOM_RAND_GENERATE_BLOCK.

fix build failure when no using TSIP
this fixes zd#18415(#4 item, TIME_OVERRIDES define)

zd#18415

Testing

Run RX72N example programs

Checklist

  • added tests
  • updated/added doxygen
  • updated appropriate READMEs
  • Updated manual and documentation

fix build failure when no using TSIP
@dgarske
Copy link
Contributor

dgarske commented Aug 8, 2024

Retest this please.

client failed! Suite = DHE-RSA-AES128-SHA256 version = 3
in cleanup
killing server: OpenSSL_RSA (65133)
killing server: wolfSSL_RSA (53659)
killing server: OpenSSL_ECDH[E]-ECDSA (50497)
killing server: wolfSSL_ECDH[E]-ECDSA (53659)
FAIL scripts/openssl.test (exit status: 1)

@dgarske dgarske assigned dgarske and unassigned wolfSSL-Bot Aug 8, 2024
@@ -3655,15 +3652,6 @@ int wc_GenerateSeed(OS_Seed* os, byte* output, word32 sz)
return 0;
}

#elif defined(WOLFSSL_RENESAS_TSIP)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't want this removed. I added it back for a customer in ZD 18222. The TSIP RNG comes out of a CTR-DRBG but there is no issue using it as a seed for our DRBG. If a customer wants to use it directly then they can still define CUSTOM_RAND_GENERATE_BLOCK to override our DRBG and use wc_tsip_GenerateRandBlock directly.

@dgarske dgarske removed their assignment Aug 9, 2024
comment to CUSTOM RAND GENERATE BLOCK
@miyazakh
Copy link
Contributor Author

miyazakh commented Aug 9, 2024

Added comment to CUSTOM_RAND_GENERATE_BLOCK use
Put back the RNG changes

@dgarske dgarske assigned dgarske, douzzer and wolfSSL-Bot and unassigned dgarske Aug 9, 2024
@douzzer douzzer merged commit 53f5ded into wolfSSL:master Aug 12, 2024
122 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants