secure-io / siv-go

Go implementation of AES-SIV-CMAC and AES-GCM-SIV
MIT License
6 stars 3 forks source link

simplify AMD64 assembler by removing dublicate code #9

Closed aead closed 6 years ago

aead commented 6 years ago

This commit removes duplicate code in xorKeystream{128/192/256}. The aesCMacXORKeystream function now handles all three AES variants.