Skip to content

Commit 209b713

Browse files
committed
debug output of data and key
1 parent 739aaa7 commit 209b713

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tea.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,8 @@ bool encrypt_decrypt(int mode, char *key, int flags,
100100
else
101101
decode ((uint32_t *) d, (uint32_t *) key);
102102

103-
printf("\n%u %u\n",d[0],d[1]);
103+
printf("\nkey:%u %u %u %u data:%u %u\n",
104+
key[0],key[1],key[2],key[3],d[0],d[1]);
104105

105106
// Write back
106107
if ((len = write (outf,d,DATA_SIZE)) < 0){

0 commit comments

Comments
 (0)