[alt.security] DES testcases

ping@hub.toronto.edu (Ping Lin) (04/24/91)

I'm looking for a set of standard testcases for some software DES routines.
The functions to be tested include DES ECB (verifiers) and CBC (encryption).
Could anyone recommend an existing source of testcases?


Thanks in advance,
Ping Lin

koning@koning.enet.dec.com (Paul Koning) (05/09/91)

|>
|>I'm looking for a set of standard testcases for some software DES routines.
|>The functions to be tested include DES ECB (verifiers) and CBC (encryption).
|>Could anyone recommend an existing source of testcases?
|>
|>
|>Thanks in advance,
|>Ping Lin
|>
There's a nice comprehensive set of test cases in the publication:

        Validating the correctness of hardware implementations of
        the NBS Data Encryption Standard
        NBS Special Publication 500-20

My edition is 9/80; there may be later ones.  (NBS is called NIST these
days, of course...)  The title talks about hardware, but the test cases
don't care whether it's hardware or software you're using.

The nice point about the test cases is that they are constructed in groups;
each group exhaustively checks a piece of the DES machinery.

Note: this verifies ECB.  I don't know of a test set for CBC specifically.

        paul