Home
last modified time | relevance | path

Searched refs:ctr (Results 1 – 6 of 6) sorted by relevance

/mcuboot-latest/ext/tinycrypt/lib/source/
Dctr_mode.c38 unsigned int inlen, uint8_t *ctr, uint32_t *blk_off, in tc_ctr_mode() argument
51 ctr == (uint8_t *) 0 || in tc_ctr_mode()
61 (void)_copy(nonce, sizeof(nonce), ctr, sizeof(nonce)); in tc_ctr_mode()
87 ctr[12] = nonce[12]; ctr[13] = nonce[13]; in tc_ctr_mode()
88 ctr[14] = nonce[14]; ctr[15] = nonce[15]; in tc_ctr_mode()
Dccm_mode.c94 unsigned int inlen, uint8_t *ctr, const TCAesKeySched_t sched) in ccm_ctr_mode() argument
105 ctr == (uint8_t *) 0 || in ccm_ctr_mode()
114 (void) _copy(nonce, sizeof(nonce), ctr, sizeof(nonce)); in ccm_ctr_mode()
132 ctr[14] = nonce[14]; ctr[15] = nonce[15]; in ccm_ctr_mode()
/mcuboot-latest/ext/tinycrypt/tests/
Dtest_ctr_mode.c59 uint8_t ctr[16] = { in test_1_and_2() local
89 (void)memcpy(out, ctr, sizeof(ctr)); in test_1_and_2()
91 sizeof(plaintext), ctr, &off, &sched) == 0) { in test_1_and_2()
106 (void) memcpy(ctr, out, sizeof(ctr)); in test_1_and_2()
109 sizeof(decrypted), ctr, &off, &sched) == 0) { in test_1_and_2()
/mcuboot-latest/ext/tinycrypt/lib/include/tinycrypt/
Dctr_mode.h103 unsigned int inlen, uint8_t *ctr, uint32_t *blk_off,
/mcuboot-latest/sim/
DCargo.toml52 aes = { version = "0.7.4", features = ["ctr"] }
/mcuboot-latest/
DCargo.lock14 "ctr",
110 name = "ctr"