1e1051a39Sopenharmony_ci# 2e1051a39Sopenharmony_ci# Copyright 2001-2020 The OpenSSL Project Authors. All Rights Reserved. 3e1051a39Sopenharmony_ci# 4e1051a39Sopenharmony_ci# Licensed under the Apache License 2.0 (the "License"). You may not use 5e1051a39Sopenharmony_ci# this file except in compliance with the License. You can obtain a copy 6e1051a39Sopenharmony_ci# in the file LICENSE in the source distribution or at 7e1051a39Sopenharmony_ci# https://www.openssl.org/source/license.html 8e1051a39Sopenharmony_ci 9e1051a39Sopenharmony_ci# Tests start with one of these keywords 10e1051a39Sopenharmony_ci# Cipher Decrypt Derive Digest Encoding KDF MAC PBE 11e1051a39Sopenharmony_ci# PrivPubKeyPair Sign Verify VerifyRecover 12e1051a39Sopenharmony_ci# and continue until a blank line. Lines starting with a pound sign are ignored. 13e1051a39Sopenharmony_ci 14e1051a39Sopenharmony_ciTitle = Whirlpool (from ISO/IEC 10118-3 test vector set) 15e1051a39Sopenharmony_ci 16e1051a39Sopenharmony_ciAvailablein = legacy 17e1051a39Sopenharmony_ciDigest = whirlpool 18e1051a39Sopenharmony_ciInput = "" 19e1051a39Sopenharmony_ciOutput = 19FA61D75522A4669B44E39C1D2E1726C530232130D407F89AFEE0964997F7A73E83BE698B288FEBCF88E3E03C4F0757EA8964E59B63D93708B138CC42A66EB3 20e1051a39Sopenharmony_ci 21e1051a39Sopenharmony_ciAvailablein = legacy 22e1051a39Sopenharmony_ciDigest = whirlpool 23e1051a39Sopenharmony_ciInput = "a" 24e1051a39Sopenharmony_ciOutput = 8ACA2602792AEC6F11A67206531FB7D7F0DFF59413145E6973C45001D0087B42D11BC645413AEFF63A42391A39145A591A92200D560195E53B478584FDAE231A 25e1051a39Sopenharmony_ci 26e1051a39Sopenharmony_ciAvailablein = legacy 27e1051a39Sopenharmony_ciDigest = whirlpool 28e1051a39Sopenharmony_ciInput = "abc" 29e1051a39Sopenharmony_ciOutput = 4E2448A4C6F486BB16B6562C73B4020BF3043E3A731BCE721AE1B303D97E6D4C7181EEBDB6C57E277D0E34957114CBD6C797FC9D95D8B582D225292076D4EEF5 30e1051a39Sopenharmony_ci 31e1051a39Sopenharmony_ciAvailablein = legacy 32e1051a39Sopenharmony_ciDigest = whirlpool 33e1051a39Sopenharmony_ciInput = "message digest" 34e1051a39Sopenharmony_ciOutput = 378C84A4126E2DC6E56DCC7458377AAC838D00032230F53CE1F5700C0FFB4D3B8421557659EF55C106B4B52AC5A4AAA692ED920052838F3362E86DBD37A8903E 35e1051a39Sopenharmony_ci 36e1051a39Sopenharmony_ciAvailablein = legacy 37e1051a39Sopenharmony_ciDigest = whirlpool 38e1051a39Sopenharmony_ciInput = "abcdefghijklmnopqrstuvwxyz" 39e1051a39Sopenharmony_ciOutput = F1D754662636FFE92C82EBB9212A484A8D38631EAD4238F5442EE13B8054E41B08BF2A9251C30B6A0B8AAE86177AB4A6F68F673E7207865D5D9819A3DBA4EB3B 40e1051a39Sopenharmony_ci 41e1051a39Sopenharmony_ciAvailablein = legacy 42e1051a39Sopenharmony_ciDigest = whirlpool 43e1051a39Sopenharmony_ciInput = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789" 44e1051a39Sopenharmony_ciOutput = DC37E008CF9EE69BF11F00ED9ABA26901DD7C28CDEC066CC6AF42E40F82F3A1E08EBA26629129D8FB7CB57211B9281A65517CC879D7B962142C65F5A7AF01467 45e1051a39Sopenharmony_ci 46e1051a39Sopenharmony_ciAvailablein = legacy 47e1051a39Sopenharmony_ciDigest = whirlpool 48e1051a39Sopenharmony_ciInput = "12345678901234567890123456789012345678901234567890123456789012345678901234567890" 49e1051a39Sopenharmony_ciOutput = 466EF18BABB0154D25B9D38A6414F5C08784372BCCB204D6549C4AFADB6014294D5BD8DF2A6C44E538CD047B2681A51A2C60481E88C5A20B2C2A80CF3A9A083B 50e1051a39Sopenharmony_ci 51e1051a39Sopenharmony_ciAvailablein = legacy 52e1051a39Sopenharmony_ciDigest = whirlpool 53e1051a39Sopenharmony_ciInput = "abcdbcdecdefdefgefghfghighijhijk" 54e1051a39Sopenharmony_ciOutput = 2A987EA40F917061F5D6F0A0E4644F488A7A5A52DEEE656207C562F988E95C6916BDC8031BC5BE1B7B947639FE050B56939BAAA0ADFF9AE6745B7B181C3BE3FD 55e1051a39Sopenharmony_ci 56e1051a39Sopenharmony_ciAvailablein = legacy 57e1051a39Sopenharmony_ciDigest = whirlpool 58e1051a39Sopenharmony_ciInput = "aaaaaaaaaa" 59e1051a39Sopenharmony_ciCount = 100000 60e1051a39Sopenharmony_ciOutput = 0C99005BEB57EFF50A7CF005560DDF5D29057FD86B20BFD62DECA0F1CCEA4AF51FC15490EDDC47AF32BB2B66C34FF9AD8C6008AD677F77126953B226E4ED8B01 61