2
0

evpciph_rc5.txt 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  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. #The following tests were generated using legacy code, to ensure that the
  9. #provider ciphers have identical results.
  10. Title = RC5 Tests
  11. Availablein = legacy
  12. Cipher = RC5-ECB
  13. Key = 00000000000000000000000000000000
  14. Plaintext = 0000000000000000
  15. Ciphertext = 21a5dbee154b8f6d
  16. Availablein = legacy
  17. Cipher = RC5-ECB
  18. Key = 00000000000000000000000000000000
  19. Plaintext = 000102030405060708090A0B0C0D0E0F
  20. Ciphertext = d9d37019aec1161b27d7ad56b21f0f42
  21. #Self generated. Bigger key.
  22. Availablein = legacy
  23. Cipher = RC5-ECB
  24. Key = 0000000000000000000000000000000000000000
  25. Plaintext = 000102030405060708090A0B0C0D0E0F
  26. Ciphertext = 610084f3e141cbc5455b82e2d56da565
  27. Availablein = legacy
  28. Cipher = RC5-CBC
  29. Key = 00000000000000000000000000000000
  30. IV = 0000000000000000
  31. Plaintext = 0000000000000000
  32. Ciphertext = 21a5dbee154b8f6d
  33. NextIV = 21a5dbee154b8f6d
  34. Availablein = legacy
  35. Cipher = RC5-CBC
  36. Key = 0102030405060708090A0B0C0D0E0F10
  37. IV = 0102030405060708
  38. Plaintext = 000102030405060708090A0B0C0D0E0F
  39. Ciphertext = eeebae12d768ac9e5b3d6072a9c76c65
  40. NextIV = 5b3d6072a9c76c65
  41. #Self generated. Bigger key.
  42. Availablein = legacy
  43. Cipher = RC5-CBC
  44. Key = 0102030405060708090A0B0C0D0E0F1000000000
  45. IV = 0102030405060708
  46. Plaintext = 000102030405060708090A0B0C0D0E0F
  47. Ciphertext = af64972111a80ec28871c51dd4bfe8de
  48. NextIV = 8871c51dd4bfe8de
  49. Availablein = legacy
  50. Cipher = RC5-OFB
  51. Key = 00000000000000000000000000000000
  52. IV = 0000000000000000
  53. Plaintext = 0000000000000000
  54. Ciphertext = 21a5dbee154b8f6d
  55. NextIV = 21a5dbee154b8f6d
  56. Availablein = legacy
  57. Cipher = RC5-OFB
  58. Key = 0102030405060708090A0B0C0D0E0F10
  59. IV = 0102030405060708
  60. Plaintext = 000102030405060708090A0B0C0D0E0F
  61. Ciphertext = c0ad101b40fc7ffdfc386ea5ecf458b7
  62. NextIV = f43164aee0f956b8
  63. #Self generated. Bigger key.
  64. Availablein = legacy
  65. Cipher = RC5-OFB
  66. Key = 0102030405060708090A0B0C0D0E0F1000000000
  67. IV = 0102030405060708
  68. Plaintext = 000102030405060708090A0B0C0D0E0F
  69. Ciphertext = 66ff8fee03d45533dde93632e8f81f6f
  70. NextIV = d5e03c39e4f51160
  71. Availablein = legacy
  72. Cipher = RC5-CFB
  73. Key = 00000000000000000000000000000000
  74. IV = 0000000000000000
  75. Plaintext = 0000000000000000
  76. Ciphertext = 21a5dbee154b8f6d
  77. NextIV = 21a5dbee154b8f6d
  78. Availablein = legacy
  79. Cipher = RC5-CFB
  80. Key = 0102030405060708090A0B0C0D0E0F10
  81. IV = 0102030405060708
  82. Plaintext = 000102030405060708090A0B0C0D0E0F
  83. Ciphertext = c0ad101b40fc7ffdeb97c6173bf2987e
  84. NextIV = eb97c6173bf2987e
  85. Availablein = legacy
  86. Cipher = RC5-CFB
  87. Key = 0102030405060708090A0B0C0D0E0F10
  88. IV = 0102030405060708
  89. Rounds = 8
  90. Plaintext = 000102030405060708090A0B0C0D0E0F
  91. Ciphertext = 439945301dfa830885ac2f3cf5e61d0e
  92. Availablein = legacy
  93. Cipher = RC5-CFB
  94. Key = 0102030405060708090A0B0C0D0E0F10
  95. IV = 0102030405060708
  96. Rounds = 16
  97. Plaintext = 000102030405060708090A0B0C0D0E0F
  98. Ciphertext = 5ad80530f4a19e622d03cd4f2b165730
  99. #Bad rounds
  100. Availablein = legacy
  101. Cipher = RC5-CFB
  102. Key = 0102030405060708090A0B0C0D0E0F10
  103. IV = 0102030405060708
  104. Rounds = 9
  105. Plaintext = 000102030405060708090A0B0C0D0E0F
  106. Result = INVALID_ROUNDS
  107. #bigger key
  108. Availablein = legacy
  109. Cipher = RC5-CFB
  110. Key = 0102030405060708090A0B0C0D0E0F101213141516
  111. IV = 0102030405060708
  112. Plaintext = 000102030405060708090A0B0C0D0E0F
  113. Ciphertext = b3724d2d9d1b9285e1338fd266c2277d