/mcuboot-latest/ |
D | LICENSE | 5 TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 9 "License" shall mean the terms and conditions for use, reproduction, 10 and distribution as defined by Sections 1 through 9 of this document. 15 "Legal Entity" shall mean the union of the acting entity and all 28 source, and configuration files. 33 and conversions to other media types. 41 form, that is based on (or derived from) the Work and for which the 46 the Work and Derivative Works thereof. 49 the original version of the Work and any modifications or additions 57 and issue tracking systems that are managed by, or on behalf of, the [all …]
|
D | CODE_OF_CONDUCT.md | 6 We as members, contributors, and leaders pledge to make participation in our 9 identity and expression, level of experience, education, socio-economic status, 11 and orientation. 13 We pledge to act and interact in ways that contribute to an open, welcoming, 14 diverse, inclusive, and healthy community. 21 * Demonstrating empathy and kindness toward other people 22 * Being respectful of differing opinions, viewpoints, and experiences 23 * Giving and gracefully accepting constructive feedback 24 * Accepting responsibility and apologizing to those affected by our mistakes, 25 and learning from the experience [all …]
|
/mcuboot-latest/docs/ |
D | testplan-mynewt.md | 7 For each supported signing algorithm, check that non-signed, and signed 8 with wrong key images are not swapped to, and image signed with correct key 11 For the 3 algorithms supported, rsa, ec and ec256, two files are provided: 12 key_<sign-algo>.pem, key_<sign-algo>_2.pem. And a keys file with the C public 15 Build and load MCUboot: 20 Build and load good image in slot 0: 35 Build and load image in slot 1 with no signing, signed with 36 key_<sign-algo>_2.pem and signed with key_<sign-algo>.pem. Mark each one as 37 test image and check that swap only happens for image signed with 49 Build and load MCUboot: [all …]
|
D | release-notes.md | 18 sectors (which is the slot size minus the swap status and moved 21 and details on sectors including if slot sizes are not optimal for 24 to show the available tests and `run` to run them. The `-t` argument will 36 recovery and encryption whereby an encrypted image is loaded 37 and being wrongly treated as encrypted after decryption. 40 allows for a single application slot and firmware loader image in 46 failure if console is enabled and device is the same as the USB 56 MCUboot being used and the version of zephyr. This can be 62 Note that this release, 2.0.0 is a new major number, and contains a small API 63 change in the interface between mcuboot and the platform. All platforms [all …]
|
D | testplan-zephyr.md | 10 automating the process, and provides simple "y or n" prompts for each 11 test case and expected result. 13 ## Building and running. 21 Begin by doing a full erase, and programming the bootloader itself: 27 messages, and lastly: "main: Unable to find bootable image". 33 This should print "main: Jumping to the first image slot", and you 38 happen and sometimes it will not. 42 This should print a message: `boot_swap_type: Swap type: test`, and 49 And you should see a revert and "hello1" running. 53 Repeat this, to make sure we can mark the image as OK, and that a [all …]
|
D | readme-zephyr.md | 1 # Building and using MCUboot with Zephyr 6 for Zephyr, and these are documented here. 9 and operation of the bootloader itself. This functionality should be the same 22 and how to use the swap-using-scratch algorithm): 29 then the corresponding primary and secondary partitions must be defined for 30 the rest of the images too (for example, `slot2_partition` and 39 ## Installing requirements and dependencies 54 guidance. It is important to select a signature algorithm, and decide 57 To build MCUboot, create a build directory in boot/zephyr, and build 76 on the target and flash tool used, this might erase the whole of the flash [all …]
|
D | encrypted_images.md | 17 - specific language governing permissions and limitations 30 The image header needs to flag this image as `ENCRYPTED` (0x04) and 34 located in the `primary slot`, also having the `ENCRYPTED` flag set and the 43 It does not protect against the possibility of attaching a JTAG and 50 and not possible to extract. 57 Hashing and signing also remain functionally the same way as before, 59 that the encrypted flag is set and TLV data is OK, then it decrypts each 63 that starts from zero (over the payload blocks) and increments by 1 for each 64 16-byte block. AES-CTR was chosen for speed/simplicity and allowing for any 69 `newt`. This key should never be reused and no checks are done for this, [all …]
|
D | SubmittingPatches.md | 9 that mentions the author (and the committer, if that is different). You 39 release note snippet should be a separate commit, and a pull request 55 Copyright (C) 2004, 2006 The Linux Foundation and its contributors. 60 Everyone is permitted to copy and distribute verbatim copies of this 68 (a) The contribution was created in whole or in part by me and I 74 license and I have the right under that license to submit that 81 person who certified (a), (b) or (c) and I have not modified 84 (d) I understand and agree that this project and the contribution 85 are public and that a record of the contribution (including all 87 maintained indefinitely and may be redistributed consistent with
|
D | imgtool.md | 4 operations that are necessary to manage keys and sign images. Using 8 This program is written for Python3, and has several dependencies on 15 This tool currently supports rsa-2048, rsa-3072, ecdsa-p256 and ed25519 keys. 24 protected, and not widely distributed. 44 will extract the public key from the given private key file, and 47 enabled, this last step is unnecessary and can be skipped. 52 primary slot and adds a header and trailer that the bootloader is expecting: 58 INFILE and OUTFILE are parsed as Intel HEX if the params have .hex 86 alignment of the primary and secondary slot 87 differ and any of them is larger than 8. [all …]
|
/mcuboot-latest/ext/tinycrypt/lib/include/tinycrypt/ |
D | ecc_dsa.h | 7 * Redistribution and use in source and binary forms, with or without 11 * list of conditions and the following disclaimer. 14 * this list of conditions and the following disclaimer in the documentation 15 * and/or other materials provided with the distribution. 17 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 18 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 24 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 33 * Redistribution and use in source and binary forms, with or without 37 * this list of conditions and the following disclaimer. [all …]
|
D | ecc_platform_specific.h | 6 * Redistribution and use in source and binary forms, with or without 9 * this list of conditions and the following disclaimer. 11 * this list of conditions and the following disclaimer in the documentation 12 * and/or other materials provided with the distribution. 14 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 15 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 16 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 21 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 29 * Redistribution and use in source and binary forms, with or without 33 * this list of conditions and the following disclaimer. [all …]
|
D | ccm_mode.h | 6 * Redistribution and use in source and binary forms, with or without 10 * this list of conditions and the following disclaimer. 13 * notice, this list of conditions and the following disclaimer in the 14 * documentation and/or other materials provided with the distribution. 20 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 21 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 22 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 27 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 42 * 1) Both non-empty payload and associated data (it encrypts and 43 * authenticates the payload and also authenticates the associated [all …]
|
D | ecc_dh.h | 7 * Redistribution and use in source and binary forms, with or without 11 * list of conditions and the following disclaimer. 14 * this list of conditions and the following disclaimer in the documentation 15 * and/or other materials provided with the distribution. 17 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 18 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 24 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 32 * Redistribution and use in source and binary forms, with or without 36 * this list of conditions and the following disclaimer. [all …]
|
D | hmac_prng.h | 6 * Redistribution and use in source and binary forms, with or without 10 * this list of conditions and the following disclaimer. 13 * notice, this list of conditions and the following disclaimer in the 14 * documentation and/or other materials provided with the distribution. 20 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 21 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 22 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 27 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 47 * security of the primitives used as the building blocks (HMAC and 53 * with a time stamp, for example) is easily computed and might be [all …]
|
D | constants.h | 6 * Redistribution and use in source and binary forms, with or without 10 * this list of conditions and the following disclaimer. 13 * notice, this list of conditions and the following disclaimer in the 14 * documentation and/or other materials provided with the distribution. 20 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 21 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 22 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 27 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
D | utils.h | 6 * Redistribution and use in source and binary forms, with or without 10 * this list of conditions and the following disclaimer. 13 * notice, this list of conditions and the following disclaimer in the 14 * documentation and/or other materials provided with the distribution. 20 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 21 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 22 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 27 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 83 * @return Returns 0 if equal, and non-zero otherwise 87 * @param size IN -- size of sequences a and b
|
/mcuboot-latest/ext/tinycrypt/tests/include/ |
D | test_ecc_utils.h | 6 * Redistribution and use in source and binary forms, with or without 9 * this list of conditions and the following disclaimer. 11 * this list of conditions and the following disclaimer in the documentation 12 * and/or other materials provided with the distribution. 14 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 15 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 16 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 21 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 29 * Redistribution and use in source and binary forms, with or without 33 * this list of conditions and the following disclaimer. [all …]
|
/mcuboot-latest/ext/tinycrypt/ |
D | LICENSE | 10 Redistribution and use in source and binary forms, with or without modification, 14 list of conditions and the following disclaimer. 17 this list of conditions and the following disclaimer in the documentation 18 and/or other materials provided with the distribution. 25 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 27 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 31 LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON 42 Redistribution and use in source and binary forms, with or without modification, 45 list of conditions and the following disclaimer. 47 this list of conditions and the following disclaimer in the documentation [all …]
|
/mcuboot-latest/ext/tinycrypt/lib/source/ |
D | ecc_platform_specific.c | 6 * Redistribution and use in source and binary forms, with or without 9 * this list of conditions and the following disclaimer. 11 * this list of conditions and the following disclaimer in the documentation 12 * and/or other materials provided with the distribution. 14 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 15 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 16 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 21 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 29 * Redistribution and use in source and binary forms, with or without 33 * this list of conditions and the following disclaimer. [all …]
|
D | ecc_dh.c | 7 * Redistribution and use in source and binary forms, with or without 10 * this list of conditions and the following disclaimer. 12 * this list of conditions and the following disclaimer in the documentation 13 * and/or other materials provided with the distribution. 15 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 16 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 17 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 22 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 31 * Redistribution and use in source and binary forms, with or without 35 * this list of conditions and the following disclaimer. [all …]
|
/mcuboot-latest/boot/cypress/MCUBootApp/ |
D | README.md | 29 … with SHA256, image authenticity with EC256 digital signature verification and uses completely SW … 31 **Important**: make sure primary, secondary slot and bootloader app sizes are appropriate and corre… 33 **Important**: make sure RAM areas of CM0p-based MCUBootApp bootloader and CM4-based BlinkyApp do n… 48 Navigate to `sysflash.h` and modify the flash area(s) / slots sizes to meet your needs. 53 Now define and initialize `struct flash_area *boot_area_descs[]` with flash memory addresses and si… 60 Update this line and or add similar for flash map parameters to override. 83 Multi-image operation considers upgrading and verification of more then one image on the device. 91 * Verifies Primary_1 and Primary_2 images; 92 * Verifies Secondary_1 and Secondary_2 images; 95 * Boots Primary_1 only if both - Primary_1 and Primary_2 are present and valid; [all …]
|
/mcuboot-latest/boot/cypress/MCUBootApp/config/ |
D | mcuboot_crypto_config.h | 7 * or disable features selectively, and reduce the global 23 * See the License for the specific language governing permissions and 78 * and can be linked with an implementation of division for that type. 101 * platforms, this is not available in hardware and has to be implemented in 125 * System has time.h and time(). 130 * MBEDTLS_PLATFORM_TIME_MACRO, MBEDTLS_PLATFORM_TIME_TYPE_MACRO and 140 * System has time.h, time(), and an implementation for 163 * By default mbed TLS uses the system-provided calloc() and free(). 169 * "mbedtls_platform_set_calloc_free()" allowing you to set an alternative calloc() and 172 * Enabling MBEDTLS_PLATFORM_MEMORY and specifying [all …]
|
/mcuboot-latest/boot/espressif/include/crypto_config/ |
D | mbedtls_custom_config.h | 7 * or disable features selectively, and reduce the global 23 * See the License for the specific language governing permissions and 79 * and can be linked with an implementation of division for that type. 102 * platforms, this is not available in hardware and has to be implemented in 126 * System has time.h and time(). 131 * MBEDTLS_PLATFORM_TIME_MACRO, MBEDTLS_PLATFORM_TIME_TYPE_MACRO and 141 * System has time.h, time(), and an implementation for 164 * By default mbed TLS uses the system-provided calloc() and free(). 170 * "mbedtls_platform_set_calloc_free()" allowing you to set an alternative calloc() and 173 * Enabling MBEDTLS_PLATFORM_MEMORY and specifying [all …]
|
/mcuboot-latest/ext/tinycrypt/documentation/ |
D | tinycrypt.rst | 16 security and technicalities of each cryptographic primitive are found in the 35 * Requires: SHA-256 and HMAC-SHA256. 91 respect to other metrics and countermeasures for particular threats. These 92 peculiarities would increase the code size and thus are not considered here. 95 that it is unnecessary to build and allocate object code for more primitives 97 one can select and compile only the primitives required by the application. 106 in order to meet its design goals (in special, minimal code size) and to better 151 step: entropy seed, personalization and a nonce (which is not implemented). 152 TinyCrypt requires the personalization byte array and automatically creates 160 twice the size as for AES-128, and the key schedule is 40% larger. [all …]
|
/mcuboot-latest/ext/tinycrypt/tests/ |
D | test_ecc_utils.c | 6 * Redistribution and use in source and binary forms, with or without 9 * this list of conditions and the following disclaimer. 11 * this list of conditions and the following disclaimer in the documentation 12 * and/or other materials provided with the distribution. 14 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 15 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 16 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 21 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 29 * Redistribution and use in source and binary forms, with or without 33 * this list of conditions and the following disclaimer. [all …]
|