/mcuboot-latest/ext/tinycrypt/tests/ |
D | test_sha256.c | 58 const uint8_t expected[32] = { in test_1() local 70 result = check_result(1, expected, sizeof(expected), in test_1() 83 const uint8_t expected[32] = { in test_2() local 96 result = check_result(2, expected, sizeof(expected), in test_2() 106 const uint8_t expected[32] = { in test_3() local 119 result = check_result(3, expected, sizeof(expected), in test_3() 129 const uint8_t expected[32] = { in test_4() local 142 result = check_result(4, expected, sizeof(expected), in test_4() 153 const uint8_t expected[32] = { in test_5() local 168 result = check_result(5, expected, sizeof(expected), in test_5() [all …]
|
D | test_hmac.c | 52 size_t datalen, const uint8_t *expected, in do_hmac_test() argument 61 result = check_result(testnum, expected, expectedlen, in do_hmac_test() 82 const uint8_t expected[32] = { in test_1() local 91 result = do_hmac_test(&h, 1, data, sizeof(data),expected, in test_1() 92 sizeof(expected)); in test_1() 109 const uint8_t expected[32] = { in test_2() local 119 result = do_hmac_test(&h, 2, data, sizeof(data), expected, in test_2() 120 sizeof(expected)); in test_2() 140 const uint8_t expected[32] = { in test_3() local 150 result = do_hmac_test(&h, 3, data, sizeof(data), expected, in test_3() [all …]
|
D | test_ccm_mode.c | 73 size_t dlen, const uint8_t *expected, in do_test() argument 104 if (memcmp(expected, ciphertext, elen) != 0) { in do_test() 107 show_str("\t\tExpected", expected, elen); in do_test() 152 const uint8_t expected[EXPECTED_BUF_LEN31] = { in test_vector_1() local 164 data, sizeof(data), expected, sizeof(expected), mlen); in test_vector_1() 189 const uint8_t expected[EXPECTED_BUF_LEN32] = { in test_vector_2() local 201 data, sizeof(data), expected, sizeof(expected), mlen); in test_vector_2() 227 const uint8_t expected[EXPECTED_BUF_LEN33] = { in test_vector_3() local 240 sizeof(data), expected, sizeof(expected), mlen); in test_vector_3() 265 const uint8_t expected[EXPECTED_BUF_LEN33] = { in test_vector_4() local [all …]
|
D | test_ecc_utils.c | 185 const unsigned int *expected, in check_ecc_result() argument 190 if (memcmp(computed, expected, num_bytes)) { in check_ecc_result() 192 print_ecc_scalar("Expected", expected, num_word32); in check_ecc_result() 203 int check_code(const int num, const char *name, const int expected, in check_code() argument 207 if (expected != computed) { in check_code() 209 TC_ERROR("\n Expected: %d, computed: %d\n\n", expected, computed); in check_code() 215 expected, computed); in check_code()
|
D | test_aes.c | 74 const struct tc_aes_key_sched_struct expected = { in test_1() local 100 result = check_result(1, expected.words, sizeof(expected.words), s.words, in test_1() 122 const uint8_t expected[NUM_OF_NIST_KEYS] = { in test_2() local 139 result = check_result(2, expected, sizeof(expected), ciphertext, in test_2()
|
D | test_ctr_prng.c | 258 uint8_t * expected = hexStringToBytes(vector.expectedString); in executePRNG_TestVector() local 296 if (output[i] != expected[i]) { in executePRNG_TestVector() 304 free(expected); in executePRNG_TestVector()
|
/mcuboot-latest/boot/zcbor/include/ |
D | zcbor_decode.h | 101 bool zcbor_int32_expect(zcbor_state_t *state, int32_t expected); /* pint/nint */ 102 bool zcbor_int64_expect(zcbor_state_t *state, int64_t expected); /* pint/nint */ 103 bool zcbor_uint32_expect(zcbor_state_t *state, uint32_t expected); /* pint */ 104 bool zcbor_uint64_expect(zcbor_state_t *state, uint64_t expected); /* pint */ 105 bool zcbor_size_expect(zcbor_state_t *state, size_t expected); /* pint */ 106 bool zcbor_bstr_expect(zcbor_state_t *state, struct zcbor_string *expected); /* bstr */ 107 bool zcbor_tstr_expect(zcbor_state_t *state, struct zcbor_string *expected); /* tstr */ 108 bool zcbor_tag_expect(zcbor_state_t *state, uint32_t expected); /* CBOR tag */ 109 bool zcbor_simple_expect(zcbor_state_t *state, uint8_t expected); /* CBOR simple value */ 110 bool zcbor_bool_expect(zcbor_state_t *state, bool expected); /* boolean CBOR simple value */ [all …]
|
/mcuboot-latest/boot/zcbor/src/ |
D | zcbor_decode.c | 281 bool zcbor_int32_expect(zcbor_state_t *state, int32_t expected) argument 284 return zcbor_int64_expect(state, expected); 288 bool zcbor_int32_pexpect(zcbor_state_t *state, int32_t *expected) argument 291 return zcbor_int32_expect(state, *expected); 295 bool zcbor_int64_expect(zcbor_state_t *state, int64_t expected) argument 304 if (actual != expected) { 305 zcbor_log("%" PRIi64 " != %" PRIi64 "\r\n", actual, expected); 312 bool zcbor_int64_pexpect(zcbor_state_t *state, int64_t *expected) argument 315 return zcbor_int64_expect(state, *expected); 335 bool zcbor_uint32_expect(zcbor_state_t *state, uint32_t expected) argument [all …]
|
/mcuboot-latest/ext/tinycrypt/tests/include/ |
D | test_utils.h | 98 static inline void fatal(unsigned int testnum, const void *expected, size_t expectedlen, in fatal() argument 103 show_str("\t\tExpected", expected, expectedlen); in fatal() 108 static inline unsigned int check_result(unsigned int testnum, const void *expected, size_t expected… in check_result() argument 117 } else if (memcmp(computed, expected, computedlen) != 0) { in check_result() 118 fatal(testnum, expected, expectedlen, computed, computedlen); in check_result()
|
D | test_ecc_utils.h | 85 const unsigned int *expected, 95 int check_code(const int num, const char *name, const int expected,
|
/mcuboot-latest/docs/release-notes.d/ |
D | compatible-slots.md | 1 - Added optional write block size checking to ensure expected 3 - Added optional erase size checking to ensure expected sizes
|
/mcuboot-latest/docs/ |
D | release.md | 124 The version number used should be specified for the next expected release. 130 - a MINOR release while a MAJOR release was expected 131 - a MAJOR release while a MINOR release was expected
|
D | testplan-zephyr.md | 11 test case and expected result.
|
D | imgtool.md | 74 variant is expected to be signature done
|
D | release-notes.md | 453 options. As expected of the 1.x.x release cycle, no breaking changes
|
D | readme-espressif.md | 70 eventually code revision may differ from what is currently expected, it is recommended using
|
/mcuboot-latest/boot/zephyr/ |
D | Kconfig | 261 with the public key information will be written in a format expected by 543 with the public key information will be written in a format expected by 667 control flow integrity check to discover discrepancy in expected code 674 control flow integrity check to discover discrepancy in expected code 682 control flow integrity check to discover discrepancy in expected code
|
/mcuboot-latest/boot/espressif/ |
D | CMakeLists.txt | 110 "Unsupported HAL version ${IDF_VERSION}, expected ${EXPECTED_IDF_HAL_VERSION}. \
|
/mcuboot-latest/sim/src/ |
D | image.rs | 2133 let expected = [erased_val; 16]; in verify_trailer() localVariable 2134 if copy[magic_off..] != expected { in verify_trailer()
|