Home
last modified time | relevance | path

Searched refs:output (Results 1 – 25 of 27) sorted by relevance

12

/mcuboot-latest/scripts/tests/
Dtest_commands.py52 assert result_short.output == result_long.output
57 assert result_empty.output == result_short.output
66 assert result.output == imgtool_version + "\n"
70 assert result_help.output != result.output
92 assert result_short.output == result_long.output
106 assert result_cmd1.output != result_general.output
112 assert result_cmd1.output != result_cmd2.output
/mcuboot-latest/boot/bootutil/include/bootutil/crypto/
Dsha.h116 uint8_t *output) in bootutil_sha_finish() argument
121 return (int)psa_hash_finish(ctx, output, PSA_HASH_LENGTH(PSA_ALG_SHA_512), &hash_length); in bootutil_sha_finish()
123 return (int)psa_hash_finish(ctx, output, PSA_HASH_LENGTH(PSA_ALG_SHA_384), &hash_length); in bootutil_sha_finish()
125 return (int)psa_hash_finish(ctx, output, PSA_HASH_LENGTH(PSA_ALG_SHA_256), &hash_length); in bootutil_sha_finish()
179 uint8_t *output)
184 ret = mbedtls_sha512_finish_ret(ctx, output);
186 ret = mbedtls_sha256_finish_ret(ctx, output);
217 uint8_t *output) in bootutil_sha_finish() argument
219 return tc_sha256_final(output, ctx); in bootutil_sha_finish()
246 uint8_t *output) in bootutil_sha_finish() argument
[all …]
Drsa.h89 uint8_t *output, in bootutil_rsa_oaep_decrypt() argument
109 output, output_max_len, olen); in bootutil_rsa_oaep_decrypt()
196 static int fake_rng(void *p_rng, unsigned char *output, size_t len);
204 uint8_t *output,
210 NULL, 0, olen, input, output, output_max_len);
213 NULL, 0, olen, input, output, output_max_len);
344 …ic inline int bootutil_rsa_public(bootutil_rsa_context *ctx, const uint8_t *input, uint8_t *output)
346 return mbedtls_rsa_public(ctx, input, output);
Decdh_p256.h74 static int fake_rng(void *p_rng, unsigned char *output, size_t len);
/mcuboot-latest/ptest/src/
Dmain.rs132 output: Vec<u8>, field
154 fn done(&mut self, fs: &FeatureSet, output: Result<TestResult>) { in done()
158 match output { in done()
159 Ok(output) => { in done()
160 if !output.success || log_all() { in done()
164 let base = if output.success { "success" } else { "failure" }; in done()
180 fd.write_all(&output.output).unwrap(); in done()
181 if !output.success { in done()
303 let mut output = vec![]; in run() localVariable
310 .output()?; in run()
[all …]
/mcuboot-latest/scripts/
Dassemble.py46 def __init__(self, output, bootdir, edt): argument
49 os.unlink(output)
53 self.output = output
84 with open(self.output, 'ab') as ofd:
140 output = Assembly(args.output, args.bootdir, edt)
142 output.add_image(os.path.join(args.bootdir, 'zephyr', 'zephyr.bin'), 'mcuboot')
143 output.add_image(args.primary, "image-0")
145 output.add_image(args.secondary, "image-1")
/mcuboot-latest/ext/tinycrypt/tests/
Dtest_ctr_prng.c270 uint8_t * output = (uint8_t *)malloc(expectedlen); in executePRNG_TestVector() local
292 (void)tc_ctr_prng_generate(&ctx, additional_input1, additionallen1, output, expectedlen); in executePRNG_TestVector()
293 (void)tc_ctr_prng_generate(&ctx, additional_input2, additionallen2, output, expectedlen); in executePRNG_TestVector()
296 if (output[i] != expected[i]) { in executePRNG_TestVector()
308 free(output); in executePRNG_TestVector()
318 uint8_t output[32]; in test_reseed() local
328 ret = tc_ctr_prng_generate(&ctx, 0, 0, output, sizeof output); in test_reseed()
335 ret = tc_ctr_prng_generate(&ctx, 0, 0, output, sizeof output); in test_reseed()
350 ret = tc_ctr_prng_generate(&ctx, 0, 0, output, sizeof output); in test_reseed()
448 uint8_t output[32]; in test_robustness() local
[all …]
/mcuboot-latest/ext/mbedtls-asn1/include/mbedtls/
Dmd.h288 int mbedtls_md_finish( mbedtls_md_context_t *ctx, unsigned char *output );
309 unsigned char *output );
330 unsigned char *output );
394 int mbedtls_md_hmac_finish( mbedtls_md_context_t *ctx, unsigned char *output);
437 unsigned char *output );
Drsa.h527 unsigned char *output );
562 unsigned char *output );
592 unsigned char *output );
619 unsigned char *output );
654 unsigned char *output );
692 unsigned char *output,
729 unsigned char *output,
771 unsigned char *output,
Dpk.h231 const unsigned char *input, unsigned char *output,
574 unsigned char *output, size_t *olen, size_t osize,
597 unsigned char *output, size_t *olen, size_t osize,
/mcuboot-latest/ext/nrf/
Dcc310_glue.h70 uint8_t *output) in cc310_sha256_finalize() argument
73 (nrf_cc310_bl_hash_digest_sha256_t *)output); in cc310_sha256_finalize()
/mcuboot-latest/docs/release-notes.d/
Dfix-ram-load-zephyr-address.md1 - Fixed chain load address output log message for RAM load
Dcompatible-slots.md5 - Added debug logs for zephyr to output discrepencies in erase
/mcuboot-latest/scripts/imgtool/
Dmain.py148 def getpub(key, encoding, lang, output): argument
158 if not output:
159 output = sys.stdout
163 key.emit_c_public(file=output)
165 key.emit_rust_public(file=output)
167 key.emit_public_pem(file=output)
169 key.emit_raw_public(file=output)
185 def getpubhash(key, output, encoding): argument
190 if not output:
191 output = sys.stdout
[all …]
/mcuboot-latest/boot/bootutil/src/
Dbootutil_priv.h467 #define LOAD_IMAGE_DATA(hdr, fap, start, output, size) \ argument
468 (memcpy((output),(void*)(IMAGE_RAM_BASE + (hdr)->ih_load_addr + (start)), \
473 #define LOAD_IMAGE_DATA(hdr, fap, start, output, size) \ argument
474 (flash_area_read((fap), (start), (output), (size)))
Dencrypted.c411 static int fake_rng(void *p_rng, unsigned char *output, size_t len) in fake_rng() argument
417 output[i] = (char)i; in fake_rng()
/mcuboot-latest/boot/cypress/BlinkyApp/
DReadme.md137 - `MAKEINFO` - 0 (default) - less build info, 1 - verbose output of compilation.
138 - `HEADER_OFFSET` - 0 (default) - no offset of output hex file, 0x%VALUE% - offset for output hex f…
144 ### Example terminal output
/mcuboot-latest/sim/mcuboot-sys/csupport/
Drun.c117 fake_rng(void *p_rng, unsigned char *output, size_t len) in fake_rng() argument
123 output[i] = (char)i; in fake_rng()
/mcuboot-latest/boot/cypress/platforms/PSOC_062_2M/CM0P/GCC_ARM/
Dcy8c6xxa_cm0plus.ld8 * input files should be mapped into the output file, and to control the memory
9 * layout of the output file.
46 /* Force symbol to be entered in the output file as an undefined symbol. Doing
/mcuboot-latest/boot/cypress/BlinkyApp/linker/
DBlinkyApp_template.ld8 * input files should be mapped into the output file, and to control the memory
9 * layout of the output file.
50 /* Force symbol to be entered in the output file as an undefined symbol. Doing
/mcuboot-latest/boot/cypress/MCUBootApp/
DMCUBootApp.ld8 * input files should be mapped into the output file, and to control the memory
9 * layout of the output file.
46 /* Force symbol to be entered in the output file as an undefined symbol. Doing
/mcuboot-latest/boot/cypress/platforms/PSOC_062_2M/CM4/GCC_ARM/
Dcy8c6xxa_cm4_dual.ld8 * input files should be mapped into the output file, and to control the memory
9 * layout of the output file.
49 /* Force symbol to be entered in the output file as an undefined symbol. Doing
/mcuboot-latest/ext/tinycrypt/documentation/
Dtinycrypt.rst146 PRNGs only stretch the seed into a seemingly random output of arbitrary
147 length. The security of the output is exactly equal to the
171 PRNGs only stretch the seed into a seemingly random output of arbitrary
172 length. The security of the output is exactly equal to the
/mcuboot-latest/docs/
Dimgtool.md45 output it as a C data structure. You can replace or insert this code
94 -x, --hex-addr INTEGER Adjust address in hex output file.
Drelease-notes.md94 - imgtool's getpub can print the output to a file
98 output was sent, this would lead to a divergence of commands
100 output sent instead.
413 - imgtool: saves in intel-hex format when output filename has `.hex`

12