simon-speck-c icon indicating copy to clipboard operation
simon-speck-c copied to clipboard

change counter range of ctr mode iv from 128 to 32.

Open Naruto opened this issue 6 years ago • 0 comments

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 and speck_ctr_decrypt
    • change counter range of ctr mode iv from 128 to 32.

influence

break compatibility of speck ctr API.

Naruto avatar Oct 15 '17 05:10 Naruto