openssl/test/recipes/30-test_evp_data/evpciph_rc5.txt
Shane Lontis 6a41156c20 Add rc5 ciphers to default provider
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/10006)
2019-10-03 16:05:49 +10:00

87 lines
2.3 KiB
Plaintext

#
# Copyright 2019 The OpenSSL Project Authors. All Rights Reserved.
#
# Licensed under the Apache License 2.0 (the "License"). You may not use
# this file except in compliance with the License. You can obtain a copy
# in the file LICENSE in the source distribution or at
# https://www.openssl.org/source/license.html
#The following tests were generated using legacy code, to ensure that the
#provider ciphers have identical results.
Title = RC5 Tests
Cipher = RC5-ECB
Key = 00000000000000000000000000000000
Plaintext = 0000000000000000
Ciphertext = 21a5dbee154b8f6d
Cipher = RC5-ECB
Key = 00000000000000000000000000000000
Plaintext = 000102030405060708090A0B0C0D0E0F
Ciphertext = d9d37019aec1161b27d7ad56b21f0f42
Cipher = RC5-CBC
Key = 00000000000000000000000000000000
IV = 0000000000000000
Plaintext = 0000000000000000
Ciphertext = 21a5dbee154b8f6d
Cipher = RC5-CBC
Key = 0102030405060708090A0B0C0D0E0F10
IV = 0102030405060708
Plaintext = 000102030405060708090A0B0C0D0E0F
Ciphertext = eeebae12d768ac9e5b3d6072a9c76c65
Cipher = RC5-OFB
Key = 00000000000000000000000000000000
IV = 0000000000000000
Plaintext = 0000000000000000
Ciphertext = 21a5dbee154b8f6d
Cipher = RC5-OFB
Key = 0102030405060708090A0B0C0D0E0F10
IV = 0102030405060708
Plaintext = 000102030405060708090A0B0C0D0E0F
Ciphertext = c0ad101b40fc7ffdfc386ea5ecf458b7
Cipher = RC5-CFB
Key = 00000000000000000000000000000000
IV = 0000000000000000
Plaintext = 0000000000000000
Ciphertext = 21a5dbee154b8f6d
Cipher = RC5-CFB
Key = 0102030405060708090A0B0C0D0E0F10
IV = 0102030405060708
Plaintext = 000102030405060708090A0B0C0D0E0F
Ciphertext = c0ad101b40fc7ffdeb97c6173bf2987e
Cipher = RC5-CFB
Key = 0102030405060708090A0B0C0D0E0F10
IV = 0102030405060708
Rounds = 8
Plaintext = 000102030405060708090A0B0C0D0E0F
Ciphertext = 439945301dfa830885ac2f3cf5e61d0e
Cipher = RC5-CFB
Key = 0102030405060708090A0B0C0D0E0F10
IV = 0102030405060708
Rounds = 16
Plaintext = 000102030405060708090A0B0C0D0E0F
Ciphertext = 5ad80530f4a19e622d03cd4f2b165730
#Bad rounds
Cipher = RC5-CFB
Key = 0102030405060708090A0B0C0D0E0F10
IV = 0102030405060708
Rounds = 9
Plaintext = 000102030405060708090A0B0C0D0E0F
Result = INVALID_ROUNDS
#bigger key
Cipher = RC5-CFB
Key = 0102030405060708090A0B0C0D0E0F101213141516
IV = 0102030405060708
Plaintext = 000102030405060708090A0B0C0D0E0F
Ciphertext = b3724d2d9d1b9285e1338fd266c2277d