PROBLEM TO BE SOLVED: To provide a message authentication code in which call frequencies (frequencies of repeated processing) of a function are reduced while maintaining safety.;SOLUTION: A message authentication code generation device is disclosed which is provided with: a padding part; a message block generation part; an initial value setting part; and an intermediate variable calculation part. The message block generation part divides data M* into N pieces of c bit message blocks m2n-1 and N pieces of b bit message blocks m2n. The initial value setting part calculates the first intermediate variable v0. The intermediate variable calculation part calculates an intermediate variable vn by compressing a bit string obtained by coupling the message block m2n to exclusive OR between the intermediate variable vn-1 and the message block m2n-1 by a compression function h for compressing a bit string of (c+b) bit into a bit string of c bit, repeats calculation of the intermediate variable vn from n=1 to n=N to calculate an intermediate variable vN.;COPYRIGHT: (C)2009,JPO&INPIT
展开▼
机译:解决的问题:提供一种消息认证码,其中在保持安全性的同时降低了功能的调用频率(重复处理的频率)。解决方案:公开了一种消息认证码生成装置,其具有:填充部分;消息块生成部分;初始值设定部;和中间变量计算部分。消息块生成部分将数据M *划分为N个c位消息块m 2n-1 Sub>和N个b位消息块m 2n Sub>。初始值设置部分计算第一中间变量v 0 Sub>。中间变量计算部分通过压缩将消息块m 2n Sub>与中间变量v n之间的异或耦合而获得的位串,来计算中间变量v n Sub> -1 Sub>和消息块m 2n-1 Sub>的压缩函数h将(c + b)位的位串压缩为c位的位串,重复计算中间变量v n Sub>从n = 1到n = N来计算中间变量v N Sub> .; COPYRIGHT:(C)2009,JPO&INPIT
展开▼