Home
last modified time | relevance | path

Searched full:the (Results 1 – 25 of 528) sorted by relevance

12345678910>>...22

/mcuboot-latest/docs/
Dreadme-zephyr.md3 MCUboot began its life as the bootloader for Mynewt. It has since
4 acquired the ability to be used as a bootloader for Zephyr as well.
8 Please see the [design document](design.md) for documentation on the design
9 and operation of the bootloader itself. This functionality should be the same
12 The first step required for Zephyr is making sure your board has flash
16 - `slot0_partition`: the primary slot of Image 0
17 - `slot1_partition`: the secondary slot of Image 0
19 It is not recommended to use the swap-using-scratch algorithm of MCUboot, but
20 if this operating mode is desired then the following flash partition is also
22 and how to use the swap-using-scratch algorithm):
[all …]
Ddesign.md10 - Licensed to the Apache Software Foundation (ASF) under one
11 - or more contributor license agreements. See the NOTICE file
13 - regarding copyright ownership. The ASF licenses this file
14 - to you under the Apache License, Version 2.0 (the
16 - with the License. You may obtain a copy of the License at
21 - software distributed under the License is distributed on an
23 - KIND, either express or implied. See the License for the
25 - under the License.
34 * The bootutil library (boot/bootutil)
35 * The boot application (each port has its own at boot/<port>)
[all …]
Dencrypted_images.md3 - Licensed to the Apache Software Foundation (ASF) under one
4 - or more contributor license agreements. See the NOTICE file
6 - regarding copyright ownership. The ASF licenses this file
7 - to you under the Apache License, Version 2.0 (the
9 - with the License. You may obtain a copy of the License at
14 - software distributed under the License is distributed on an
16 - KIND, either express or implied. See the License for the
18 - under the License.
26 To provide confidentiality of image data while in transport to the
28 for encrypting/decrypting images on-the-fly while upgrading.
[all …]
Dimgtool.md3 The Python program `scripts/imgtool.py` can be used to perform the
5 this script should be preferred to the manual steps described in
16 You can generate a keypair for one of these types using the 'keygen' command:
20 or use rsa-3072, ecdsa-p256, or ed25519 for the type. The key type used
26 You can add the `-p` argument to `keygen`, which will cause it to
28 time you use the private key.
30 ## [Incorporating the public key into the code](#incorporating-the-public-key-into-the-code)
35 key, as described above, you should replace the public key in the
36 bootloader with the generated one.
38 For Zephyr, the keys live in the file `boot/zephyr/keys.c`. For
[all …]
Drelease.md3 This page describes the release process used with MCUboot.
8 follow a `MAJOR.MINOR.PATCH` format with the following guidelines on
9 incrementing the numbers:
16 We add pre-release tags using the format `MAJOR.MINOR.PATCH-rc1`.
18 In the documentation, we mark an MCUBoot development version using the
23 Before making a release, update the `docs/release-notes.md` file
24 to describe the release. This should be a high-level description of
25 the changes, not a list of the git commits.
27 Provided that changes going into the release have followed the
28 contribution guidelines, this should mostly consist of collecting the
[all …]
Dreadme-nuttx.md5 The NuttX port of MCUboot secure boot library expects that the platform provides a Flash storage wi…
6 - `CONFIG_MCUBOOT_PRIMARY_SLOT_PATH`: MTD partition for the application firmware image PRIMARY slot;
7 - `CONFIG_MCUBOOT_SECONDARY_SLOT_PATH`: MTD partition for the application firmware image SECONDARY …
8 - `CONFIG_MCUBOOT_SCRATCH_PATH`: MTD partition for the Scratch area;
12 …TCHDOG` is enabled, MCUboot shall reset the watchdog timer indicated by `CONFIG_MCUBOOT_WATCHDOG_D…
14 The porting layer of MCUboot library consists of the following interfaces:
15 …/flash_map_backend.h>`, for enabling MCUboot to manage the application firmware image slots in the
18 - `<os/os_malloc.h>`, for providing MCUboot access to the OS memory management interfaces.
19 - `<sysflash/sysflash.h>`, for configuration of the system's flash area organization.
21 The NuttX port of MCUboot is implemented at application-level and requires minimal knowledge about …
[all …]
Drelease-notes.md9 enabled, previously the command would have been accepted but no
10 response indicating that the command is not supported would have
13 (available with the PSA Crypto API based crypto backend for ECDSA signatures).
17 compatibility, this now also checks against the number of usable
18 sectors (which is the slot size minus the swap status and moved
24 to show the available tests and `run` to run them. The `-t` argument will
27 the environment, the sim will skip two tests that are very slow. In one
28 instance this reduces the test time from 2 hours to about 5 minutes. These
41 the secondary slot which is used to update the primary image
46 failure if console is enabled and device is the same as the USB
[all …]
DPORTING.md3 This document describes the requirements and necessary steps required to port
12 * `MCUboot` requires that the target provides a `flash` API with ability to
13 get the flash's minimum write size, and read/write/erase individual sectors.
15 * `MCUboot` doesn't bundle a cryptographic library, which means the target
16 OS must already have it bundled. The supported libraries at the moment are
17 either `Mbed TLS` or the set `tinycrypt` + `Mbed TLS` (where `Mbed TLS` is
22 ## Main app and calling the bootloader
24 From the perspective of the target OS, the bootloader can be seen as a library,
25 so an entry point must be provided. This is likely a typical `app` for the
26 target OS, and it must call the following function to run the bootloader:
[all …]
Decdsa.md3 When the ECDSA SECP256R1 (EC256) signature support was added to MCUboot, a
7 TLS) are fairly strict about the formatting of the ECDSA signature.
12 at least one pad byte to always be added (to set the length). This
15 signatures. The EC code would work reliably only in the new
18 - Remove the padding entirely. Depending on the tool used, this solution
20 that the length does not need to be known until the signature is
31 1. Add a `--no-pad-sig` argument to the sign command in
34 Without this argument, the images are padded with the
35 existing scheme. With this argument, the ECDSA is encoded
36 without any padding. The `--pad-sig` argument is also
[all …]
Dserial_recovery.md8 - Licensed to the Apache Software Foundation (ASF) under one
9 - or more contributor license agreements. See the NOTICE file
11 - regarding copyright ownership. The ASF licenses this file
12 - to you under the Apache License, Version 2.0 (the
14 - with the License. You may obtain a copy of the License at
19 - software distributed under the License is distributed on an
21 - KIND, either express or implied. See the License for the
23 - under the License.
29 SMP is a basic transfer encoding for use with the MCUmgr management protocol.
30 See the Zephyr [Device Management](https://docs.zephyrproject.org/latest/services/device_mgmt/index…
[all …]
/mcuboot-latest/ext/mbedtls-asn1/include/mbedtls/
Dmd.h4 * \brief This file contains the generic message-digest wrapper.
9 * Copyright The Mbed TLS Contributors
12 * Licensed under the Apache License, Version 2.0 (the "License"); you may
13 * not use this file except in compliance with the License.
14 * You may obtain a copy of the License at
19 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
21 * See the License for the specific language governing permissions and
22 * limitations under the License.
33 #define MBEDTLS_ERR_MD_FEATURE_UNAVAILABLE -0x5080 /**< The selected feature is not…
52 MBEDTLS_MD_MD5, /**< The MD5 message digest. */
[all …]
Dasn1.h7 * Copyright The Mbed TLS Contributors
10 * Licensed under the Apache License, Version 2.0 (the "License"); you may
11 * not use this file except in compliance with the License.
12 * You may obtain a copy of the License at
17 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
19 * See the License for the specific language governing permissions and
20 * limitations under the License.
48 …ALID_LENGTH -0x0064 /**< Error when trying to determine the length or invalid l…
58 * These constants comply with the DER encoded ASN.1 type tags.
101 * Bit masks for each of the components of an ASN.1 tag as specified in
[all …]
Drsa.h4 * \brief This file provides an API for the RSA public-key cryptosystem.
6 * The RSA public-key cryptosystem is defined in <em>Public-Key
13 * Copyright The Mbed TLS Contributors
16 * Licensed under the Apache License, Version 2.0 (the "License"); you may
17 * not use this file except in compliance with the License.
18 * You may obtain a copy of the License at
23 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
25 * See the License for the specific language governing permissions and
26 * limitations under the License.
47 …_CHECK_FAILED -0x4200 /**< Key failed to pass the validity check of the library.…
[all …]
Decp.h6 * The use of ECP in cryptography and TLS is defined in
12 * <em>RFC-2409: The Internet Key Exchange (IKE)</em> defines ECP
18 * Copyright The Mbed TLS Contributors
21 * Licensed under the Apache License, Version 2.0 (the "License"); you may
22 * not use this file except in compliance with the License.
23 * You may obtain a copy of the License at
28 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
30 * See the License for the specific language governing permissions and
31 * limitations under the License.
46 #define MBEDTLS_ERR_ECP_BUFFER_TOO_SMALL -0x4F00 /**< The buffer is too small to …
[all …]
Decdsa.h6 * The Elliptic Curve Digital Signature Algorithm (ECDSA) is defined in
9 * The use of ECDSA for TLS is defined in <em>RFC-4492: Elliptic Curve
14 * Copyright The Mbed TLS Contributors
17 * Licensed under the Apache License, Version 2.0 (the "License"); you may
18 * not use this file except in compliance with the License.
19 * You may obtain a copy of the License at
24 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
26 * See the License for the specific language governing permissions and
27 * limitations under the License.
54 * For each of r and s, the value (V) may include an extra initial "0" bit.
[all …]
Dbignum.h7 * Copyright The Mbed TLS Contributors
10 * Licensed under the Apache License, Version 2.0 (the "License"); you may
11 * not use this file except in compliance with the License.
12 * You may obtain a copy of the License at
17 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
19 * See the License for the specific language governing permissions and
20 * limitations under the License.
37 …VALID_CHARACTER -0x0006 /**< There is an invalid character in the digit string. */
38 #define MBEDTLS_ERR_MPI_BUFFER_TOO_SMALL -0x0008 /**< The buffer is too small to …
39 #define MBEDTLS_ERR_MPI_NEGATIVE_VALUE -0x000A /**< The input arguments are neg…
[all …]
/mcuboot-latest/
DLICENSE9 "License" shall mean the terms and conditions for use, reproduction,
12 "Licensor" shall mean the copyright owner or entity authorized by
13 the copyright owner that is granting the License.
15 "Legal Entity" shall mean the union of the acting entity and all
17 control with that entity. For the purposes of this definition,
18 "control" means (i) the power, direct or indirect, to cause the
20 otherwise, or (ii) ownership of fifty percent (50%) or more of the
26 "Source" form shall mean the preferred form for making modifications,
35 "Work" shall mean the work of authorship, whether in Source or
36 Object form, made available under the License, as indicated by a
[all …]
/mcuboot-latest/boot/zephyr/
DKconfig37 # When building for ECDSA, we use our own copy of mbedTLS, so the
38 # Zephyr one must not be enabled or the MBEDTLS_CONFIG_FILE macros
48 # When building for ECDSA, we use our own copy of mbedTLS, so the
49 # Zephyr one must not be enabled or the MBEDTLS_CONFIG_FILE macros
73 uploading a new application overwrites the one that previously
74 occupied the area.
198 In case relative path is used, the build system assumes that it starts
199 from the directory where the MCUBoot KConfig configuration file is
200 located. If the key file is not there, the build system uses relative
201 path that starts from the MCUBoot repository root directory.
[all …]
/mcuboot-latest/boot/zcbor/include/
Dzcbor_common.h2 * This file has been copied from the zcbor library.
32 /** The version string with dots and not prefix. */
37 /** Monotonically increasing integer representing the version. */
42 /** Convenience type that allows pointing to strings directly inside the payload
43 * without the need to copy out.
56 struct zcbor_string fragment; ///! Location and length of the fragment.
57 size_t offset; ///! The offset in the full string at which this fragment belongs.
58 size_t total_len; ///! The total length of the string this fragment is a part of.
62 /** Size to use in struct zcbor_string_fragment when the real size is unknown. */
85 /** The ZCBOR_SUPPORTS_SIZE_T will be defined if processing of size_t type variables directly
[all …]
Dzcbor_decode.h2 * This file has been copied from the zcbor library.
24 /** The zcbor_decode library provides functions for decoding CBOR data elements.
26 * See The README for an introduction to CBOR, including the meaning of pint,
38 * This gives you a state variable named @p name. The variable functions like
41 * @param[in] name The name of the new state variable.
42 * @param[in] num_backups The number of backup slots to keep in the state.
43 * @param[in] payload The payload to work on.
44 * @param[in] payload_size The size (in bytes) of @p payload.
45 * @param[in] elem_count The starting elem_count (typically 1).
47 * The total number of unordered map search flags needed.
[all …]
/mcuboot-latest/boot/boot_serial/
Dsyscfg.yml1 # Licensed to the Apache Software Foundation (ASF) under one
2 # or more contributor license agreements. See the NOTICE file
4 # regarding copyright ownership. The ASF licenses this file
5 # to you under the Apache License, Version 2.0 (the
7 # with the License. You may obtain a copy of the License at
12 # software distributed under the License is distributed on an
14 # KIND, either express or implied. See the License for the
16 # under the License.
22 Start the serial boot loader if this pin is asserted at boot time.
31 GPIO configuration for the serial boot loader detect pin.
[all …]
/mcuboot-latest/boot/espressif/include/crypto_config/
Dmbedtls_custom_config.h7 * or disable features selectively, and reduce the global
11 * Copyright The Mbed TLS Contributors
14 * Licensed under the Apache License, Version 2.0 (the "License"); you may
15 * not use this file except in compliance with the License.
16 * You may obtain a copy of the License at
21 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
23 * See the License for the specific language governing permissions and
24 * limitations under the License.
33 * It is equal to the #MBEDTLS_VERSION_NUMBER of the Mbed TLS version that
34 * introduced the config format we want to be compatible with.
[all …]
/mcuboot-latest/ext/tinycrypt/documentation/
Dtinycrypt.rst8 The TinyCrypt Library provides an implementation for targeting constrained devices
11 from the standard specifications (see the Important Remarks section for some
13 primitives, as mentioned in the list below.
15 Aside from the Important Remarks section below, valuable information on the usage,
16 security and technicalities of each cryptographic primitive are found in the
88 * Minimize the code size of each cryptographic primitive. This means minimize
89 the size of a platform-independent implementation, as presented in TinyCrypt.
92 peculiarities would increase the code size and thus are not considered here.
94 * Minimize the dependencies among the cryptographic primitives. This means
96 than the ones strictly required by the intended application. In other words,
[all …]
/mcuboot-latest/boot/cypress/MCUBootApp/config/
Dmcuboot_crypto_config.h7 * or disable features selectively, and reduce the global
14 * Licensed under the Apache License, Version 2.0 (the "License"); you may
15 * not use this file except in compliance with the License.
16 * You may obtain a copy of the License at
21 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
23 * See the License for the specific language governing permissions and
24 * limitations under the License.
46 * The compiler has support for asm().
59 * Comment to disable the use of assembly code.
66 * The platform lacks support for double-width integer division (64-bit
[all …]
/mcuboot-latest/ext/tinycrypt/lib/include/tinycrypt/
Dcbc_mode.h7 * modification, are permitted provided that the following conditions are met:
9 * - Redistributions of source code must retain the above copyright notice,
10 * this list of conditions and the following disclaimer.
12 * - Redistributions in binary form must reproduce the above copyright
13 * notice, this list of conditions and the following disclaimer in the
14 * documentation and/or other materials provided with the distribution.
16 * - Neither the name of Intel Corporation nor the names of its contributors
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
23 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
[all …]

12345678910>>...22