×

Automatic data generation for self-test of cryptographic hash algorithms in personal security devices

  • US 5,623,545 A
  • Filed: 08/31/1995
  • Issued: 04/22/1997
  • Est. Priority Date: 08/31/1995
  • Status: Expired due to Term
First Claim
Patent Images

1. A method of testing a hash circuit taking T M-bit message blocks serially as input and producing an H-bit message digest as output, the hash circuit including a data expansion circuit taking the M-bit message block as input and producing an E-bit expanded message block as output, the method comprising the steps of:

  • (a) loading a predetermined input M-bit test message block MB(1) into the hash circuit;

    for each i between 1 and T, inclusive;

    (b) performing an expansion by using the data expansion circuit taking an ith M-bit test message block MB (i) as input and producing an ith E-bit expanded test message block as output;

    (c) performing a hash by using the hash circuit taking the ith E-bit expanded test message block EMB (i) as input and producing an ith H-bit message digest MD(i) as output; and

    (d) using the data expansion circuit taking a portion of the ith E-bit expanded test message block as input to generate;

    an i+1th M-bit test message block MB (i+1) as output; and

    (e) outputting, by the hash circuit, the Tth H-bit message digest.

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