Home
last modified time | relevance | path

Searched full:type (Results 1 – 25 of 114) sorted by relevance

12345

/mcuboot-3.5.0/boot/bootutil/src/
Dtlv.c32 * @param type Type of TLV to look for
40 const struct flash_area *fap, uint16_t type, bool prot) in bootutil_tlv_iter_begin() argument
73 it->type = type; in bootutil_tlv_iter_begin()
88 * @param type If not NULL returns the type of TLV found
90 * @returns 0 if a TLV with with matching type was found
91 * 1 if no more TLVs with matching type are available
96 uint16_t *type) in bootutil_tlv_iter_next() argument
120 if (it->type == IMAGE_TLV_ANY || tlv.it_type == it->type) { in bootutil_tlv_iter_next()
121 if (type != NULL) { in bootutil_tlv_iter_next()
122 *type = tlv.it_type; in bootutil_tlv_iter_next()
Dimage_validate.c168 * Currently, we only support being able to verify one type of
170 * call. List the type of TLV we are expecting. If we aren't
177 #error "Only a single signature type is supported!"
343 uint16_t type; in bootutil_img_validate() local
389 rc = bootutil_tlv_iter_next(&it, &off, &len, &type); in bootutil_img_validate()
396 if (type == EXPECTED_HASH_TLV) { in bootutil_img_validate()
416 } else if (type == IMAGE_TLV_KEYHASH) { in bootutil_img_validate()
434 } else if (type == IMAGE_TLV_PUBKEY) { in bootutil_img_validate()
452 } else if (type == EXPECTED_SIG_TLV) { in bootutil_img_validate()
471 } else if (type == IMAGE_TLV_SEC_CNT) { in bootutil_img_validate()
Dboot_record.c130 uint16_t type; in boot_save_boot_status() local
152 rc = bootutil_tlv_iter_next(&it, &offset, &len, &type); in boot_save_boot_status()
159 if (type == IMAGE_TLV_BOOT_RECORD) { in boot_save_boot_status()
171 } else if (type == EXPECTED_HASH_TLV) { in boot_save_boot_status()
/mcuboot-3.5.0/boot/boot_serial/src/
Dzcbor_bulk.h32 * The macro creates a single zcbor_map_decode_key_val type object.
36 * type function from zcbor or a user provided implementation
37 * compatible with the type.
39 * to type served by decoder function for the mapping.
57 * The macro creates a single zcbor_map_decode_key_val type object.
62 * type function from zcbor or a user provided implementation
63 * compatible with the type.
65 * to type served by decoder function for the mapping.
83 * a given key will place a decoded value - they have to agree in type
/mcuboot-3.5.0/ext/mbedtls-asn1/include/mbedtls/
Dpk.h53 #define MBEDTLS_ERR_PK_TYPE_MISMATCH -0x3F00 /**< Type mismatch, eg attempt to encrypt with …
164 mbedtls_pk_debug_type MBEDTLS_PRIVATE(type);
241 * \brief Return information associated with the given PK type
243 * \param pk_type PK type to search for.
245 * \return The PK info associated with the type or NULL if not found.
290 * and allocates the type-specific PK subcontext.
293 * up yet (type #MBEDTLS_PK_NONE).
313 * \param ctx The context to initialize. It must be empty (type NONE).
343 * up yet (type #MBEDTLS_PK_NONE).
382 * \brief Tell if a context can do the operation given by type
[all …]
Dmd.h126 * associated with the given digest type.
128 * \param md_type The type of digest to search for.
189 * \note The two contexts must have the same type,
216 * \brief This function extracts the message-digest type from the
222 * \return The type of the message digest.
/mcuboot-3.5.0/scripts/imgtool/
Dmain.py113 @click.option('-t', '--type', metavar='type', required=True,
114 type=click.Choice(keygens.keys()), prompt=True,
118 def keygen(type, key, password): argument
120 keygens[type](key, password)
124 type=click.Choice(valid_langs),
129 type=click.Choice(valid_encodings),
163 type=click.Choice(valid_hash_encodings),
197 type=click.Choice(valid_formats),
321 @click.option('-R', '--erased-val', type=click.Choice(['0', '0xff']),
324 @click.option('-x', '--hex-addr', type=BasedIntParamType(), required=False,
[all …]
Dboot_record.py30 TYPE = 1 variable in SwComponent
42 SwComponent.TYPE: sw_type,
/mcuboot-3.5.0/ext/tinycrypt/documentation/
Dtinycrypt.rst21 * Type of primitive: Hash function.
27 * Type of primitive: Message authentication code.
33 * Type of primitive: Pseudo-random number generator (256-bit strength).
39 * Type of primitive: Block cipher.
45 * Type of primitive: Encryption mode of operation.
51 * Type of primitive: Encryption mode of operation.
57 * Type of primitive: Message authentication code.
63 * Type of primitive: Authenticated encryption.
69 * Type of primitive: Pseudo-random number generator (128-bit strength).
75 * Type of primitive: Key exchange based on curve NIST p-256.
[all …]
/mcuboot-3.5.0/boot/bootutil/include/bootutil/
Dbench.h27 * `bench_state_t` type that holds the information needed for the
35 * These are simple barrier-type benchmarks. If a platform has
53 /* The type needs to take space. As long as it remains unused, the C
Dboot_record.h42 * @param[in] major_type TLV major type, identify consumer
43 * @param[in] minor_type TLV minor type, identify TLV type
Dbootutil_public.h126 * Extract the swap type and image number from image trailers's swap_info
132 /* Construct the swap_info field from swap type and image number */
133 #define BOOT_SET_SWAP_INFO(swap_info, image, type) { \ argument
135 assert((type) < 0xF); \
137 | (type); \
Dimage.h176 uint16_t type; member
185 const struct flash_area *fap, uint16_t type,
188 uint16_t *len, uint16_t *type);
/mcuboot-3.5.0/boot/mbed/include/utils/
DDataShare.cpp58 int DataShare::get_next(uint16_t *type, mbed::Span<uint8_t> buf, uint16_t *actual_size) { in get_next() argument
70 /* Get the type and the length */ in get_next()
71 *type = *PTR_TO_UINT16((SHARED_DATA_ENTRY_BASE + working_offset)); in get_next()
DDataShare.h68 * @param[put] type Type code of the data entry
73 int get_next(uint16_t *type, mbed::Span<uint8_t> buf, uint16_t *actual_size);
/mcuboot-3.5.0/boot/zephyr/include/
Dmcuboot-mbedtls-cfg.h13 * configuration depends on the signature type, so this file just
33 #error "Cannot configure mbedTLS; signature type is unknown."
/mcuboot-3.5.0/testplan/mynewt/
Dproject.yml27 type: github
33 type: github
/mcuboot-3.5.0/boot/zcbor/include/
Dzcbor_common.h23 /** Convenience type that allows pointing to strings directly inside the payload
32 /** Type representing a string fragment.
95 /** The ZCBOR_SUPPORTS_SIZE_T will be defined if processing of size_t type variables directly
141 /** Function pointer type used with zcbor_multi_decode.
143 * This type is compatible with all decoding functions here and in the generated
151 * The major type is represented in the 3 first bits of the header byte.
162 ZCBOR_MAJOR_TYPE_PRIM = 7, ///! Primitive Type
/mcuboot-3.5.0/docs/
Dreadme-riot.md30 version information, and trailer type-length-value records (TLVs) with
38 default key type is RSA-2048.
Ddesign.md123 Optional type-length-value records (TLVs) containing image metadata are placed
396 old image marks itself "OK" when it boots, the next boot will have swap type
403 The "swap type" is a high-level representation of the outcome of the
404 boot. Subsequent sections describe how MCUboot determines the swap type from
531 - Swap type: Stored in bits 0-3. Indicating the type of swap operation in
533 determine the type of operation to perform. This field contains one of the
609 At startup, the bootloader determines the boot swap type by inspecting the
708 `swap info` field from the active trailer and extracting the swap type from bits
786 + Mark the swap type as `None`.
796 + Set the previously determined swap type for the current image.
[all …]
/mcuboot-3.5.0/boot/cypress/platforms/PSOC_062_2M/CM0P/GCC_ARM/
Dstartup_psoc6_02_cm0plus.S138 .type Cy_OnResetUser, %function
147 .type Reset_Handler, %function
301 .type Default_Handler, %function
306 .type Cy_SysLib_FaultHandler, %function
311 .type Fault_Handler, %function
/mcuboot-3.5.0/sim/src/
Dlib.rs43 bootsim run --device TYPE [--align SIZE]
50 --device TYPE MCU to simulate
101 type Value = AlignArg;
/mcuboot-3.5.0/boot/cypress/platforms/
Dcycfg_pins.c48 .type = CYHAL_RSC_GPIO,
72 .type = CYHAL_RSC_GPIO,
/mcuboot-3.5.0/scripts/
Dmcubin.bt74 uchar type <format=hex>;
78 switch (type) {
/mcuboot-3.5.0/sim/simflash/src/
Dlib.rs8 //! This module is capable of simulating the type of NOR flash commonly used in microcontrollers.
30 pub type Result<T> = std::result::Result<T, FlashError>;
146 pub type SimMultiFlash = HashMap<u8, SimFlash>;
289 type Item = Sector;
363 // Helper checks for the result type.

12345