• Home
  • Raw
  • Download

Lines Matching refs:data_t

9                             const data_t *iv,
10 const data_t *add,
11 const data_t *input,
12 const data_t *expected_output,
13 const data_t *tag,
179 void mbedtls_ccm_encrypt_and_tag( int cipher_id, data_t * key,
180 data_t * msg, data_t * iv,
181 data_t * add, data_t * result )
207 /* Prepare data_t structures for multipart testing */
208 const data_t encrypted_expected = { .x = result->x,
210 …const data_t tag_expected = { .x = (uint8_t*) expected_tag, /* cast to conform with data_t x type …
235 void mbedtls_ccm_star_no_tag( int cipher_id, int mode, data_t * key,
236 data_t * msg, data_t * iv, data_t * result )
260 void mbedtls_ccm_auth_decrypt( int cipher_id, data_t * key,
261 data_t * msg, data_t * iv,
262 data_t * add, int expected_tag_len, int result,
263 data_t * expected_msg )
287 /* Prepare data_t structures for multipart testing */
288 const data_t encrypted = { .x = msg->x,
291 const data_t tag_expected = { .x = (uint8_t*) expected_tag,
324 data_t *key, data_t *msg,
325 data_t *source_address, data_t *frame_counter,
326 int sec_level, data_t *add,
327 data_t *expected_result, int output_ret )
376 const data_t iv_data = { .x = iv,
379 const data_t encrypted_expected = { .x = expected_result->x,
381 const data_t tag_expected = { .x = (uint8_t*)expected_tag,
408 data_t *key, data_t *msg,
409 data_t *source_address, data_t *frame_counter,
410 int sec_level, data_t *add,
411 data_t *expected_result, int output_ret )
453 const data_t iv_data = { .x = iv,
456 const data_t encrypted = { .x = msg->x,
459 const data_t tag_expected = { .x = (uint8_t*) expected_tag,
486 data_t * key, data_t * msg, data_t * iv,
487 data_t * result, data_t * tag )
524 data_t * key, data_t * iv, data_t* add,
525 data_t * tag )
552 data_t * key, data_t * iv,
553 data_t * add )
573 data_t * key, data_t * iv,
574 data_t * add )
593 data_t * key, data_t * msg, data_t * iv,
594 data_t * add )
620 data_t * key, data_t * iv, data_t* add )
646 data_t * key, data_t * iv,
647 data_t * add )
670 data_t * key, data_t * iv,
671 data_t * add )
697 data_t * key, data_t * msg, data_t * iv,
698 data_t * add )
725 data_t * key, data_t * msg, data_t * iv,
726 data_t * add )
759 data_t * key, data_t * msg, data_t * iv,
760 data_t * add )
790 data_t * key, data_t * msg, data_t * iv,
791 data_t * add )
824 data_t * key, data_t * iv )