Skip to content

Instantly share code, notes, and snippets.

@pamaury
Created January 28, 2017 23:57
Show Gist options
  • Save pamaury/f6aacab976fdda1984b663b6ce739353 to your computer and use it in GitHub Desktop.
Save pamaury/f6aacab976fdda1984b663b6ce739353 to your computer and use it in GitHub Desktop.
Investigation of encryption on blackfin devices (DAC-HA300 and HA-P90)
enc -> dec
00 -> 00
ff -> ff
80 -> 90 (1000 -> 1001)
40 -> 30 (0100 -> 0011)
e0 -> 10 (1110 -> 0001)
20 -> 60 (0010 -> 0110)
c0 -> 70 (1100 -> 0111)
a0 -> c0 (1010 -> 1100)
60 -> 80 (0110 -> 1000)
10 -> f0 (0001 -> 1111)
30 -> a0 (0011 -> 1010)
50 -> b0 (0101 -> 1011)
b0 ?-> e0 (1011 -> 1110)
f0 ?-> d0 (1111 -> 1101)
55 -> 77? (0101 -> 0111)
01 -> 7e
08 -> 68
04 -> 7a
e1 -> 66
e3 -> 73
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment