crypto/weakcryptospi/test/trandom/testdata/bsafetest.dat
author hgs
Sat, 30 Oct 2010 16:29:23 +0530
changeset 108 ca9a0fc2f082
parent 85 1efb81185f1c
permissions -rw-r--r--
201043_01
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
85
1efb81185f1c 201028_01
hgs
parents: 8
diff changeset
     1
+C This file contains the script for bsafe test vectors
1efb81185f1c 201028_01
hgs
parents: 8
diff changeset
     2
+C The format is:
1efb81185f1c 201028_01
hgs
parents: 8
diff changeset
     3
+C AlgorithmType TestType Algorithm (Variant) (File)
1efb81185f1c 201028_01
hgs
parents: 8
diff changeset
     4
+C 
1efb81185f1c 201028_01
hgs
parents: 8
diff changeset
     5
+C Where:
1efb81185f1c 201028_01
hgs
parents: 8
diff changeset
     6
+C AlgorithmType is Symmetric, Asymmetric or Padding
1efb81185f1c 201028_01
hgs
parents: 8
diff changeset
     7
+C TestType is Function, Vector, OOM, Error, Performance, Problem or UnfixedProblem
1efb81185f1c 201028_01
hgs
parents: 8
diff changeset
     8
+C Algorithm is DES, RC2, RC4, RSA etc 
1efb81185f1c 201028_01
hgs
parents: 8
diff changeset
     9
+C Variant (where applicable) is CFB, OFB, CBC or ECB
1efb81185f1c 201028_01
hgs
parents: 8
diff changeset
    10
+C File is the name of the file where the known vectors can be found
1efb81185f1c 201028_01
hgs
parents: 8
diff changeset
    11
+C
1efb81185f1c 201028_01
hgs
parents: 8
diff changeset
    12
+M Test case: TV111300
1efb81185f1c 201028_01
hgs
parents: 8
diff changeset
    13
+M   Tests AI_RFC1113Recode
1efb81185f1c 201028_01
hgs
parents: 8
diff changeset
    14
+M   Not relevant, this defines base-64 encoding and decoding tests.
1efb81185f1c 201028_01
hgs
parents: 8
diff changeset
    15
+C
1efb81185f1c 201028_01
hgs
parents: 8
diff changeset
    16
+M Test case: TVDHKA01
1efb81185f1c 201028_01
hgs
parents: 8
diff changeset
    17
+M   Tests Diffie-Hellman Key Agreement
1efb81185f1c 201028_01
hgs
parents: 8
diff changeset
    18
+C
1efb81185f1c 201028_01
hgs
parents: 8
diff changeset
    19
+M Test case: TVDHKA02
1efb81185f1c 201028_01
hgs
parents: 8
diff changeset
    20
+M   Tests Diffie-Hellman Key Agreement
1efb81185f1c 201028_01
hgs
parents: 8
diff changeset
    21
+C
1efb81185f1c 201028_01
hgs
parents: 8
diff changeset
    22
+M Test case: TVDHKA03
1efb81185f1c 201028_01
hgs
parents: 8
diff changeset
    23
+M   Tests Diffie-Hellman Key Agreement
1efb81185f1c 201028_01
hgs
parents: 8
diff changeset
    24
+C
1efb81185f1c 201028_01
hgs
parents: 8
diff changeset
    25
+M Test case: TVDHKA04
1efb81185f1c 201028_01
hgs
parents: 8
diff changeset
    26
+M   Tests Diffie-Hellman Key Agreement
1efb81185f1c 201028_01
hgs
parents: 8
diff changeset
    27
+C
1efb81185f1c 201028_01
hgs
parents: 8
diff changeset
    28
+M Test case: TVDHKA05
1efb81185f1c 201028_01
hgs
parents: 8
diff changeset
    29
+M   Tests Diffie-Hellman Key Agreement
1efb81185f1c 201028_01
hgs
parents: 8
diff changeset
    30
+C
1efb81185f1c 201028_01
hgs
parents: 8
diff changeset
    31
+M Test case: TVDHKA06
1efb81185f1c 201028_01
hgs
parents: 8
diff changeset
    32
+M   Tests Diffie-Hellman Key Agreement
1efb81185f1c 201028_01
hgs
parents: 8
diff changeset
    33
+C
1efb81185f1c 201028_01
hgs
parents: 8
diff changeset
    34
+M Test case: TVDHKA07
1efb81185f1c 201028_01
hgs
parents: 8
diff changeset
    35
+M   Tests Diffie-Hellman Key Agreement
1efb81185f1c 201028_01
hgs
parents: 8
diff changeset
    36
+C
1efb81185f1c 201028_01
hgs
parents: 8
diff changeset
    37
+M Test case: TVDHKA08
1efb81185f1c 201028_01
hgs
parents: 8
diff changeset
    38
+M   Tests Diffie-Hellman Key Agreement
1efb81185f1c 201028_01
hgs
parents: 8
diff changeset
    39
+C
1efb81185f1c 201028_01
hgs
parents: 8
diff changeset
    40
+M Test case: TVDHKA09
1efb81185f1c 201028_01
hgs
parents: 8
diff changeset
    41
+M   Tests Diffie-Hellman Key Agreement
1efb81185f1c 201028_01
hgs
parents: 8
diff changeset
    42
+C
1efb81185f1c 201028_01
hgs
parents: 8
diff changeset
    43
+M Test case: TVDHKA10
1efb81185f1c 201028_01
hgs
parents: 8
diff changeset
    44
+M   Tests Diffie-Hellman Key Agreement
1efb81185f1c 201028_01
hgs
parents: 8
diff changeset
    45
+C
1efb81185f1c 201028_01
hgs
parents: 8
diff changeset
    46
+M Test case: TVDHKA11
1efb81185f1c 201028_01
hgs
parents: 8
diff changeset
    47
+M   Tests Diffie-Hellman Key Agreement
1efb81185f1c 201028_01
hgs
parents: 8
diff changeset
    48
+C
1efb81185f1c 201028_01
hgs
parents: 8
diff changeset
    49
+M Test case: TVDHKA12
1efb81185f1c 201028_01
hgs
parents: 8
diff changeset
    50
+M   Tests Diffie-Hellman Key Agreement
1efb81185f1c 201028_01
hgs
parents: 8
diff changeset
    51
+C
1efb81185f1c 201028_01
hgs
parents: 8
diff changeset
    52
+M Test case: TVDHKA13
1efb81185f1c 201028_01
hgs
parents: 8
diff changeset
    53
+M   Tests Diffie-Hellman Key Agreement
1efb81185f1c 201028_01
hgs
parents: 8
diff changeset
    54
+C
1efb81185f1c 201028_01
hgs
parents: 8
diff changeset
    55
+M Test case: TVHMCMD5
1efb81185f1c 201028_01
hgs
parents: 8
diff changeset
    56
+M   Tests HMAC with MD5
1efb81185f1c 201028_01
hgs
parents: 8
diff changeset
    57
+C Key.......................... Data............ Result..........................
1efb81185f1c 201028_01
hgs
parents: 8
diff changeset
    58
0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b 4869205468657265 9294727a3638bb1c13f48ef8158bfc9d
1efb81185f1c 201028_01
hgs
parents: 8
diff changeset
    59
+C
1efb81185f1c 201028_01
hgs
parents: 8
diff changeset
    60
+M Test case: TVMD2R00
1efb81185f1c 201028_01
hgs
parents: 8
diff changeset
    61
+M   Tests MD2 based random number generator
1efb81185f1c 201028_01
hgs
parents: 8
diff changeset
    62
+M   Not relevant, this defines random number generator tests.
1efb81185f1c 201028_01
hgs
parents: 8
diff changeset
    63
+C
1efb81185f1c 201028_01
hgs
parents: 8
diff changeset
    64
+M Test case: TVMD2RX0
1efb81185f1c 201028_01
hgs
parents: 8
diff changeset
    65
+M   Tests MD2 based random number generator
1efb81185f1c 201028_01
hgs
parents: 8
diff changeset
    66
+M   Not relevant, this defines random number generator tests.
1efb81185f1c 201028_01
hgs
parents: 8
diff changeset
    67
+C
1efb81185f1c 201028_01
hgs
parents: 8
diff changeset
    68
+M Test case: TVMD5R00
1efb81185f1c 201028_01
hgs
parents: 8
diff changeset
    69
+M   Tests MD5 based random number generator
1efb81185f1c 201028_01
hgs
parents: 8
diff changeset
    70
+M   Not relevant, this defines random number generator tests.
1efb81185f1c 201028_01
hgs
parents: 8
diff changeset
    71
+C
1efb81185f1c 201028_01
hgs
parents: 8
diff changeset
    72
+M Test case: TVMD5RX0
1efb81185f1c 201028_01
hgs
parents: 8
diff changeset
    73
+M   Tests MD5 based random number generator
1efb81185f1c 201028_01
hgs
parents: 8
diff changeset
    74
+M   Not relevant, this defines random number generator tests.
1efb81185f1c 201028_01
hgs
parents: 8
diff changeset
    75
+C
1efb81185f1c 201028_01
hgs
parents: 8
diff changeset
    76
+M Test case: TVOAEP01
1efb81185f1c 201028_01
hgs
parents: 8
diff changeset
    77
+M   Tests OAEP padding.
1efb81185f1c 201028_01
hgs
parents: 8
diff changeset
    78
+M   Not relevant, this defines padding tests for unimplemented padding.
1efb81185f1c 201028_01
hgs
parents: 8
diff changeset
    79
+C
1efb81185f1c 201028_01
hgs
parents: 8
diff changeset
    80
+M Test case: TVOAEP02
1efb81185f1c 201028_01
hgs
parents: 8
diff changeset
    81
+M   Tests OAEP padding.
1efb81185f1c 201028_01
hgs
parents: 8
diff changeset
    82
+M   Not relevant, this defines padding tests for unimplemented padding.
1efb81185f1c 201028_01
hgs
parents: 8
diff changeset
    83
+C
1efb81185f1c 201028_01
hgs
parents: 8
diff changeset
    84
+M Test case: TVOAEP03
1efb81185f1c 201028_01
hgs
parents: 8
diff changeset
    85
+M   Tests OAEP padding.
1efb81185f1c 201028_01
hgs
parents: 8
diff changeset
    86
+M   Not relevant, this defines padding tests for unimplemented padding.
1efb81185f1c 201028_01
hgs
parents: 8
diff changeset
    87
+C
1efb81185f1c 201028_01
hgs
parents: 8
diff changeset
    88
+M Test case: TVRC4MAC
1efb81185f1c 201028_01
hgs
parents: 8
diff changeset
    89
+M   Tests RC4 with MAC.
1efb81185f1c 201028_01
hgs
parents: 8
diff changeset
    90
+M   Not relevant, this defines RC4 with MAC tests - an unimplemented algorithm.
1efb81185f1c 201028_01
hgs
parents: 8
diff changeset
    91
+C
1efb81185f1c 201028_01
hgs
parents: 8
diff changeset
    92
+M Test case: TVRKG931
1efb81185f1c 201028_01
hgs
parents: 8
diff changeset
    93
+M   Tests RSA private key generation.
1efb81185f1c 201028_01
hgs
parents: 8
diff changeset
    94
+M   Not relevant, this defines RSA private key generation tests.