Debian Codegraph @

cryptography_vectors/keywrap/kwtestvectors/Readme.txt

raw
1 This zip file contains sample test vectors (values) for the following functions defined in
2 NIST SP 800-38F:
3
4 1. AES Key Wrap Authenticated Encryption (KW-AE) and Authenticated Decryption (KW-AD)
5 - file names indicate direction (KW_AE or KW_AD), AES key length (128, 192 or 256).
6 e.g., KW_AE_128 mean AES Key Wrap Authenticated Encryption using AES-128.
7 - for KW-AE, 'inv' at end of file name indicates AES inverse cipher transformation used
8 - for KW-AD, 'inv' at end of file name indicates AES forward cipher transformation used (i.e.,
9 authenticated decryption of ciphertext that has been *encrypted using AES inverse cipher function*)
10 - 5 plaintext lengths with 100 trials per plaintext length
11 - For each trial in KW-AE files, two inputs: key (K) and plaintext (P) and one output: resulting ciphertext (C)
12 - for each trial in KW-AD files, two inputs: key (K) and ciphertext (C) and one output: either the resulting
13 plaintext (P) or FAIL if ciphertext fails to authenticate. Should FAIL 20 times per 100 trials.
14
15 2. AES Key Wrap with Padding Authenticated Encryption (KWP-AE) and Authenticated Decryption (KWP-AD)
16 - file names indicate same things as in (1.), just replace KW_ with KWP_
17 - trials same as in (1.)
18
19 3. TDEA Key Wrap Authenticated Encryption (TKW-AE) and Authenticated Decryption (TKW-AD)
20 - file names indicate same things as in (1.), just replace KW_ with TKW_, except for...
21 - only one key size, so no 128/192/256 in file name
22 - trials same as in (1.)
23
24
25 Refer to NIST SP 800-38F (December 2012) for more on these functions:
26
27 http://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800-38F.pdf