~increscent/aes-ccm

aes-ccm/compare.sh -rwxr-xr-x 224 bytes
6fdb84d8 — Robert Williams Found the issue: the msg_len parameter should be 16-bit, but it's 8-bit 4 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash

for i in {1..293}; do
    mic1="$(./encrypt $i | head -n 1)"
    mic2="$(./zencrypt $i | head -n 1)"
    if [[ "$mic1" != "$mic2" ]]; then
        echo "$i"
        echo "$mic1"
        echo "$mic2"
    fi
done