-
Notifications
You must be signed in to change notification settings - Fork 13.3k
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
Update to BearSSL 0.6+ release, add AES_CCM modes #5164
Conversation
Pull in latest BearSSL head (0.6 + minor additions) release and add AES_CCM modes to the encryption options.
31e4be5
to
12e666e
Compare
Are there flashsize or heap use implications here? |
There should be no real heap difference. There is going to be a slight code increase as these new codes will be included in the library. If flash size becomes an issue I can move from |
I observed that -Os can run faster than -O2 with other CPUs too (the gameboy advance's one arm7tdmi I believe it was) |
The EC mul20 and square20 code was identical in two different files, but because these copies were static, we ended up with an extra 6k of duplicated code. Updated BearSSL to make them shared, saving 6KB.
Tests with the latest update show <2KB flash growth on the BearSSL_Validation example. |
Pull in latest BearSSL head (0.6 + minor additions) release and add AES_CCM
modes to the encryption options.