Searched refs:nonce (Results 1 – 7 of 7) sorted by relevance
/net-tools-3.6.0/tinydtls-0.8.2/ |
D | ccm.c | 54 unsigned char nonce[DTLS_CCM_BLOCKSIZE], in block0() 61 memcpy(result + 1, nonce, DTLS_CCM_BLOCKSIZE - L); in block0() 177 unsigned char nonce[DTLS_CCM_BLOCKSIZE], in dtls_ccm_encrypt_message() 191 block0(M, L, la, lm, nonce, B); in dtls_ccm_encrypt_message() 198 memcpy(A + 1, nonce, DTLS_CCM_BLOCKSIZE - L); in dtls_ccm_encrypt_message() 241 unsigned char nonce[DTLS_CCM_BLOCKSIZE], in dtls_ccm_decrypt_message() 261 block0(M, L, la, lm, nonce, B); in dtls_ccm_decrypt_message() 268 memcpy(A + 1, nonce, DTLS_CCM_BLOCKSIZE - L); in dtls_ccm_decrypt_message()
|
D | ccm.h | 59 unsigned char nonce[DTLS_CCM_BLOCKSIZE], 65 unsigned char nonce[DTLS_CCM_BLOCKSIZE],
|
D | dtls.c | 1218 unsigned char nonce[DTLS_CCM_BLOCKSIZE]; in dtls_prepare_record() local 1285 memset(nonce, 0, DTLS_CCM_BLOCKSIZE); in dtls_prepare_record() 1286 memcpy(nonce, dtls_kb_local_iv(security, peer->role), in dtls_prepare_record() 1288 memcpy(nonce + dtls_kb_iv_size(security, peer->role), start, 8); /* epoch + seq_num */ in dtls_prepare_record() 1290 dtls_debug_dump("nonce:", nonce, DTLS_CCM_BLOCKSIZE); in dtls_prepare_record() 1303 res = dtls_encrypt(start + 8, res - 8, start + 8, nonce, in dtls_prepare_record() 2901 unsigned char nonce[DTLS_CCM_BLOCKSIZE]; in decrypt_verify() local 2907 memset(nonce, 0, DTLS_CCM_BLOCKSIZE); in decrypt_verify() 2908 memcpy(nonce, dtls_kb_remote_iv(security, peer->role), in decrypt_verify() 2912 memcpy(nonce + dtls_kb_iv_size(security, peer->role), *cleartext, 8); in decrypt_verify() [all …]
|
/net-tools-3.6.0/tinydtls-0.8.2/tests/ |
D | ccm-test.c | 66 len = dtls_ccm_encrypt_message(&ctx, data[n].M, data[n].L, data[n].nonce, 81 len = dtls_ccm_decrypt_message(&ctx, data[n].M, data[n].L, data[n].nonce,
|
D | ccm-testdata.c | 33 unsigned char nonce[DTLS_CCM_BLOCKSIZE]; member
|
/net-tools-3.6.0/mbedtls-2.4.0/yotta/data/example-authcrypt/ |
D | README.md | 68 … the ciphertext line will vary on each run because of the use of a random nonce in the encryption …
|
/net-tools-3.6.0/mbedtls-2.4.0/tests/suites/ |
D | test_suite_ccm.data | 23 CCM lengths #2 nonce too short 26 CCM lengths #3 nonce too long
|