Home
last modified time | relevance | path

Searched refs:v (Results 1 – 16 of 16) sorted by relevance

/mcuboot-latest/ext/tinycrypt/lib/source/
Dhmac_prng.c85 (void)tc_hmac_update(&prng->h, prng->v, sizeof(prng->v)); in update()
94 (void)tc_hmac_update(&prng->h, prng->v, sizeof(prng->v)); in update()
95 (void)tc_hmac_final(prng->v, sizeof(prng->v), &prng->h); in update()
99 (void)tc_hmac_update(&prng->h, prng->v, sizeof(prng->v)); in update()
108 (void)tc_hmac_update(&prng->h, prng->v, sizeof(prng->v)); in update()
109 (void)tc_hmac_final(prng->v, sizeof(prng->v), &prng->h); in update()
126 _set(prng->v, 0x01, sizeof(prng->v)); in tc_hmac_prng_init()
196 (void)tc_hmac_update(&prng->h, prng->v, sizeof(prng->v)); in tc_hmac_prng_generate()
197 (void)tc_hmac_final(prng->v, sizeof(prng->v), &prng->h); in tc_hmac_prng_generate()
201 (void)_copy(out, bufferlen, prng->v, bufferlen); in tc_hmac_prng_generate()
[all …]
Decc.c325 uECC_word_t *v[2] = {tmp, product}; in uECC_vli_mmod() local
348 uECC_word_t diff = v[index][i] - mod_multiple[i] - borrow; in uECC_vli_mmod()
349 if (diff != v[index][i]) { in uECC_vli_mmod()
350 borrow = (diff > v[index][i]); in uECC_vli_mmod()
352 v[1 - index][i] = diff; in uECC_vli_mmod()
361 uECC_vli_set(result, v[index], num_words); in uECC_vli_mmod()
412 uECC_word_t u[NUM_ECC_WORDS], v[NUM_ECC_WORDS]; in uECC_vli_modInv() local
424 uECC_vli_clear(v, num_words); in uECC_vli_modInv()
431 vli_modInv_update(v, mod, num_words); in uECC_vli_modInv()
435 if (uECC_vli_cmp_unsafe(u, v, num_words) < 0) { in uECC_vli_modInv()
[all …]
/mcuboot-latest/ext/fiat/src/
Dcurve25519.c122 fiat_25519_from_bytes(h->v, s); in fe_frombytes_strict()
123 assert_fe(h->v); in fe_frombytes_strict()
134 assert_fe(f->v); in fe_tobytes()
135 fiat_25519_to_bytes(s, f->v); in fe_tobytes()
154 h->v[0] = 1; in fe_1()
160 assert_fe(f->v); in fe_add()
161 assert_fe(g->v); in fe_add()
162 fiat_25519_add(h->v, f->v, g->v); in fe_add()
163 assert_fe_loose(h->v); in fe_add()
169 assert_fe(f->v); in fe_sub()
[all …]
Dcurve25519.h26 typedef struct fe { uint32_t v[10]; } fe; member
30 typedef struct fe_loose { uint32_t v[10]; } fe_loose; member
/mcuboot-latest/ptest/src/
Dmain.rs305 for v in &self.values { in run()
309 .env(&self.env, v) in run()
336 for v in &self.values { in textual()
337 write!(&mut buf, " {}", v).unwrap(); in textual()
348 for v in &self.values { in simple_textual()
349 write!(&mut buf, " {}", v).unwrap(); in simple_textual()
/mcuboot-latest/ext/tinycrypt/lib/include/tinycrypt/
Dhmac_prng.h86 uint8_t v[TC_SHA256_DIGEST_SIZE]; member
/mcuboot-latest/docs/
Dreadme-espressif.md166 imgtool.py sign --align 4 -v 0 -H 32 --pad-header -S <SLOT_SIZE> <BIN_IN> <SIGNED_BIN>
207 Version number is added to the image when signing it with `imgtool` (`-v` parameter, e.g.
208 `-v 1.0.0`).
290 imgtool.py sign -k <YOUR_SIGNING_KEY.pem> --pad --pad-sig --align 4 -v 0 -H 32 --pad-header -S 0x00…
529 imgtool.py sign -k <YOUR_SIGNING_KEY.pem> --pad --pad-sig --align 32 --max-align 32 -v 0 -H 32 --pa…
741 imgtool.py sign --align 4 -v <VERSION> -d "(<IMAGE_INDEX>, <VERSION_DEPENDENCY>)" -H 32 --pad-heade…
752 imgtool.py sign --align 4 -v 1.0.0 -d "(1, 0.0.1+0)" -H 32 --pad-header -S 0x100000 image0.bin imag…
895 * | v |
902 * | v |
906 * | v |
[all …]
Dimgtool.md65 -v, --version TEXT [required]
/mcuboot-latest/sim/src/
Dtlv.rs490 if self.kinds.iter().any(|v| v == &TlvKinds::SHA256 || v == &TlvKinds::SHA384) { in make_tlv()
646 Ok(v) => v, in make_tlv()
670 Ok(v) => v, in make_tlv()
695 Ok(v) => v, in make_tlv()
738 Ok(v) => v, in make_tlv()
Dimage.rs283 Some(v) => v, in make_image()
417 maximal(41928), &ram, &dep, ImageManipulation::None, security_cnt.map(|v| v + 1)); in make_image_with_security_counter()
2080 Some(v) => { in verify_trailer()
2082 if v == 1 && &copy[magic_off..] != MAGIC { in verify_trailer()
2085 } else if v == 3 { in verify_trailer()
2101 Some(v) => { in verify_trailer()
2103 if (v == 1 && copy[image_ok_off] != v) || (v == 3 && copy[image_ok_off] != erased_val) { in verify_trailer()
2104 … warn!("\"image_ok\" mismatch at {:#x} v={} val={:#x}", offset, v, copy[image_ok_off]); in verify_trailer()
2114 Some(v) => { in verify_trailer()
2116 … if (v == 1 && copy[copy_done_off] != v) || (v == 3 && copy[copy_done_off] != erased_val) { in verify_trailer()
[all …]
/mcuboot-latest/ext/fiat/
DREADME.md14 `src/Specific/solinas32_2e255m19_10limbs/CurveParameters.v`, specifying roughly
30 `src/Specific/montgomery64_2e256m2e224p2e192p2e96m1_4limbs/CurveParameters.v`,
/mcuboot-latest/ci/fih_test_docker/
Ddamage_image.py26 tlvs = {v: f"IMAGE_TLV_{k}" for k, v in TLV_VALUES.items()}
/mcuboot-latest/sim/mcuboot-sys/
Dbuild.rs89 .fold(0, |sum, &v| sum + v as i32) > 1 { in main()
/mcuboot-latest/
DREADME.md3 [![Package on PyPI](https://img.shields.io/pypi/v/imgtool.svg)][pypi]
/mcuboot-latest/scripts/imgtool/
Dimage.py403 if any(v != 0 for v in self.payload[0:self.header_size]):
/mcuboot-latest/boot/bootutil/src/
Dloader.c1270 volatile unsigned char *v = (unsigned char *)p; local
1273 v[i] = 0;