phooky / contact-tracing-ble

Quick implementation of the Apple/Google joint contact tracing beacon specification (now known as "Exposure Notification")
MIT License
34 stars 1 forks source link

AEM encryption is ignoring RPI/IV #8

Closed phooky closed 4 years ago

phooky commented 4 years ago

need to do a closer reading of the libgcrypt docs; most likely I need to be setting the counter, not the iv.

phooky commented 4 years ago

because of course, you need to _setctr not _setiv, even though this is functionally equivalent. encrypted eyeroll fixed.