mirror of
https://github.com/openssl/openssl.git
synced 2024-12-15 06:01:37 +08:00
5ccada09aa
Changed many tests so they also test fips (and removed 'availablein = default' from some tests). Seperated the monolithic evppkey.txt file into smaller maintainable groups. Changed the availablein option so it must be first - this then skips the entire test before any fetching happens. Changed the code so that all the OPENSSL_NO_XXXX tests are done in code via methods such as is_cipher_disabled(alg), before the fetch happens. Added missing libctx's found by adding a libctx to test_evp. Broke up large data files for cipher, kdf's and mac's into smaller pieces so they no longer need 'AvailableIn = default' Added missing algorithm aliases for cipher/digests to the providers. Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/12236)
627 lines
21 KiB
Plaintext
627 lines
21 KiB
Plaintext
#
|
|
# Copyright 2001-2020 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
|
|
|
|
# Tests start with one of these keywords
|
|
# Cipher Decrypt Derive Digest Encoding KDF MAC PBE
|
|
# PrivPubKeyPair Sign Verify VerifyRecover
|
|
# and continue until a blank line. Lines starting with a pound sign are ignored.
|
|
|
|
Title = Camellia tests from RFC3713
|
|
|
|
# For all ECB encrypts and decrypts, the transformed sequence is
|
|
# CAMELLIA-bits-ECB:key::plaintext:ciphertext:encdec
|
|
Cipher = CAMELLIA-128-ECB
|
|
Key = 0123456789abcdeffedcba9876543210
|
|
Plaintext = 0123456789abcdeffedcba9876543210
|
|
Ciphertext = 67673138549669730857065648eabe43
|
|
|
|
Cipher = CAMELLIA-192-ECB
|
|
Key = 0123456789abcdeffedcba98765432100011223344556677
|
|
Plaintext = 0123456789abcdeffedcba9876543210
|
|
Ciphertext = b4993401b3e996f84ee5cee7d79b09b9
|
|
|
|
Cipher = CAMELLIA-256-ECB
|
|
Key = 0123456789abcdeffedcba987654321000112233445566778899aabbccddeeff
|
|
Plaintext = 0123456789abcdeffedcba9876543210
|
|
Ciphertext = 9acc237dff16d76c20ef7c919e3a7509
|
|
|
|
# ECB-CAMELLIA128.Encrypt
|
|
Cipher = CAMELLIA-128-ECB
|
|
Key = 000102030405060708090A0B0C0D0E0F
|
|
Operation = ENCRYPT
|
|
Plaintext = 00112233445566778899AABBCCDDEEFF
|
|
Ciphertext = 77CF412067AF8270613529149919546F
|
|
|
|
Cipher = CAMELLIA-192-ECB
|
|
Key = 000102030405060708090A0B0C0D0E0F1011121314151617
|
|
Operation = ENCRYPT
|
|
Plaintext = 00112233445566778899AABBCCDDEEFF
|
|
Ciphertext = B22F3C36B72D31329EEE8ADDC2906C68
|
|
|
|
Cipher = CAMELLIA-256-ECB
|
|
Key = 000102030405060708090A0B0C0D0E0F101112131415161718191A1B1C1D1E1F
|
|
Operation = ENCRYPT
|
|
Plaintext = 00112233445566778899AABBCCDDEEFF
|
|
Ciphertext = 2EDF1F3418D53B88841FC8985FB1ECF2
|
|
|
|
|
|
# ECB-CAMELLIA128.Encrypt and ECB-CAMELLIA128.Decrypt
|
|
Cipher = CAMELLIA-128-ECB
|
|
Key = 2B7E151628AED2A6ABF7158809CF4F3C
|
|
Plaintext = 6BC1BEE22E409F96E93D7E117393172A
|
|
Ciphertext = 432FC5DCD628115B7C388D770B270C96
|
|
|
|
Cipher = CAMELLIA-128-ECB
|
|
Key = 2B7E151628AED2A6ABF7158809CF4F3C
|
|
Plaintext = AE2D8A571E03AC9C9EB76FAC45AF8E51
|
|
Ciphertext = 0BE1F14023782A22E8384C5ABB7FAB2B
|
|
|
|
Cipher = CAMELLIA-128-ECB
|
|
Key = 2B7E151628AED2A6ABF7158809CF4F3C
|
|
Plaintext = 30C81C46A35CE411E5FBC1191A0A52EF
|
|
Ciphertext = A0A1ABCD1893AB6FE0FE5B65DF5F8636
|
|
|
|
Cipher = CAMELLIA-128-ECB
|
|
Key = 2B7E151628AED2A6ABF7158809CF4F3C
|
|
Plaintext = F69F2445DF4F9B17AD2B417BE66C3710
|
|
Ciphertext = E61925E0D5DFAA9BB29F815B3076E51A
|
|
|
|
|
|
# ECB-CAMELLIA192.Encrypt and ECB-CAMELLIA192.Decrypt
|
|
Cipher = CAMELLIA-192-ECB
|
|
Key = 8E73B0F7DA0E6452C810F32B809079E562F8EAD2522C6B7B
|
|
Plaintext = 6BC1BEE22E409F96E93D7E117393172A
|
|
Ciphertext = CCCC6C4E138B45848514D48D0D3439D3
|
|
|
|
Cipher = CAMELLIA-192-ECB
|
|
Key = 8E73B0F7DA0E6452C810F32B809079E562F8EAD2522C6B7B
|
|
Plaintext = AE2D8A571E03AC9C9EB76FAC45AF8E51
|
|
Ciphertext = 5713C62C14B2EC0F8393B6AFD6F5785A
|
|
|
|
Cipher = CAMELLIA-192-ECB
|
|
Key = 8E73B0F7DA0E6452C810F32B809079E562F8EAD2522C6B7B
|
|
Plaintext = 30C81C46A35CE411E5FBC1191A0A52EF
|
|
Ciphertext = B40ED2B60EB54D09D030CF511FEEF366
|
|
|
|
Cipher = CAMELLIA-192-ECB
|
|
Key = 8E73B0F7DA0E6452C810F32B809079E562F8EAD2522C6B7B
|
|
Plaintext = F69F2445DF4F9B17AD2B417BE66C3710
|
|
Ciphertext = 909DBD95799096748CB27357E73E1D26
|
|
|
|
|
|
# ECB-CAMELLIA256.Encrypt and ECB-CAMELLIA256.Decrypt
|
|
Cipher = CAMELLIA-256-ECB
|
|
Key = 603DEB1015CA71BE2B73AEF0857D77811F352C073B6108D72D9810A30914DFF4
|
|
Plaintext = 6BC1BEE22E409F96E93D7E117393172A
|
|
Ciphertext = BEFD219B112FA00098919CD101C9CCFA
|
|
|
|
Cipher = CAMELLIA-256-ECB
|
|
Key = 603DEB1015CA71BE2B73AEF0857D77811F352C073B6108D72D9810A30914DFF4
|
|
Plaintext = AE2D8A571E03AC9C9EB76FAC45AF8E51
|
|
Ciphertext = C91D3A8F1AEA08A9386CF4B66C0169EA
|
|
|
|
Cipher = CAMELLIA-256-ECB
|
|
Key = 603DEB1015CA71BE2B73AEF0857D77811F352C073B6108D72D9810A30914DFF4
|
|
Plaintext = 30C81C46A35CE411E5FBC1191A0A52EF
|
|
Ciphertext = A623D711DC5F25A51BB8A80D56397D28
|
|
|
|
Cipher = CAMELLIA-256-ECB
|
|
Key = 603DEB1015CA71BE2B73AEF0857D77811F352C073B6108D72D9810A30914DFF4
|
|
Plaintext = F69F2445DF4F9B17AD2B417BE66C3710
|
|
Ciphertext = 7960109FB6DC42947FCFE59EA3C5EB6B
|
|
|
|
|
|
# For all CBC encrypts and decrypts, the transformed sequence is
|
|
# CAMELLIA-bits-CBC:key:IV/ciphertext':plaintext:ciphertext:encdec
|
|
# CBC-CAMELLIA128.Encrypt and CBC-CAMELLIA128.Decrypt
|
|
Cipher = CAMELLIA-128-CBC
|
|
Key = 2B7E151628AED2A6ABF7158809CF4F3C
|
|
IV = 000102030405060708090A0B0C0D0E0F
|
|
Plaintext = 6BC1BEE22E409F96E93D7E117393172A
|
|
Ciphertext = 1607CF494B36BBF00DAEB0B503C831AB
|
|
|
|
Cipher = CAMELLIA-128-CBC
|
|
Key = 2B7E151628AED2A6ABF7158809CF4F3C
|
|
IV = 1607CF494B36BBF00DAEB0B503C831AB
|
|
Plaintext = AE2D8A571E03AC9C9EB76FAC45AF8E51
|
|
Ciphertext = A2F2CF671629EF7840C5A5DFB5074887
|
|
|
|
Cipher = CAMELLIA-128-CBC
|
|
Key = 2B7E151628AED2A6ABF7158809CF4F3C
|
|
IV = A2F2CF671629EF7840C5A5DFB5074887
|
|
Plaintext = 30C81C46A35CE411E5FBC1191A0A52EF
|
|
Ciphertext = 0F06165008CF8B8B5A63586362543E54
|
|
|
|
Cipher = CAMELLIA-128-CBC
|
|
Key = 2B7E151628AED2A6ABF7158809CF4F3C
|
|
IV = 36A84CDAFD5F9A85ADA0F0A993D6D577
|
|
Plaintext = F69F2445DF4F9B17AD2B417BE66C3710
|
|
Ciphertext = 74C64268CDB8B8FAF5B34E8AF3732980
|
|
|
|
|
|
# CBC-CAMELLIA192.Encrypt and CBC-CAMELLIA192.Decrypt
|
|
Cipher = CAMELLIA-192-CBC
|
|
Key = 8E73B0F7DA0E6452C810F32B809079E562F8EAD2522C6B7B
|
|
IV = 000102030405060708090A0B0C0D0E0F
|
|
Plaintext = 6BC1BEE22E409F96E93D7E117393172A
|
|
Ciphertext = 2A4830AB5AC4A1A2405955FD2195CF93
|
|
|
|
Cipher = CAMELLIA-192-CBC
|
|
Key = 8E73B0F7DA0E6452C810F32B809079E562F8EAD2522C6B7B
|
|
IV = 2A4830AB5AC4A1A2405955FD2195CF93
|
|
Plaintext = AE2D8A571E03AC9C9EB76FAC45AF8E51
|
|
Ciphertext = 5D5A869BD14CE54264F892A6DD2EC3D5
|
|
|
|
Cipher = CAMELLIA-192-CBC
|
|
Key = 8E73B0F7DA0E6452C810F32B809079E562F8EAD2522C6B7B
|
|
IV = 5D5A869BD14CE54264F892A6DD2EC3D5
|
|
Plaintext = 30C81C46A35CE411E5FBC1191A0A52EF
|
|
Ciphertext = 37D359C3349836D884E310ADDF68C449
|
|
|
|
Cipher = CAMELLIA-192-CBC
|
|
Key = 8E73B0F7DA0E6452C810F32B809079E562F8EAD2522C6B7B
|
|
IV = 37D359C3349836D884E310ADDF68C449
|
|
Plaintext = F69F2445DF4F9B17AD2B417BE66C3710
|
|
Ciphertext = 01FAAA930B4AB9916E9668E1428C6B08
|
|
|
|
|
|
# CBC-CAMELLIA256.Encrypt and CBC-CAMELLIA256.Decrypt
|
|
Cipher = CAMELLIA-256-CBC
|
|
Key = 603DEB1015CA71BE2B73AEF0857D77811F352C073B6108D72D9810A30914DFF4
|
|
IV = 000102030405060708090A0B0C0D0E0F
|
|
Plaintext = 6BC1BEE22E409F96E93D7E117393172A
|
|
Ciphertext = E6CFA35FC02B134A4D2C0B6737AC3EDA
|
|
|
|
Cipher = CAMELLIA-256-CBC
|
|
Key = 603DEB1015CA71BE2B73AEF0857D77811F352C073B6108D72D9810A30914DFF4
|
|
IV = E6CFA35FC02B134A4D2C0B6737AC3EDA
|
|
Plaintext = AE2D8A571E03AC9C9EB76FAC45AF8E51
|
|
Ciphertext = 36CBEB73BD504B4070B1B7DE2B21EB50
|
|
|
|
Cipher = CAMELLIA-256-CBC
|
|
Key = 603DEB1015CA71BE2B73AEF0857D77811F352C073B6108D72D9810A30914DFF4
|
|
IV = 36CBEB73BD504B4070B1B7DE2B21EB50
|
|
Plaintext = 30C81C46A35CE411E5FBC1191A0A52EF
|
|
Ciphertext = E31A6055297D96CA3330CDF1B1860A83
|
|
|
|
Cipher = CAMELLIA-256-CBC
|
|
Key = 603DEB1015CA71BE2B73AEF0857D77811F352C073B6108D72D9810A30914DFF4
|
|
IV = E31A6055297D96CA3330CDF1B1860A83
|
|
Plaintext = F69F2445DF4F9B17AD2B417BE66C3710
|
|
Ciphertext = 5D563F6D1CCCF236051C0C5C1C58F28F
|
|
|
|
|
|
# We don't support CFB{1,8}-CAMELLIAxxx.{En,De}crypt
|
|
# For all CFB128 encrypts and decrypts, the transformed sequence is
|
|
# CAMELLIA-bits-CFB:key:IV/ciphertext':plaintext:ciphertext:encdec
|
|
# CFB128-CAMELLIA128.Encrypt
|
|
Cipher = CAMELLIA-128-CFB
|
|
Key = 2B7E151628AED2A6ABF7158809CF4F3C
|
|
IV = 000102030405060708090A0B0C0D0E0F
|
|
Operation = ENCRYPT
|
|
Plaintext = 6BC1BEE22E409F96E93D7E117393172A
|
|
Ciphertext = 14F7646187817EB586599146B82BD719
|
|
|
|
Cipher = CAMELLIA-128-CFB
|
|
Key = 2B7E151628AED2A6ABF7158809CF4F3C
|
|
IV = 14F7646187817EB586599146B82BD719
|
|
Operation = ENCRYPT
|
|
Plaintext = AE2D8A571E03AC9C9EB76FAC45AF8E51
|
|
Ciphertext = A53D28BB82DF741103EA4F921A44880B
|
|
|
|
Cipher = CAMELLIA-128-CFB
|
|
Key = 2B7E151628AED2A6ABF7158809CF4F3C
|
|
IV = A53D28BB82DF741103EA4F921A44880B
|
|
Operation = ENCRYPT
|
|
Plaintext = 30C81C46A35CE411E5FBC1191A0A52EF
|
|
Ciphertext = 9C2157A664626D1DEF9EA420FDE69B96
|
|
|
|
Cipher = CAMELLIA-128-CFB
|
|
Key = 2B7E151628AED2A6ABF7158809CF4F3C
|
|
IV = 9C2157A664626D1DEF9EA420FDE69B96
|
|
Operation = ENCRYPT
|
|
Plaintext = F69F2445DF4F9B17AD2B417BE66C3710
|
|
Ciphertext = 742A25F0542340C7BAEF24CA8482BB09
|
|
|
|
|
|
# CFB128-CAMELLIA128.Decrypt
|
|
Cipher = CAMELLIA-128-CFB
|
|
Key = 2B7E151628AED2A6ABF7158809CF4F3C
|
|
IV = 000102030405060708090A0B0C0D0E0F
|
|
Operation = DECRYPT
|
|
Plaintext = 6BC1BEE22E409F96E93D7E117393172A
|
|
Ciphertext = 14F7646187817EB586599146B82BD719
|
|
|
|
Cipher = CAMELLIA-128-CFB
|
|
Key = 2B7E151628AED2A6ABF7158809CF4F3C
|
|
IV = 14F7646187817EB586599146B82BD719
|
|
Operation = DECRYPT
|
|
Plaintext = AE2D8A571E03AC9C9EB76FAC45AF8E51
|
|
Ciphertext = A53D28BB82DF741103EA4F921A44880B
|
|
|
|
Cipher = CAMELLIA-128-CFB
|
|
Key = 2B7E151628AED2A6ABF7158809CF4F3C
|
|
IV = A53D28BB82DF741103EA4F921A44880B
|
|
Operation = DECRYPT
|
|
Plaintext = 30C81C46A35CE411E5FBC1191A0A52EF
|
|
Ciphertext = 9C2157A664626D1DEF9EA420FDE69B96
|
|
|
|
Cipher = CAMELLIA-128-CFB
|
|
Key = 2B7E151628AED2A6ABF7158809CF4F3C
|
|
IV = 9C2157A664626D1DEF9EA420FDE69B96
|
|
Operation = DECRYPT
|
|
Plaintext = F69F2445DF4F9B17AD2B417BE66C3710
|
|
Ciphertext = 742A25F0542340C7BAEF24CA8482BB09
|
|
|
|
|
|
# CFB128-CAMELLIA192.Encrypt
|
|
Cipher = CAMELLIA-192-CFB
|
|
Key = 8E73B0F7DA0E6452C810F32B809079E562F8EAD2522C6B7B
|
|
IV = 000102030405060708090A0B0C0D0E0F
|
|
Operation = ENCRYPT
|
|
Plaintext = 6BC1BEE22E409F96E93D7E117393172A
|
|
Ciphertext = C832BB9780677DAA82D9B6860DCD565E
|
|
|
|
Cipher = CAMELLIA-192-CFB
|
|
Key = 8E73B0F7DA0E6452C810F32B809079E562F8EAD2522C6B7B
|
|
IV = C832BB9780677DAA82D9B6860DCD565E
|
|
Operation = ENCRYPT
|
|
Plaintext = AE2D8A571E03AC9C9EB76FAC45AF8E51
|
|
Ciphertext = 86F8491627906D780C7A6D46EA331F98
|
|
|
|
Cipher = CAMELLIA-192-CFB
|
|
Key = 8E73B0F7DA0E6452C810F32B809079E562F8EAD2522C6B7B
|
|
IV = 86F8491627906D780C7A6D46EA331F98
|
|
Operation = ENCRYPT
|
|
Plaintext = 30C81C46A35CE411E5FBC1191A0A52EF
|
|
Ciphertext = 69511CCE594CF710CB98BB63D7221F01
|
|
|
|
Cipher = CAMELLIA-192-CFB
|
|
Key = 8E73B0F7DA0E6452C810F32B809079E562F8EAD2522C6B7B
|
|
IV = 69511CCE594CF710CB98BB63D7221F01
|
|
Operation = ENCRYPT
|
|
Plaintext = F69F2445DF4F9B17AD2B417BE66C3710
|
|
Ciphertext = D5B5378A3ABED55803F25565D8907B84
|
|
|
|
|
|
# CFB128-CAMELLIA192.Decrypt
|
|
Cipher = CAMELLIA-192-CFB
|
|
Key = 8E73B0F7DA0E6452C810F32B809079E562F8EAD2522C6B7B
|
|
IV = 000102030405060708090A0B0C0D0E0F
|
|
Operation = DECRYPT
|
|
Plaintext = 6BC1BEE22E409F96E93D7E117393172A
|
|
Ciphertext = C832BB9780677DAA82D9B6860DCD565E
|
|
|
|
Cipher = CAMELLIA-192-CFB
|
|
Key = 8E73B0F7DA0E6452C810F32B809079E562F8EAD2522C6B7B
|
|
IV = C832BB9780677DAA82D9B6860DCD565E
|
|
Operation = DECRYPT
|
|
Plaintext = AE2D8A571E03AC9C9EB76FAC45AF8E51
|
|
Ciphertext = 86F8491627906D780C7A6D46EA331F98
|
|
|
|
Cipher = CAMELLIA-192-CFB
|
|
Key = 8E73B0F7DA0E6452C810F32B809079E562F8EAD2522C6B7B
|
|
IV = 86F8491627906D780C7A6D46EA331F98
|
|
Operation = DECRYPT
|
|
Plaintext = 30C81C46A35CE411E5FBC1191A0A52EF
|
|
Ciphertext = 69511CCE594CF710CB98BB63D7221F01
|
|
|
|
Cipher = CAMELLIA-192-CFB
|
|
Key = 8E73B0F7DA0E6452C810F32B809079E562F8EAD2522C6B7B
|
|
IV = 69511CCE594CF710CB98BB63D7221F01
|
|
Operation = DECRYPT
|
|
Plaintext = F69F2445DF4F9B17AD2B417BE66C3710
|
|
Ciphertext = D5B5378A3ABED55803F25565D8907B84
|
|
|
|
|
|
# CFB128-CAMELLIA256.Encrypt
|
|
Cipher = CAMELLIA-256-CFB
|
|
Key = 603DEB1015CA71BE2B73AEF0857D77811F352C073B6108D72D9810A30914DFF4
|
|
IV = 000102030405060708090A0B0C0D0E0F
|
|
Operation = ENCRYPT
|
|
Plaintext = 6BC1BEE22E409F96E93D7E117393172A
|
|
Ciphertext = CF6107BB0CEA7D7FB1BD31F5E7B06C93
|
|
|
|
Cipher = CAMELLIA-256-CFB
|
|
Key = 603DEB1015CA71BE2B73AEF0857D77811F352C073B6108D72D9810A30914DFF4
|
|
IV = CF6107BB0CEA7D7FB1BD31F5E7B06C93
|
|
Operation = ENCRYPT
|
|
Plaintext = AE2D8A571E03AC9C9EB76FAC45AF8E51
|
|
Ciphertext = 89BEDB4CCDD864EA11BA4CBE849B5E2B
|
|
|
|
Cipher = CAMELLIA-256-CFB
|
|
Key = 603DEB1015CA71BE2B73AEF0857D77811F352C073B6108D72D9810A30914DFF4
|
|
IV = 89BEDB4CCDD864EA11BA4CBE849B5E2B
|
|
Operation = ENCRYPT
|
|
Plaintext = 30C81C46A35CE411E5FBC1191A0A52EF
|
|
Ciphertext = 555FC3F34BDD2D54C62D9E3BF338C1C4
|
|
|
|
Cipher = CAMELLIA-256-CFB
|
|
Key = 603DEB1015CA71BE2B73AEF0857D77811F352C073B6108D72D9810A30914DFF4
|
|
IV = 555FC3F34BDD2D54C62D9E3BF338C1C4
|
|
Operation = ENCRYPT
|
|
Plaintext = F69F2445DF4F9B17AD2B417BE66C3710
|
|
Ciphertext = 5953ADCE14DB8C7F39F1BD39F359BFFA
|
|
|
|
|
|
# CFB128-CAMELLIA256.Decrypt
|
|
Cipher = CAMELLIA-256-CFB
|
|
Key = 603DEB1015CA71BE2B73AEF0857D77811F352C073B6108D72D9810A30914DFF4
|
|
IV = 000102030405060708090A0B0C0D0E0F
|
|
Operation = DECRYPT
|
|
Plaintext = 6BC1BEE22E409F96E93D7E117393172A
|
|
Ciphertext = CF6107BB0CEA7D7FB1BD31F5E7B06C93
|
|
|
|
Cipher = CAMELLIA-256-CFB
|
|
Key = 603DEB1015CA71BE2B73AEF0857D77811F352C073B6108D72D9810A30914DFF4
|
|
IV = CF6107BB0CEA7D7FB1BD31F5E7B06C93
|
|
Operation = DECRYPT
|
|
Plaintext = AE2D8A571E03AC9C9EB76FAC45AF8E51
|
|
Ciphertext = 89BEDB4CCDD864EA11BA4CBE849B5E2B
|
|
|
|
Cipher = CAMELLIA-256-CFB
|
|
Key = 603DEB1015CA71BE2B73AEF0857D77811F352C073B6108D72D9810A30914DFF4
|
|
IV = 89BEDB4CCDD864EA11BA4CBE849B5E2B
|
|
Operation = DECRYPT
|
|
Plaintext = 30C81C46A35CE411E5FBC1191A0A52EF
|
|
Ciphertext = 555FC3F34BDD2D54C62D9E3BF338C1C4
|
|
|
|
Cipher = CAMELLIA-256-CFB
|
|
Key = 603DEB1015CA71BE2B73AEF0857D77811F352C073B6108D72D9810A30914DFF4
|
|
IV = 555FC3F34BDD2D54C62D9E3BF338C1C4
|
|
Operation = DECRYPT
|
|
Plaintext = F69F2445DF4F9B17AD2B417BE66C3710
|
|
Ciphertext = 5953ADCE14DB8C7F39F1BD39F359BFFA
|
|
|
|
|
|
# For all OFB encrypts and decrypts, the transformed sequence is
|
|
# CAMELLIA-bits-OFB:key:IV/output':plaintext:ciphertext:encdec
|
|
# OFB-CAMELLIA128.Encrypt
|
|
Cipher = CAMELLIA-128-OFB
|
|
Key = 2B7E151628AED2A6ABF7158809CF4F3C
|
|
IV = 000102030405060708090A0B0C0D0E0F
|
|
Operation = ENCRYPT
|
|
Plaintext = 6BC1BEE22E409F96E93D7E117393172A
|
|
Ciphertext = 14F7646187817EB586599146B82BD719
|
|
|
|
Cipher = CAMELLIA-128-OFB
|
|
Key = 2B7E151628AED2A6ABF7158809CF4F3C
|
|
IV = 50FE67CC996D32B6DA0937E99BAFEC60
|
|
Operation = ENCRYPT
|
|
Plaintext = AE2D8A571E03AC9C9EB76FAC45AF8E51
|
|
Ciphertext = 25623DB569CA51E01482649977E28D84
|
|
|
|
Cipher = CAMELLIA-128-OFB
|
|
Key = 2B7E151628AED2A6ABF7158809CF4F3C
|
|
IV = D9A4DADA0892239F6B8B3D7680E15674
|
|
Operation = ENCRYPT
|
|
Plaintext = 30C81C46A35CE411E5FBC1191A0A52EF
|
|
Ciphertext = C776634A60729DC657D12B9FCA801E98
|
|
|
|
Cipher = CAMELLIA-128-OFB
|
|
Key = 2B7E151628AED2A6ABF7158809CF4F3C
|
|
IV = A78819583F0308E7A6BF36B1386ABF23
|
|
Operation = ENCRYPT
|
|
Plaintext = F69F2445DF4F9B17AD2B417BE66C3710
|
|
Ciphertext = D776379BE0E50825E681DA1A4C980E8E
|
|
|
|
|
|
# OFB-CAMELLIA128.Decrypt
|
|
Cipher = CAMELLIA-128-OFB
|
|
Key = 2B7E151628AED2A6ABF7158809CF4F3C
|
|
IV = 000102030405060708090A0B0C0D0E0F
|
|
Operation = DECRYPT
|
|
Plaintext = 6BC1BEE22E409F96E93D7E117393172A
|
|
Ciphertext = 14F7646187817EB586599146B82BD719
|
|
|
|
Cipher = CAMELLIA-128-OFB
|
|
Key = 2B7E151628AED2A6ABF7158809CF4F3C
|
|
IV = 50FE67CC996D32B6DA0937E99BAFEC60
|
|
Operation = DECRYPT
|
|
Plaintext = AE2D8A571E03AC9C9EB76FAC45AF8E51
|
|
Ciphertext = 25623DB569CA51E01482649977E28D84
|
|
|
|
Cipher = CAMELLIA-128-OFB
|
|
Key = 2B7E151628AED2A6ABF7158809CF4F3C
|
|
IV = D9A4DADA0892239F6B8B3D7680E15674
|
|
Operation = DECRYPT
|
|
Plaintext = 30C81C46A35CE411E5FBC1191A0A52EF
|
|
Ciphertext = C776634A60729DC657D12B9FCA801E98
|
|
|
|
Cipher = CAMELLIA-128-OFB
|
|
Key = 2B7E151628AED2A6ABF7158809CF4F3C
|
|
IV = A78819583F0308E7A6BF36B1386ABF23
|
|
Operation = DECRYPT
|
|
Plaintext = F69F2445DF4F9B17AD2B417BE66C3710
|
|
Ciphertext = D776379BE0E50825E681DA1A4C980E8E
|
|
|
|
|
|
# OFB-CAMELLIA192.Encrypt
|
|
Cipher = CAMELLIA-192-OFB
|
|
Key = 8E73B0F7DA0E6452C810F32B809079E562F8EAD2522C6B7B
|
|
IV = 000102030405060708090A0B0C0D0E0F
|
|
Operation = ENCRYPT
|
|
Plaintext = 6BC1BEE22E409F96E93D7E117393172A
|
|
Ciphertext = C832BB9780677DAA82D9B6860DCD565E
|
|
|
|
Cipher = CAMELLIA-192-OFB
|
|
Key = 8E73B0F7DA0E6452C810F32B809079E562F8EAD2522C6B7B
|
|
IV = A609B38DF3B1133DDDFF2718BA09565E
|
|
Operation = ENCRYPT
|
|
Plaintext = AE2D8A571E03AC9C9EB76FAC45AF8E51
|
|
Ciphertext = 8ECEB7D0350D72C7F78562AEBDF99339
|
|
|
|
Cipher = CAMELLIA-192-OFB
|
|
Key = 8E73B0F7DA0E6452C810F32B809079E562F8EAD2522C6B7B
|
|
IV = 52EF01DA52602FE0975F78AC84BF8A50
|
|
Operation = ENCRYPT
|
|
Plaintext = 30C81C46A35CE411E5FBC1191A0A52EF
|
|
Ciphertext = BDD62DBBB9700846C53B507F544696F0
|
|
|
|
Cipher = CAMELLIA-192-OFB
|
|
Key = 8E73B0F7DA0E6452C810F32B809079E562F8EAD2522C6B7B
|
|
IV = BD5286AC63AABD7EB067AC54B553F71D
|
|
Operation = ENCRYPT
|
|
Plaintext = F69F2445DF4F9B17AD2B417BE66C3710
|
|
Ciphertext = E28014E046B802F385C4C2E13EAD4A72
|
|
|
|
|
|
# OFB-CAMELLIA192.Decrypt
|
|
Cipher = CAMELLIA-192-OFB
|
|
Key = 8E73B0F7DA0E6452C810F32B809079E562F8EAD2522C6B7B
|
|
IV = 000102030405060708090A0B0C0D0E0F
|
|
Operation = DECRYPT
|
|
Plaintext = 6BC1BEE22E409F96E93D7E117393172A
|
|
Ciphertext = C832BB9780677DAA82D9B6860DCD565E
|
|
|
|
Cipher = CAMELLIA-192-OFB
|
|
Key = 8E73B0F7DA0E6452C810F32B809079E562F8EAD2522C6B7B
|
|
IV = A609B38DF3B1133DDDFF2718BA09565E
|
|
Operation = DECRYPT
|
|
Plaintext = AE2D8A571E03AC9C9EB76FAC45AF8E51
|
|
Ciphertext = 8ECEB7D0350D72C7F78562AEBDF99339
|
|
|
|
Cipher = CAMELLIA-192-OFB
|
|
Key = 8E73B0F7DA0E6452C810F32B809079E562F8EAD2522C6B7B
|
|
IV = 52EF01DA52602FE0975F78AC84BF8A50
|
|
Operation = DECRYPT
|
|
Plaintext = 30C81C46A35CE411E5FBC1191A0A52EF
|
|
Ciphertext = BDD62DBBB9700846C53B507F544696F0
|
|
|
|
Cipher = CAMELLIA-192-OFB
|
|
Key = 8E73B0F7DA0E6452C810F32B809079E562F8EAD2522C6B7B
|
|
IV = BD5286AC63AABD7EB067AC54B553F71D
|
|
Operation = DECRYPT
|
|
Plaintext = F69F2445DF4F9B17AD2B417BE66C3710
|
|
Ciphertext = E28014E046B802F385C4C2E13EAD4A72
|
|
|
|
|
|
# OFB-CAMELLIA256.Encrypt
|
|
Cipher = CAMELLIA-256-OFB
|
|
Key = 603DEB1015CA71BE2B73AEF0857D77811F352C073B6108D72D9810A30914DFF4
|
|
IV = 000102030405060708090A0B0C0D0E0F
|
|
Operation = ENCRYPT
|
|
Plaintext = 6BC1BEE22E409F96E93D7E117393172A
|
|
Ciphertext = CF6107BB0CEA7D7FB1BD31F5E7B06C93
|
|
|
|
Cipher = CAMELLIA-256-OFB
|
|
Key = 603DEB1015CA71BE2B73AEF0857D77811F352C073B6108D72D9810A30914DFF4
|
|
IV = B7BF3A5DF43989DD97F0FA97EBCE2F4A
|
|
Operation = ENCRYPT
|
|
Plaintext = AE2D8A571E03AC9C9EB76FAC45AF8E51
|
|
Ciphertext = 127AD97E8E3994E4820027D7BA109368
|
|
|
|
Cipher = CAMELLIA-256-OFB
|
|
Key = 603DEB1015CA71BE2B73AEF0857D77811F352C073B6108D72D9810A30914DFF4
|
|
IV = E1C656305ED1A7A6563805746FE03EDC
|
|
Operation = ENCRYPT
|
|
Plaintext = 30C81C46A35CE411E5FBC1191A0A52EF
|
|
Ciphertext = 6BFF6265A6A6B7A535BC65A80B17214E
|
|
|
|
Cipher = CAMELLIA-256-OFB
|
|
Key = 603DEB1015CA71BE2B73AEF0857D77811F352C073B6108D72D9810A30914DFF4
|
|
IV = 41635BE625B48AFC1666DD42A09D96E7
|
|
Operation = ENCRYPT
|
|
Plaintext = F69F2445DF4F9B17AD2B417BE66C3710
|
|
Ciphertext = 0A4A0404E26AA78A27CB271E8BF3CF20
|
|
|
|
|
|
# OFB-CAMELLIA256.Decrypt
|
|
Cipher = CAMELLIA-256-OFB
|
|
Key = 603DEB1015CA71BE2B73AEF0857D77811F352C073B6108D72D9810A30914DFF4
|
|
IV = 000102030405060708090A0B0C0D0E0F
|
|
Operation = DECRYPT
|
|
Plaintext = 6BC1BEE22E409F96E93D7E117393172A
|
|
Ciphertext = CF6107BB0CEA7D7FB1BD31F5E7B06C93
|
|
|
|
Cipher = CAMELLIA-256-OFB
|
|
Key = 603DEB1015CA71BE2B73AEF0857D77811F352C073B6108D72D9810A30914DFF4
|
|
IV = B7BF3A5DF43989DD97F0FA97EBCE2F4A
|
|
Operation = DECRYPT
|
|
Plaintext = AE2D8A571E03AC9C9EB76FAC45AF8E51
|
|
Ciphertext = 127AD97E8E3994E4820027D7BA109368
|
|
|
|
Cipher = CAMELLIA-256-OFB
|
|
Key = 603DEB1015CA71BE2B73AEF0857D77811F352C073B6108D72D9810A30914DFF4
|
|
IV = E1C656305ED1A7A6563805746FE03EDC
|
|
Operation = DECRYPT
|
|
Plaintext = 30C81C46A35CE411E5FBC1191A0A52EF
|
|
Ciphertext = 6BFF6265A6A6B7A535BC65A80B17214E
|
|
|
|
Cipher = CAMELLIA-256-OFB
|
|
Key = 603DEB1015CA71BE2B73AEF0857D77811F352C073B6108D72D9810A30914DFF4
|
|
IV = 41635BE625B48AFC1666DD42A09D96E7
|
|
Operation = DECRYPT
|
|
Plaintext = F69F2445DF4F9B17AD2B417BE66C3710
|
|
Ciphertext = 0A4A0404E26AA78A27CB271E8BF3CF20
|
|
|
|
|
|
# Camellia test vectors from RFC5528
|
|
Cipher = CAMELLIA-128-CTR
|
|
Key = AE6852F8121067CC4BF7A5765577F39E
|
|
IV = 00000030000000000000000000000001
|
|
Operation = ENCRYPT
|
|
Plaintext = 53696E676C6520626C6F636B206D7367
|
|
Ciphertext = D09DC29A8214619A20877C76DB1F0B3F
|
|
|
|
Cipher = CAMELLIA-128-CTR
|
|
Key = 7E24067817FAE0D743D6CE1F32539163
|
|
IV = 006CB6DBC0543B59DA48D90B00000001
|
|
Operation = ENCRYPT
|
|
Plaintext = 000102030405060708090A0B0C0D0E0F101112131415161718191A1B1C1D1E1F
|
|
Ciphertext = DBF3C78DC08396D4DA7C907765BBCB442B8E8E0F31F0DCA72C7417E35360E048
|
|
|
|
Cipher = CAMELLIA-128-CTR
|
|
Key = 7691BE035E5020A8AC6E618529F9A0DC
|
|
IV = 00E0017B27777F3F4A1786F000000001
|
|
Operation = ENCRYPT
|
|
Plaintext = 000102030405060708090A0B0C0D0E0F101112131415161718191A1B1C1D1E1F20212223
|
|
Ciphertext = B19D1FCDCB75EB882F849CE24D85CF739CE64B2B5C9D73F14F2D5D9DCE9889CDDF508696
|
|
|
|
Cipher = CAMELLIA-192-CTR
|
|
Key = 16AF5B145FC9F579C175F93E3BFB0EED863D06CCFDB78515
|
|
IV = 0000004836733C147D6D93CB00000001
|
|
Operation = ENCRYPT
|
|
Plaintext = 53696E676C6520626C6F636B206D7367
|
|
Ciphertext = 2379399E8A8D2B2B16702FC78B9E9696
|
|
|
|
Cipher = CAMELLIA-192-CTR
|
|
Key = 7C5CB2401B3DC33C19E7340819E0F69C678C3DB8E6F6A91A
|
|
IV = 0096B03B020C6EADC2CB500D00000001
|
|
Operation = ENCRYPT
|
|
Plaintext = 000102030405060708090A0B0C0D0E0F101112131415161718191A1B1C1D1E1F
|
|
Ciphertext = 7DEF34F7A5D0E415674B7FFCAE67C75DD018B86FF23051E056392A99F35A4CED
|
|
|
|
Cipher = CAMELLIA-192-CTR
|
|
Key = 02BF391EE8ECB159B959617B0965279BF59B60A786D3E0FE
|
|
IV = 0007BDFD5CBD60278DCC091200000001
|
|
Operation = ENCRYPT
|
|
Plaintext = 000102030405060708090A0B0C0D0E0F101112131415161718191A1B1C1D1E1F20212223
|
|
Ciphertext = 5710E556E1487A20B5AC0E73F19E4E7876F37FDC91B1EF4D4DADE8E666A64D0ED557AB57
|
|
|
|
Cipher = CAMELLIA-256-CTR
|
|
Key = 776BEFF2851DB06F4C8A0542C8696F6C6A81AF1EEC96B4D37FC1D689E6C1C104
|
|
IV = 00000060DB5672C97AA8F0B200000001
|
|
Operation = ENCRYPT
|
|
Plaintext = 53696E676C6520626C6F636B206D7367
|
|
Ciphertext = 3401F9C8247EFFCEBD6994714C1BBB11
|
|
|
|
Cipher = CAMELLIA-256-CTR
|
|
Key = F6D66D6BD52D59BB0796365879EFF886C66DD51A5B6A99744B50590C87A23884
|
|
IV = 00FAAC24C1585EF15A43D87500000001
|
|
Operation = ENCRYPT
|
|
Plaintext = 000102030405060708090A0B0C0D0E0F101112131415161718191A1B1C1D1E1F
|
|
Ciphertext = D6C30392246F7808A83C2B22A8839E45E51CD48A1CDF406EBC9CC2D3AB834108
|
|
|
|
Cipher = CAMELLIA-256-CTR
|
|
Key = FF7A617CE69148E4F1726E2F43581DE2AA62D9F805532EDFF1EED687FB54153D
|
|
IV = 001CC5B751A51D70A1C1114800000001
|
|
Operation = ENCRYPT
|
|
Plaintext = 000102030405060708090A0B0C0D0E0F101112131415161718191A1B1C1D1E1F20212223
|
|
Ciphertext = A4DA23FCE6A5FFAA6D64AE9A0652A42CD161A34B65F9679F75C01F101F71276F15EF0D8D
|