/mcuboot-3.4.0/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-3.4.0/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-3.4.0/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 | release-notes.md | 336 options. As expected of the 1.x.x release cycle, no breaking changes
|
/mcuboot-3.4.0/boot/zephyr/ |
D | Kconfig | 143 with the public key information will be written in a format expected by 350 with the public key information will be written in a format expected by 388 control flow integrity check to discover discrepancy in expected code 395 control flow integrity check to discover discrepancy in expected code 403 control flow integrity check to discover discrepancy in expected code
|
/mcuboot-3.4.0/sim/src/ |
D | image.rs | 1967 let expected = [erased_val; 16]; in verify_trailer() localVariable 1968 if copy[magic_off..] != expected { in verify_trailer()
|