Commit 206c01a
committed
bootutil: Provide support for embedded AES keys
Commit provides support for MCUBOOT_BUILTIN_ENC_KEY config
option, that allows to compile code with embedded key.
When this option is enabled, compilation requires
definition of boot_take_enc_key function to be provided by user;
prototype for the function is provided.
The boot_take_enc_key function is supposed to provide encryption
AES key to be used for image encryption and decryption.
Signed-off-by: Dominik Ermel <[email protected]>1 parent 86f606b commit 206c01a
File tree
6 files changed
+47
-8
lines changed- boot
- boot_serial/src
- bootutil
- include/bootutil
- src
- mynewt/src
6 files changed
+47
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
235 | 235 | | |
236 | 236 | | |
237 | 237 | | |
| 238 | + | |
238 | 239 | | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
239 | 243 | | |
240 | 244 | | |
241 | 245 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
78 | 81 | | |
79 | 82 | | |
80 | 83 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
386 | 386 | | |
387 | 387 | | |
388 | 388 | | |
389 | | - | |
| 389 | + | |
390 | 390 | | |
391 | 391 | | |
392 | 392 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
370 | 370 | | |
371 | 371 | | |
372 | 372 | | |
| 373 | + | |
373 | 374 | | |
374 | 375 | | |
375 | 376 | | |
| |||
564 | 565 | | |
565 | 566 | | |
566 | 567 | | |
| 568 | + | |
567 | 569 | | |
| 570 | + | |
568 | 571 | | |
569 | 572 | | |
570 | 573 | | |
| |||
625 | 628 | | |
626 | 629 | | |
627 | 630 | | |
| 631 | + | |
628 | 632 | | |
629 | 633 | | |
630 | 634 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
629 | 629 | | |
630 | 630 | | |
631 | 631 | | |
| 632 | + | |
632 | 633 | | |
633 | 634 | | |
634 | 635 | | |
| |||
641 | 642 | | |
642 | 643 | | |
643 | 644 | | |
| 645 | + | |
644 | 646 | | |
| 647 | + | |
| 648 | + | |
| 649 | + | |
645 | 650 | | |
646 | 651 | | |
647 | 652 | | |
| |||
932 | 937 | | |
933 | 938 | | |
934 | 939 | | |
| 940 | + | |
935 | 941 | | |
936 | 942 | | |
937 | 943 | | |
| |||
944 | 950 | | |
945 | 951 | | |
946 | 952 | | |
| 953 | + | |
| 954 | + | |
| 955 | + | |
| 956 | + | |
947 | 957 | | |
948 | 958 | | |
949 | 959 | | |
950 | 960 | | |
951 | 961 | | |
952 | 962 | | |
953 | | - | |
954 | | - | |
955 | | - | |
956 | | - | |
957 | 963 | | |
958 | 964 | | |
959 | 965 | | |
| |||
1490 | 1496 | | |
1491 | 1497 | | |
1492 | 1498 | | |
| 1499 | + | |
1493 | 1500 | | |
1494 | 1501 | | |
| 1502 | + | |
| 1503 | + | |
| 1504 | + | |
1495 | 1505 | | |
1496 | 1506 | | |
1497 | 1507 | | |
| |||
1587 | 1597 | | |
1588 | 1598 | | |
1589 | 1599 | | |
| 1600 | + | |
| 1601 | + | |
| 1602 | + | |
1590 | 1603 | | |
1591 | | - | |
1592 | 1604 | | |
1593 | 1605 | | |
1594 | 1606 | | |
| |||
1614 | 1626 | | |
1615 | 1627 | | |
1616 | 1628 | | |
| 1629 | + | |
1617 | 1630 | | |
| 1631 | + | |
| 1632 | + | |
| 1633 | + | |
1618 | 1634 | | |
1619 | 1635 | | |
1620 | 1636 | | |
| |||
1638 | 1654 | | |
1639 | 1655 | | |
1640 | 1656 | | |
| 1657 | + | |
1641 | 1658 | | |
| 1659 | + | |
| 1660 | + | |
| 1661 | + | |
1642 | 1662 | | |
1643 | 1663 | | |
1644 | 1664 | | |
| |||
1675 | 1695 | | |
1676 | 1696 | | |
1677 | 1697 | | |
| 1698 | + | |
1678 | 1699 | | |
1679 | 1700 | | |
1680 | 1701 | | |
| |||
1684 | 1705 | | |
1685 | 1706 | | |
1686 | 1707 | | |
1687 | | - | |
1688 | | - | |
| 1708 | + | |
| 1709 | + | |
| 1710 | + | |
1689 | 1711 | | |
| 1712 | + | |
| 1713 | + | |
| 1714 | + | |
| 1715 | + | |
| 1716 | + | |
1690 | 1717 | | |
1691 | 1718 | | |
1692 | 1719 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| 52 | + | |
52 | 53 | | |
53 | 54 | | |
54 | 55 | | |
| |||
0 commit comments