6 reputation
1
bio website
location
age
visits member for 1 year, 3 months
seen Dec 19 '13 at 19:22

Jun
10
awarded  Student
Dec
15
comment Game traffic encryption AES CTR + HMAC
Well, the task was to encrypt traffic. Client includes StarForce system, so encrypted packets should be adequately protected. I need maximum performance and minimum packet size overhead. This was a prototype: gist.github.com/Torikova/5236687ae9c45a4332ef I assumed that CTR mode prevents replay attacks and i don't need nonce, just counter. Can i use AES-GCM and still truncate mac to 4-5 bytes?
Dec
15
asked Game traffic encryption AES CTR + HMAC