Home | History | Annotate | Line # | Download | only in 30-test_evp_data
      1 #
      2 # Copyright 2019-2021 The OpenSSL Project Authors. All Rights Reserved.
      3 #
      4 # Licensed under the Apache License 2.0 (the "License").  You may not use
      5 # this file except in compliance with the License.  You can obtain a copy
      6 # in the file LICENSE in the source distribution or at
      7 # https://www.openssl.org/source/license.html
      8 
      9 # A valid set of RC2 test vectors could not be found for all RC2 modes - the
     10 # following values were generated using the deprecated cipher code, in order to
     11 # confirm that the new provider code is equivalent.
     12 Title = RC2 Test vectors
     13 
     14 Availablein = legacy
     15 Cipher = RC2-ECB
     16 Key = 0000000000000000
     17 Plaintext = 000102030405060708090A0B0C0D0E0F
     18 Ciphertext = a4085a9f3e710563ae3b1e8c4339122b
     19 
     20 Availablein = legacy
     21 Cipher = RC2-ECB
     22 Key = 0000000000000000
     23 KeyBits = 63
     24 Plaintext = 000102030405060708090A0B0C0D0E0F
     25 Ciphertext = b406b9037baf2d86982af542e6d70b13
     26 
     27 Availablein = legacy
     28 Cipher = RC2-CBC
     29 Key = 0000000000000000
     30 IV = 0000000000000000
     31 Plaintext = 000102030405060708090A0B0C0D0E0F
     32 Ciphertext = a4085a9f3e710563d1091a1552ba8962
     33 
     34 Availablein = legacy
     35 Cipher = RC2-CBC
     36 Key = 0000000000000000
     37 KeyBits = 63
     38 IV = 0000000000000000
     39 Plaintext = 000102030405060708090A0B0C0D0E0F
     40 Ciphertext = b406b9037baf2d866614ef5e55e95b8d
     41 NextIV = 6614ef5e55e95b8d
     42 
     43 Availablein = legacy
     44 Cipher = RC2-40-CBC
     45 Key = 0000000000
     46 IV = 0000000000000000
     47 Plaintext = 0102030405060708
     48 Ciphertext = 61ae28bcf59d1f6f
     49 NextIV = 61ae28bcf59d1f6f
     50 
     51 Availablein = legacy
     52 Cipher = RC2-40-CBC
     53 Key = 0000000000
     54 KeyBits = 63
     55 IV = 0000000000000000
     56 Plaintext = 0102030405060708
     57 Ciphertext = c1d8e65290b2f06d
     58 
     59 Availablein = legacy
     60 Cipher = RC2-40-CBC
     61 Key = 000000000001
     62 IV = 0000000000000000
     63 Plaintext = 0102030405060708
     64 Ciphertext = b3ddf36b5c81b0db
     65 
     66 Availablein = legacy
     67 Cipher = RC2-64-CBC
     68 Key = 0000000000000000
     69 IV = 0000000000000000
     70 Plaintext = 0102030405060708
     71 Ciphertext = 191d1abf767bfbe7
     72 
     73 Availablein = legacy
     74 Cipher = RC2-64-CBC
     75 Key = 0000000000000000
     76 KeyBits = 63
     77 IV = 0000000000000000
     78 Plaintext = 0102030405060708
     79 Ciphertext = 191d1abf767bfbe7
     80 
     81 Availablein = legacy
     82 Cipher = RC2-CFB
     83 Key = 0000000000000000
     84 IV = 0000000000000000
     85 Plaintext = 000102030405060708090A0B0C0D0E0F
     86 Ciphertext = 81b5cc4d43119e987a2b526ea152f3fe
     87 
     88 Availablein = legacy
     89 Cipher = RC2-CFB
     90 Key = 0000000000000000
     91 KeyBits = 63
     92 IV = 0000000000000000
     93 Plaintext = 000102030405060708090A0B0C0D0E0F
     94 Ciphertext = ebb671fa972288f87cb1810b91f2ae39
     95 NextIV = 7cb1810b91f2ae39
     96 
     97 Availablein = legacy
     98 Cipher = RC2-OFB
     99 Key = 0000000000000000
    100 IV = 0000000000000000
    101 Plaintext = 000102030405060708090A0B0C0D0E0F
    102 Ciphertext = 81b5cc4d43119e9849bdb7ef7fb35eb7
    103 
    104 Availablein = legacy
    105 Cipher = RC2-OFB
    106 Key = 0000000000000000
    107 IV = 0000000000000000
    108 KeyBits = 63
    109 Plaintext = 000102030405060708090A0B0C0D0E0F
    110 Ciphertext = ebb671fa972288f8f8587d8069d61d58
    111 NextIV = f051778b65db1357
    112 
    113 Availablein = legacy
    114 Cipher = RC2-OFB
    115 Key = 0000000000000000
    116 IV = 000000000000000000
    117 Plaintext = 000102030405060708090A0B0C0D0E0F
    118 Result = INVALID_IV_LENGTH
    119 
    120 #Variable key length is allowed for RC2
    121 Availablein = legacy
    122 Cipher = RC2-OFB
    123 Key = 0000000000000000000000000000000000
    124 IV = 0000000000000000
    125 Plaintext = 000102030405060708090A0B0C0D0E0F
    126 Ciphertext = 1df8d70bb9c66ffc37869d8ed80d796b
    127