Home | History | Annotate | Line # | Download | only in 30-test_evp_data
      1 #
      2 # Copyright 2018 The OpenSSL Project Authors. All Rights Reserved.
      3 #
      4 # Licensed under the OpenSSL license (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 
      9 # Tests start with one of these keywords
     10 #       Cipher Decrypt Derive Digest Encoding KDF MAC PBE
     11 #       PrivPubKeyPair Sign Verify VerifyRecover
     12 # and continue until a blank line.  Lines starting with a pound sign,
     13 # like this prolog, are ignored.
     14 
     15 # These tests exercise the case insensitive handling of object names.
     16 # They are contrived
     17 
     18 Title = Case insensitive AES tests
     19 
     20 Cipher = Aes-128-eCb
     21 Key = 2B7E151628AED2A6ABF7158809CF4F3C
     22 Plaintext = 6BC1BEE22E409F96E93D7E117393172A
     23 Ciphertext = 3AD77BB40D7A3660A89ECAF32466EF97
     24 
     25 Cipher = AeS-128-cbC
     26 Key = 2B7E151628AED2A6ABF7158809CF4F3C
     27 IV = 73BED6B8E3C1743B7116E69E22229516
     28 Plaintext = F69F2445DF4F9B17AD2B417BE66C3710
     29 Ciphertext = 3FF1CAA1681FAC09120ECA307586E1A7
     30 
     31 Cipher = aES-128-CTR
     32 Key = AE6852F8121067CC4BF7A5765577F39E
     33 IV = 00000030000000000000000000000001
     34 Operation = ENCRYPT
     35 Plaintext = 53696E676C6520626C6F636B206D7367
     36 Ciphertext = E4095D4FB7A7B3792D6175A3261311B8
     37 
     38 Cipher = AES-128-GcM
     39 Key = 00000000000000000000000000000000
     40 IV = 000000000000000000000000
     41 AAD =
     42 Tag = ab6e47d42cec13bdf53a67b21257bddf
     43 Plaintext = 00000000000000000000000000000000
     44 Ciphertext = 0388dace60b6a392f328c2b971b2fe78
     45 
     46 Title = Case insensitive digest tests
     47 
     48 Digest = Sha3-256
     49 Input = ""
     50 Output = A7FFC6F8BF1ED76651C14756A061D662F580FF4DE43B49FA82D80A4B80F8434A
     51 
     52 Digest = shA512
     53 Input = "abc"
     54 Output = ddaf35a193617abacc417349ae20413112e6fa4e89a97ea20a9eeee64b55d39a2192992a274fc1a836ba3c23a3feebbd454d4423643ce80e2a9ac94fa54ca49f
     55