2016-04-22 11:21:51 +00:00
|
|
|
#! /usr/bin/env perl
|
2018-09-11 12:22:14 +00:00
|
|
|
# Copyright 2015-2018 The OpenSSL Project Authors. All Rights Reserved.
|
2016-04-22 11:21:51 +00:00
|
|
|
#
|
2018-12-06 12:05:25 +00:00
|
|
|
# Licensed under the Apache License 2.0 (the "License"). You may not use
|
2016-04-22 11:21:51 +00:00
|
|
|
# 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
|
|
|
|
|
2015-04-17 18:16:13 +00:00
|
|
|
|
|
|
|
use strict;
|
|
|
|
use warnings;
|
|
|
|
|
2017-05-16 06:57:33 +00:00
|
|
|
use OpenSSL::Test qw/:DEFAULT data_file/;
|
2015-04-17 18:16:13 +00:00
|
|
|
|
|
|
|
setup("test_evp");
|
|
|
|
|
2017-05-11 16:17:38 +00:00
|
|
|
my @files = ( "evpciph.txt", "evpdigest.txt", "evpencod.txt", "evpkdf.txt",
|
2018-06-21 21:16:18 +00:00
|
|
|
"evppkey_kdf.txt", "evpmac.txt", "evppbe.txt", "evppkey.txt",
|
|
|
|
"evppkey_ecc.txt", "evpcase.txt", "evpaessiv.txt" );
|
2017-05-11 16:17:38 +00:00
|
|
|
|
2017-05-12 00:42:32 +00:00
|
|
|
plan tests => scalar(@files);
|
2017-05-11 16:17:38 +00:00
|
|
|
|
|
|
|
foreach my $f ( @files ) {
|
2017-05-16 06:57:33 +00:00
|
|
|
ok(run(test(["evp_test", data_file("$f")])),
|
2017-05-11 16:17:38 +00:00
|
|
|
"running evp_test $f");
|
|
|
|
}
|