Thread (2 messages) flat view 2 messages, 1 author, 2012-06-29

GCM counter inc

From: Ronen Shitrit <hidden>
Date: 2012-06-20 08:44:16

Hi

According to the GCM NIST publication, the counter increment should be
module 32 bit.
Looking into the crypto code, I can see that when using gcm(aes) the
gcm will use the ctr over aes,
ctr.c is using the crypto_inc with size of blocksize, which is 16 for AES.
in case crypto_inc will overflow in 32bit it will inc the next 32bit...

Is this a bug or am I missing something?

Regards
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help