test_suite_blowfish.data 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314
  1. BLOWFISH - Valid parameters
  2. blowfish_valid_param:
  3. BLOWFISH - Invalid parameters
  4. blowfish_invalid_param:
  5. BLOWFISH-ECB Encrypt SSLeay reference #1
  6. blowfish_encrypt_ecb:"0000000000000000":"0000000000000000":"4ef997456198dd78":0
  7. BLOWFISH-ECB Encrypt SSLeay reference #2
  8. blowfish_encrypt_ecb:"ffffffffffffffff":"ffffffffffffffff":"51866fd5b85ecb8a":0
  9. BLOWFISH-ECB Encrypt SSLeay reference #3
  10. blowfish_encrypt_ecb:"3000000000000000":"1000000000000001":"7d856f9a613063f2":0
  11. BLOWFISH-ECB Encrypt SSLeay reference #4
  12. blowfish_encrypt_ecb:"1111111111111111":"1111111111111111":"2466dd878b963c9d":0
  13. BLOWFISH-ECB Encrypt SSLeay reference #5
  14. blowfish_encrypt_ecb:"0123456789abcdef":"1111111111111111":"61f9c3802281b096":0
  15. BLOWFISH-ECB Encrypt SSLeay reference #6
  16. blowfish_encrypt_ecb:"1111111111111111":"0123456789abcdef":"7d0cc630afda1ec7":0
  17. BLOWFISH-ECB Encrypt SSLeay reference #7
  18. blowfish_encrypt_ecb:"0000000000000000":"0000000000000000":"4ef997456198dd78":0
  19. BLOWFISH-ECB Encrypt SSLeay reference #8
  20. blowfish_encrypt_ecb:"fedcba9876543210":"0123456789abcdef":"0aceab0fc6a0a28d":0
  21. BLOWFISH-ECB Encrypt SSLeay reference #9
  22. blowfish_encrypt_ecb:"7ca110454a1a6e57":"01a1d6d039776742":"59c68245eb05282b":0
  23. BLOWFISH-ECB Encrypt SSLeay reference #10
  24. blowfish_encrypt_ecb:"0131d9619dc1376e":"5cd54ca83def57da":"b1b8cc0b250f09a0":0
  25. BLOWFISH-ECB Encrypt SSLeay reference #11
  26. blowfish_encrypt_ecb:"07a1133e4a0b2686":"0248d43806f67172":"1730e5778bea1da4":0
  27. BLOWFISH-ECB Encrypt SSLeay reference #12
  28. blowfish_encrypt_ecb:"3849674c2602319e":"51454b582ddf440a":"a25e7856cf2651eb":0
  29. BLOWFISH-ECB Encrypt SSLeay reference #13
  30. blowfish_encrypt_ecb:"04b915ba43feb5b6":"42fd443059577fa2":"353882b109ce8f1a":0
  31. BLOWFISH-ECB Encrypt SSLeay reference #14
  32. blowfish_encrypt_ecb:"0113b970fd34f2ce":"059b5e0851cf143a":"48f4d0884c379918":0
  33. BLOWFISH-ECB Encrypt SSLeay reference #15
  34. blowfish_encrypt_ecb:"0170f175468fb5e6":"0756d8e0774761d2":"432193b78951fc98":0
  35. BLOWFISH-ECB Encrypt SSLeay reference #16
  36. blowfish_encrypt_ecb:"43297fad38e373fe":"762514b829bf486a":"13f04154d69d1ae5":0
  37. BLOWFISH-ECB Encrypt SSLeay reference #17
  38. blowfish_encrypt_ecb:"07a7137045da2a16":"3bdd119049372802":"2eedda93ffd39c79":0
  39. BLOWFISH-ECB Encrypt SSLeay reference #18
  40. blowfish_encrypt_ecb:"04689104c2fd3b2f":"26955f6835af609a":"d887e0393c2da6e3":0
  41. BLOWFISH-ECB Encrypt SSLeay reference #19
  42. blowfish_encrypt_ecb:"37d06bb516cb7546":"164d5e404f275232":"5f99d04f5b163969":0
  43. BLOWFISH-ECB Encrypt SSLeay reference #20
  44. blowfish_encrypt_ecb:"1f08260d1ac2465e":"6b056e18759f5cca":"4a057a3b24d3977b":0
  45. BLOWFISH-ECB Encrypt SSLeay reference #21
  46. blowfish_encrypt_ecb:"584023641aba6176":"004bd6ef09176062":"452031c1e4fada8e":0
  47. BLOWFISH-ECB Encrypt SSLeay reference #22
  48. blowfish_encrypt_ecb:"025816164629b007":"480d39006ee762f2":"7555ae39f59b87bd":0
  49. BLOWFISH-ECB Encrypt SSLeay reference #23
  50. blowfish_encrypt_ecb:"49793ebc79b3258f":"437540c8698f3cfa":"53c55f9cb49fc019":0
  51. BLOWFISH-ECB Encrypt SSLeay reference #24
  52. blowfish_encrypt_ecb:"4fb05e1515ab73a7":"072d43a077075292":"7a8e7bfa937e89a3":0
  53. BLOWFISH-ECB Encrypt SSLeay reference #25
  54. blowfish_encrypt_ecb:"49e95d6d4ca229bf":"02fe55778117f12a":"cf9c5d7a4986adb5":0
  55. BLOWFISH-ECB Encrypt SSLeay reference #26
  56. blowfish_encrypt_ecb:"018310dc409b26d6":"1d9d5c5018f728c2":"d1abb290658bc778":0
  57. BLOWFISH-ECB Encrypt SSLeay reference #27
  58. blowfish_encrypt_ecb:"1c587f1c13924fef":"305532286d6f295a":"55cb3774d13ef201":0
  59. BLOWFISH-ECB Encrypt SSLeay reference #28
  60. blowfish_encrypt_ecb:"0101010101010101":"0123456789abcdef":"fa34ec4847b268b2":0
  61. BLOWFISH-ECB Encrypt SSLeay reference #29
  62. blowfish_encrypt_ecb:"1f1f1f1f0e0e0e0e":"0123456789abcdef":"a790795108ea3cae":0
  63. BLOWFISH-ECB Encrypt SSLeay reference #30
  64. blowfish_encrypt_ecb:"e0fee0fef1fef1fe":"0123456789abcdef":"c39e072d9fac631d":0
  65. BLOWFISH-ECB Encrypt SSLeay reference #31
  66. blowfish_encrypt_ecb:"0000000000000000":"ffffffffffffffff":"014933e0cdaff6e4":0
  67. BLOWFISH-ECB Encrypt SSLeay reference #32
  68. blowfish_encrypt_ecb:"ffffffffffffffff":"0000000000000000":"f21e9a77b71c49bc":0
  69. BLOWFISH-ECB Encrypt SSLeay reference #33
  70. blowfish_encrypt_ecb:"0123456789abcdef":"0000000000000000":"245946885754369a":0
  71. BLOWFISH-ECB Encrypt SSLeay reference #34
  72. blowfish_encrypt_ecb:"fedcba9876543210":"ffffffffffffffff":"6b5c5a9c5d9e0a5a":0
  73. BLOWFISH-ECB Decrypt SSLeay reference #1
  74. blowfish_decrypt_ecb:"0000000000000000":"4ef997456198dd78":"0000000000000000":0
  75. BLOWFISH-ECB Decrypt SSLeay reference #2
  76. blowfish_decrypt_ecb:"ffffffffffffffff":"51866fd5b85ecb8a":"ffffffffffffffff":0
  77. BLOWFISH-ECB Decrypt SSLeay reference #3
  78. blowfish_decrypt_ecb:"3000000000000000":"7d856f9a613063f2":"1000000000000001":0
  79. BLOWFISH-ECB Decrypt SSLeay reference #4
  80. blowfish_decrypt_ecb:"1111111111111111":"2466dd878b963c9d":"1111111111111111":0
  81. BLOWFISH-ECB Decrypt SSLeay reference #5
  82. blowfish_decrypt_ecb:"0123456789abcdef":"61f9c3802281b096":"1111111111111111":0
  83. BLOWFISH-ECB Decrypt SSLeay reference #6
  84. blowfish_decrypt_ecb:"1111111111111111":"7d0cc630afda1ec7":"0123456789abcdef":0
  85. BLOWFISH-ECB Decrypt SSLeay reference #7
  86. blowfish_decrypt_ecb:"0000000000000000":"4ef997456198dd78":"0000000000000000":0
  87. BLOWFISH-ECB Decrypt SSLeay reference #8
  88. blowfish_decrypt_ecb:"fedcba9876543210":"0aceab0fc6a0a28d":"0123456789abcdef":0
  89. BLOWFISH-ECB Decrypt SSLeay reference #9
  90. blowfish_decrypt_ecb:"7ca110454a1a6e57":"59c68245eb05282b":"01a1d6d039776742":0
  91. BLOWFISH-ECB Decrypt SSLeay reference #10
  92. blowfish_decrypt_ecb:"0131d9619dc1376e":"b1b8cc0b250f09a0":"5cd54ca83def57da":0
  93. BLOWFISH-ECB Decrypt SSLeay reference #11
  94. blowfish_decrypt_ecb:"07a1133e4a0b2686":"1730e5778bea1da4":"0248d43806f67172":0
  95. BLOWFISH-ECB Decrypt SSLeay reference #12
  96. blowfish_decrypt_ecb:"3849674c2602319e":"a25e7856cf2651eb":"51454b582ddf440a":0
  97. BLOWFISH-ECB Decrypt SSLeay reference #13
  98. blowfish_decrypt_ecb:"04b915ba43feb5b6":"353882b109ce8f1a":"42fd443059577fa2":0
  99. BLOWFISH-ECB Decrypt SSLeay reference #14
  100. blowfish_decrypt_ecb:"0113b970fd34f2ce":"48f4d0884c379918":"059b5e0851cf143a":0
  101. BLOWFISH-ECB Decrypt SSLeay reference #15
  102. blowfish_decrypt_ecb:"0170f175468fb5e6":"432193b78951fc98":"0756d8e0774761d2":0
  103. BLOWFISH-ECB Decrypt SSLeay reference #16
  104. blowfish_decrypt_ecb:"43297fad38e373fe":"13f04154d69d1ae5":"762514b829bf486a":0
  105. BLOWFISH-ECB Decrypt SSLeay reference #17
  106. blowfish_decrypt_ecb:"07a7137045da2a16":"2eedda93ffd39c79":"3bdd119049372802":0
  107. BLOWFISH-ECB Decrypt SSLeay reference #18
  108. blowfish_decrypt_ecb:"04689104c2fd3b2f":"d887e0393c2da6e3":"26955f6835af609a":0
  109. BLOWFISH-ECB Decrypt SSLeay reference #19
  110. blowfish_decrypt_ecb:"37d06bb516cb7546":"5f99d04f5b163969":"164d5e404f275232":0
  111. BLOWFISH-ECB Decrypt SSLeay reference #20
  112. blowfish_decrypt_ecb:"1f08260d1ac2465e":"4a057a3b24d3977b":"6b056e18759f5cca":0
  113. BLOWFISH-ECB Decrypt SSLeay reference #21
  114. blowfish_decrypt_ecb:"584023641aba6176":"452031c1e4fada8e":"004bd6ef09176062":0
  115. BLOWFISH-ECB Decrypt SSLeay reference #22
  116. blowfish_decrypt_ecb:"025816164629b007":"7555ae39f59b87bd":"480d39006ee762f2":0
  117. BLOWFISH-ECB Decrypt SSLeay reference #23
  118. blowfish_decrypt_ecb:"49793ebc79b3258f":"53c55f9cb49fc019":"437540c8698f3cfa":0
  119. BLOWFISH-ECB Decrypt SSLeay reference #24
  120. blowfish_decrypt_ecb:"4fb05e1515ab73a7":"7a8e7bfa937e89a3":"072d43a077075292":0
  121. BLOWFISH-ECB Decrypt SSLeay reference #25
  122. blowfish_decrypt_ecb:"49e95d6d4ca229bf":"cf9c5d7a4986adb5":"02fe55778117f12a":0
  123. BLOWFISH-ECB Decrypt SSLeay reference #26
  124. blowfish_decrypt_ecb:"018310dc409b26d6":"d1abb290658bc778":"1d9d5c5018f728c2":0
  125. BLOWFISH-ECB Decrypt SSLeay reference #27
  126. blowfish_decrypt_ecb:"1c587f1c13924fef":"55cb3774d13ef201":"305532286d6f295a":0
  127. BLOWFISH-ECB Decrypt SSLeay reference #28
  128. blowfish_decrypt_ecb:"0101010101010101":"fa34ec4847b268b2":"0123456789abcdef":0
  129. BLOWFISH-ECB Decrypt SSLeay reference #29
  130. blowfish_decrypt_ecb:"1f1f1f1f0e0e0e0e":"a790795108ea3cae":"0123456789abcdef":0
  131. BLOWFISH-ECB Decrypt SSLeay reference #30
  132. blowfish_decrypt_ecb:"e0fee0fef1fef1fe":"c39e072d9fac631d":"0123456789abcdef":0
  133. BLOWFISH-ECB Decrypt SSLeay reference #31
  134. blowfish_decrypt_ecb:"0000000000000000":"014933e0cdaff6e4":"ffffffffffffffff":0
  135. BLOWFISH-ECB Decrypt SSLeay reference #32
  136. blowfish_decrypt_ecb:"ffffffffffffffff":"f21e9a77b71c49bc":"0000000000000000":0
  137. BLOWFISH-ECB Decrypt SSLeay reference #33
  138. blowfish_decrypt_ecb:"0123456789abcdef":"245946885754369a":"0000000000000000":0
  139. BLOWFISH-ECB Decrypt SSLeay reference #34
  140. blowfish_decrypt_ecb:"fedcba9876543210":"6b5c5a9c5d9e0a5a":"ffffffffffffffff":0
  141. BLOWFISH-SETKEY Setkey SSLeay reference #1
  142. blowfish_encrypt_ecb:"f0":"fedcba9876543210":"":MBEDTLS_ERR_BLOWFISH_BAD_INPUT_DATA
  143. BLOWFISH-SETKEY Setkey SSLeay reference #2
  144. blowfish_encrypt_ecb:"f0e1":"fedcba9876543210":"":MBEDTLS_ERR_BLOWFISH_BAD_INPUT_DATA
  145. BLOWFISH-SETKEY Setkey SSLeay reference #3
  146. blowfish_encrypt_ecb:"f0e1d2":"fedcba9876543210":"":MBEDTLS_ERR_BLOWFISH_BAD_INPUT_DATA
  147. BLOWFISH-SETKEY Setkey SSLeay reference #4
  148. blowfish_encrypt_ecb:"f0e1d2c3":"fedcba9876543210":"be1e639408640f05":0
  149. BLOWFISH-SETKEY Setkey SSLeay reference #5
  150. blowfish_encrypt_ecb:"f0e1d2c3b4":"fedcba9876543210":"b39e44481bdb1e6e":0
  151. BLOWFISH-SETKEY Setkey SSLeay reference #6
  152. blowfish_encrypt_ecb:"f0e1d2c3b4a5":"fedcba9876543210":"9457aa83b1928c0d":0
  153. BLOWFISH-SETKEY Setkey SSLeay reference #7
  154. blowfish_encrypt_ecb:"f0e1d2c3b4a596":"fedcba9876543210":"8bb77032f960629d":0
  155. BLOWFISH-SETKEY Setkey SSLeay reference #8
  156. blowfish_encrypt_ecb:"f0e1d2c3b4a59687":"fedcba9876543210":"e87a244e2cc85e82":0
  157. BLOWFISH-SETKEY Setkey SSLeay reference #9
  158. blowfish_encrypt_ecb:"f0e1d2c3b4a5968778":"fedcba9876543210":"15750e7a4f4ec577":0
  159. BLOWFISH-SETKEY Setkey SSLeay reference #10
  160. blowfish_encrypt_ecb:"f0e1d2c3b4a596877869":"fedcba9876543210":"122ba70b3ab64ae0":0
  161. BLOWFISH-SETKEY Setkey SSLeay reference #11
  162. blowfish_encrypt_ecb:"f0e1d2c3b4a5968778695a":"fedcba9876543210":"3a833c9affc537f6":0
  163. BLOWFISH-SETKEY Setkey SSLeay reference #12
  164. blowfish_encrypt_ecb:"f0e1d2c3b4a5968778695a4b":"fedcba9876543210":"9409da87a90f6bf2":0
  165. BLOWFISH-SETKEY Setkey SSLeay reference #13
  166. blowfish_encrypt_ecb:"f0e1d2c3b4a5968778695a4b3c":"fedcba9876543210":"884f80625060b8b4":0
  167. BLOWFISH-SETKEY Setkey SSLeay reference #14
  168. blowfish_encrypt_ecb:"f0e1d2c3b4a5968778695a4b3c2d":"fedcba9876543210":"1f85031c19e11968":0
  169. BLOWFISH-SETKEY Setkey SSLeay reference #15
  170. blowfish_encrypt_ecb:"f0e1d2c3b4a5968778695a4b3c2d1e":"fedcba9876543210":"79d9373a714ca34f":0
  171. BLOWFISH-SETKEY Setkey SSLeay reference #16
  172. blowfish_encrypt_ecb:"f0e1d2c3b4a5968778695a4b3c2d1e0f":"fedcba9876543210":"93142887ee3be15c":0
  173. BLOWFISH-SETKEY Setkey SSLeay reference #17
  174. blowfish_encrypt_ecb:"f0e1d2c3b4a5968778695a4b3c2d1e0f00":"fedcba9876543210":"03429e838ce2d14b":0
  175. BLOWFISH-SETKEY Setkey SSLeay reference #18
  176. blowfish_encrypt_ecb:"f0e1d2c3b4a5968778695a4b3c2d1e0f0011":"fedcba9876543210":"a4299e27469ff67b":0
  177. BLOWFISH-SETKEY Setkey SSLeay reference #19
  178. blowfish_encrypt_ecb:"f0e1d2c3b4a5968778695a4b3c2d1e0f001122":"fedcba9876543210":"afd5aed1c1bc96a8":0
  179. BLOWFISH-SETKEY Setkey SSLeay reference #20
  180. blowfish_encrypt_ecb:"f0e1d2c3b4a5968778695a4b3c2d1e0f00112233":"fedcba9876543210":"10851c0e3858da9f":0
  181. BLOWFISH-SETKEY Setkey SSLeay reference #21
  182. blowfish_encrypt_ecb:"f0e1d2c3b4a5968778695a4b3c2d1e0f0011223344":"fedcba9876543210":"e6f51ed79b9db21f":0
  183. BLOWFISH-SETKEY Setkey SSLeay reference #22
  184. blowfish_encrypt_ecb:"f0e1d2c3b4a5968778695a4b3c2d1e0f001122334455":"fedcba9876543210":"64a6e14afd36b46f":0
  185. BLOWFISH-SETKEY Setkey SSLeay reference #23
  186. blowfish_encrypt_ecb:"f0e1d2c3b4a5968778695a4b3c2d1e0f00112233445566":"fedcba9876543210":"80c7d7d45a5479ad":0
  187. BLOWFISH-SETKEY Setkey SSLeay reference #24
  188. blowfish_encrypt_ecb:"f0e1d2c3b4a5968778695a4b3c2d1e0f0011223344556677":"fedcba9876543210":"05044b62fa52d080":0
  189. BLOWFISH-SETKEY Setkey 440 bits
  190. blowfish_encrypt_ecb:"f0e1d2c3b4a5968778695a4b3c2d1e0f00112233445566778899aabbccddeeff0123456789abcdef0102030405060708090a0b0c0d0e0f":"fedcba9876543210":"9a2ab8f1b00c73d2":0
  191. BLOWFISH-SETKEY Setkey 448 bits
  192. blowfish_encrypt_ecb:"f0e1d2c3b4a5968778695a4b3c2d1e0f00112233445566778899aabbccddeeff0123456789abcdef0102030405060708090a0b0c0d0e0fff":"fedcba9876543210":"2fb3ab7f0ee91b69":0
  193. BLOWFISH-SETKEY Setkey 456 bits
  194. blowfish_encrypt_ecb:"f0e1d2c3b4a5968778695a4b3c2d1e0f00112233445566778899aabbccddeeff0123456789abcdef0102030405060708090a0b0c0d0e0fffff":"fedcba9876543210":"":MBEDTLS_ERR_BLOWFISH_BAD_INPUT_DATA
  195. BLOWFISH-CBC Encrypt [#1]
  196. blowfish_encrypt_cbc:"0123456789ABCDEFF0E1D2C3B4A59687":"FEDCBA9876543210":"37363534333231204E6F77206973207468652074696D6520666F722000000000":"6b77b4d63006dee605b156e27403979358deb9e7154616d959f1652bd5ff92cc":0
  197. BLOWFISH-CBC Decrypt [#1]
  198. blowfish_decrypt_cbc:"0123456789ABCDEFF0E1D2C3B4A59687":"FEDCBA9876543210":"6B77B4D63006DEE605B156E27403979358DEB9E7154616D959F1652BD5FF92CC":"37363534333231204e6f77206973207468652074696d6520666f722000000000":0
  199. BLOWFISH-CBC Encrypt [#2]
  200. blowfish_encrypt_cbc:"0123456789ABCDEFF0E1D2C3B4A59687":"FEDCBA9876543210":"37363534333231204E6F77206973207468652074696D6520666F7220000000":"":MBEDTLS_ERR_BLOWFISH_INVALID_INPUT_LENGTH
  201. BLOWFISH-CBC Decrypt [#2]
  202. blowfish_decrypt_cbc:"0123456789ABCDEFF0E1D2C3B4A59687":"FEDCBA9876543210":"6B77B4D63006DEE605B156E27403979358DEB9E7154616D959F1652BD5FF92CC00":"":MBEDTLS_ERR_BLOWFISH_INVALID_INPUT_LENGTH
  203. BLOWFISH-CFB Encrypt
  204. blowfish_encrypt_cfb64:"0123456789ABCDEFF0E1D2C3B4A59687":"FEDCBA9876543210":"37363534333231204E6F77206973207468652074696D6520666F722000":"e73214a2822139caf26ecf6d2eb9e76e3da3de04d1517200519d57a6c3"
  205. BLOWFISH-CFB Decrypt
  206. blowfish_decrypt_cfb64:"0123456789ABCDEFF0E1D2C3B4A59687":"FEDCBA9876543210":"E73214A2822139CAF26ECF6D2EB9E76E3DA3DE04D1517200519D57A6C3":"37363534333231204e6f77206973207468652074696d6520666f722000"
  207. BLOWFISH-CTR Encrypt
  208. blowfish_encrypt_ctr:"0123456789ABCDEFF0E1D2C3B4A59687":"FEDCBA9876543210":"37363534333231204E6F77206973207468652074696D6520666F722000":"e73214a2822139ca60254740dd8c5b8acf5e9569c4affeb944b8fc020e"
  209. BLOWFISH-CTR Decrypt
  210. blowfish_encrypt_ctr:"0123456789ABCDEFF0E1D2C3B4A59687":"FEDCBA9876543210":"e73214a2822139ca60254740dd8c5b8acf5e9569c4affeb944b8fc020e":"37363534333231204e6f77206973207468652074696d6520666f722000"