4 ms·
"But... but we used 128-bit AES! It's rated for U.S.A. Classified Secret information!" Yeah, but you put the S-box (AES key initialization) in the code you sen
by sp332 16y ago
"But... but we used 128-bit AES! It's rated for U.S.A. Classified Secret information!" Yeah, but you put the S-box (AES key initialization) in the code you sent to the end-user. Also, ECB http://en.wikipedia.org/wiki/Block_cipher_modes_of_operation#Electronic_codebook_.28ECB.29 http://en.wikipedia.org/wiki/Block_cipher_modes_of_operation... So... yeah.
- daeken 16y agoI hate to say this, but ECB is actually the right way to go here. There's no way to send information to the headset, so CBC with a rolling IV wouldn't work well -- if one HID report dropped, you'd have no way of regaining the stream again. Of course, they could've XORed the second half of the output report with the first (CBC across the output report itself), but that really gets you nothing. This is, amazingly, one of the few places where ECB actually makes sense. That said, when will people learn to encrypt/pack/invert/anything their S-boxes? Edit: Scratch what I said defending ECB mode. I totally forgot about CTR mode until a friend just mentioned it. Would've been the perfect solution here.
- deleted 16y ago[deleted]