×

INCREMENTAL MAC TAG GENERATION DEVICE, METHOD, AND PROGRAM, AND MESSAGE AUTHENTICATION DEVICE

  • US 20140317407A1
  • Filed: 10/15/2012
  • Published: 10/23/2014
  • Est. Priority Date: 10/31/2011
  • Status: Abandoned Application
First Claim
Patent Images

1. An incremental MAC tag generation device comprising:

  • a padding unit configured to input a final block of a plaintext (M) that has been divided into a plurality of blocks, and carry out padding on the final block of the plaintext (M) when a length of the final block of the plaintext (M) is less than a predetermined number of bits;

    a cache reference parallel encryption unit configured to input blocks of the plaintext (M) other than the final block, a cached plaintext (M′

    ), and an intermediate variable (S′

    ) obtained by encrypting the plaintext (M′

    ), and calculate an intermediate variable (S);

    a scrambled hash unit configured to carry out scrambling processing on the intermediate variable (S), and calculate a hash value (V) by performing exclusive OR (XOR) on respective blocks of the scrambled intermediate variable (S) and the final block of the plaintext (M) output from the padding unit; and

    a tag generation unit configured to calculate a tag by encrypting the hash value (V) by using a parameter to indicate the presence or absence of the padding by the padding unit,wherein the cache reference parallel encryption unit compares the blocks of the plaintext (M) other than the final block with respective blocks of the plaintext (M′

    ),when there exists a block of the plaintext (M′

    ) matched with a block of the plaintext (M), the cache reference parallel encryption unit uses a block of the intermediate variable (S′

    ) corresponding to the block of the plaintext (M′

    ) in the intermediate variable (S), andwhen there exists no block of the plaintext (M′

    ) matched with a block of the plaintext (M), the cache reference parallel encryption unit encrypts the block of the plaintext (M) and uses the encrypted block of the plaintext (M) in the intermediate variable (S).

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×