Commit 1839a0f
committed
Add STM32 bare-metal support for Hash, SAES/AES, PKA and RNG
Direct-register (WOLFSSL_STM32_BARE) wolfCrypt port -- no HAL/StdPeriph --
covering HASH, CRYP/TinyAES/SAES, PKA (V1 + V2) and RNG across the STM32
families (F2/F3/F4/F7/H5/H7/H7RS/L4/L5/G0/G4/U0/U3/U5/WB/WL/WBA/C0/C5/N6/
MP13). Per-family clock-enable macros are centralized via WC_STM32_CLK_EN/
WC_STM32_CLK_DIS.
Includes STM32H563 'light' PKA support: H563 can ECDSA-verify in HW but not
sign, so WC_STM32_PKA_VERIFY_ONLY (auto-enabled for STM32H563xx) routes sign
to software while verify stays on the HW PKA; H573 keeps full PKA.1 parent 1d93484 commit 1839a0f
9 files changed
Lines changed: 2832 additions & 351 deletions
File tree
- wolfcrypt/src
- port/st
- wolfssl/wolfcrypt
- port/st
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
1 | 4 | | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
2 | 8 | | |
3 | 9 | | |
4 | 10 | | |
| |||
270 | 276 | | |
271 | 277 | | |
272 | 278 | | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
273 | 282 | | |
| 283 | + | |
274 | 284 | | |
275 | 285 | | |
276 | 286 | | |
| |||
493 | 503 | | |
494 | 504 | | |
495 | 505 | | |
| 506 | + | |
| 507 | + | |
496 | 508 | | |
| 509 | + | |
| 510 | + | |
497 | 511 | | |
498 | 512 | | |
499 | 513 | | |
500 | 514 | | |
501 | 515 | | |
502 | 516 | | |
503 | 517 | | |
| 518 | + | |
| 519 | + | |
| 520 | + | |
| 521 | + | |
| 522 | + | |
| 523 | + | |
| 524 | + | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
| 536 | + | |
504 | 537 | | |
505 | 538 | | |
506 | 539 | | |
| |||
511 | 544 | | |
512 | 545 | | |
513 | 546 | | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
| 551 | + | |
514 | 552 | | |
515 | 553 | | |
516 | 554 | | |
517 | 555 | | |
| 556 | + | |
| 557 | + | |
| 558 | + | |
518 | 559 | | |
519 | 560 | | |
520 | 561 | | |
| |||
577 | 618 | | |
578 | 619 | | |
579 | 620 | | |
| 621 | + | |
580 | 622 | | |
581 | 623 | | |
582 | 624 | | |
| |||
681 | 723 | | |
682 | 724 | | |
683 | 725 | | |
| 726 | + | |
| 727 | + | |
| 728 | + | |
| 729 | + | |
| 730 | + | |
684 | 731 | | |
685 | 732 | | |
686 | 733 | | |
| |||
920 | 967 | | |
921 | 968 | | |
922 | 969 | | |
| 970 | + | |
| 971 | + | |
923 | 972 | | |
924 | | - | |
925 | | - | |
| 973 | + | |
926 | 974 | | |
927 | 975 | | |
928 | 976 | | |
| |||
0 commit comments