]> git.ipfire.org Git - thirdparty/openssl.git/blame - test/recipes/30-test_evp.t
Added new EVP/KDF API.
[thirdparty/openssl.git] / test / recipes / 30-test_evp.t
CommitLineData
596d6b7e 1#! /usr/bin/env perl
1212818e 2# Copyright 2015-2018 The OpenSSL Project Authors. All Rights Reserved.
596d6b7e 3#
909f1a2e 4# Licensed under the Apache License 2.0 (the "License"). You may not use
596d6b7e
RS
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
4fb35f8f
RL
9
10use strict;
11use warnings;
12
c537e74b 13use OpenSSL::Test qw/:DEFAULT data_file/;
4fb35f8f
RL
14
15setup("test_evp");
16
6b7b3433 17my @files = ( "evpciph.txt", "evpdigest.txt", "evpencod.txt", "evpkdf.txt",
5a285add
DM
18 "evppkey_kdf.txt", "evpmac.txt", "evppbe.txt", "evppkey.txt",
19 "evppkey_ecc.txt", "evpcase.txt", "evpaessiv.txt" );
6b7b3433 20
33242d9d 21plan tests => scalar(@files);
6b7b3433
RS
22
23foreach my $f ( @files ) {
c537e74b 24 ok(run(test(["evp_test", data_file("$f")])),
6b7b3433
RS
25 "running evp_test $f");
26}