Searched refs:msg (Results 1 – 7 of 7) sorted by relevance
/mcuboot-latest/ext/tinycrypt/tests/ |
D | test_cmac_mode.c | 151 const uint8_t msg[BUF_LEN] = { in verify_cmac_1_block_msg() local 162 (void) tc_cmac_update(s, msg, sizeof(msg)); in verify_cmac_1_block_msg() 167 show("aes_cmac failed with 1 block msg =", msg, sizeof(msg)); in verify_cmac_1_block_msg() 183 const uint8_t msg[40] = { in verify_cmac_320_bit_msg() local 197 (void) tc_cmac_update(s, msg, sizeof(msg)); in verify_cmac_320_bit_msg() 202 show("aes_cmac failed with 320 bit msg =", msg, sizeof(msg)); in verify_cmac_320_bit_msg() 218 const uint8_t msg[64] = { in verify_cmac_512_bit_msg() local 235 (void)tc_cmac_update(s, msg, sizeof(msg)); in verify_cmac_512_bit_msg() 240 show("aes_cmac failed with 512 bit msg =", msg, sizeof(msg)); in verify_cmac_512_bit_msg()
|
D | test_ecc_dsa.c | 94 uint8_t msg[BUF_SIZE]; in sign_vectors() local 110 msglen = hex2bin(msg, BUF_SIZE, msg_vec[i], strlen(msg_vec[i])); in sign_vectors() 119 tc_sha256_update(hash, msg, msglen); in sign_vectors() 360 uint8_t msg[BUF_SIZE]; in vrfy_vectors() local 377 msglen = hex2bin(msg, BUF_SIZE, msg_vec[i], strlen(msg_vec[i])); in vrfy_vectors() 386 tc_sha256_update(hash, msg, msglen); in vrfy_vectors()
|
/mcuboot-latest/scripts/imgtool/ |
D | version.py | 47 msg = "Invalid version number, should be maj.min.rev+build with later " 48 msg += "parts optional" 49 raise ValueError(msg)
|
D | image.py | 138 msg = "Invalid custom TLV type value '0x{:04x}', allowed " \ 141 raise click.UsageError(msg) 414 msg = "Image size (0x{:x}) + trailer (0x{:x}) exceeds " \ 417 raise click.UsageError(msg) 482 msg = "'{}' is too long ({} characters) for sw_type. Its " \ 485 raise click.UsageError(msg)
|
/mcuboot-latest/scripts/imgtool/keys/ |
D | __init__.py | 59 msg = str(e) 60 if "private key is encrypted" in msg:
|
/mcuboot-latest/sim/src/ |
D | lib.rs | 191 Err(msg) => { in run_single() 192 warn!("Skipping {}: {}", device, msg); in run_single()
|
D | image.rs | 215 Err(msg) => warn!("Skipping {}: {}", dev, msg), in each_device()
|