Lines Matching full:encrypted
129 uint8_t encrypted[16] __aligned(IO_ALIGNMENT_BYTES) = {0}; in ecb_mode() local
139 .out_buf_max = sizeof(encrypted), in ecb_mode()
140 .out_buf = encrypted, in ecb_mode()
144 .in_len = sizeof(encrypted), in ecb_mode()
211 uint8_t encrypted[80] __aligned(IO_ALIGNMENT_BYTES) = {0}; in cbc_mode() local
221 .out_buf_max = sizeof(encrypted), in cbc_mode()
222 .out_buf = encrypted, in cbc_mode()
226 .in_len = sizeof(encrypted), in cbc_mode()
266 /* TinyCrypt keeps IV at the start of encrypted buffer */ in cbc_mode()
267 if (cipher_cbc_op(&ini, &decrypt, encrypted)) { in cbc_mode()
300 uint8_t encrypted[64] __aligned(IO_ALIGNMENT_BYTES) = {0}; in ctr_mode() local
312 .out_buf_max = sizeof(encrypted), in ctr_mode()
313 .out_buf = encrypted, in ctr_mode()
316 .in_buf = encrypted, in ctr_mode()
317 .in_len = sizeof(encrypted), in ctr_mode()
398 uint8_t encrypted[50] __aligned(IO_ALIGNMENT_BYTES); in ccm_mode() local
412 .out_buf_max = sizeof(encrypted), in ccm_mode()
413 .out_buf = encrypted, in ccm_mode()
425 .tag = encrypted + sizeof(ccm_data), in ccm_mode()
428 .in_buf = encrypted, in ccm_mode()
510 uint8_t encrypted[60] __aligned(IO_ALIGNMENT_BYTES) = {0}; in gcm_mode() local
524 .out_buf_max = sizeof(encrypted), in gcm_mode()
525 .out_buf = encrypted, in gcm_mode()
537 .tag = encrypted + sizeof(gcm_data), in gcm_mode()
540 .in_buf = encrypted, in gcm_mode()