simon-speck-c
simon-speck-c copied to clipboard
change counter range of ctr mode iv from 128 to 32.
problem
Currently in simon-speck-c version, counter range of ctr mode is 128.
- NICT requests GCM specification is counter range is 32.
-
ctr128_inc
is too slow.
modify
-
speck_ctr_encrypt
andspeck_ctr_decrypt
- change counter range of ctr mode iv from 128 to 32.
influence
break compatibility of speck ctr API.