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
spm@lyre.enet.dec.com (Steve Miller) (04/25/91)
Cc: spm ----------------------- There are a few test cases in the US FIPS DES/DEA standards, and also some in various security network security texts, such as Davies and Price, I think. The FIPS testcases were included in the Kerberos distribution 'verify' utility, so you might check the sources for that. Steve
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