145818ee1SMatthew Ahrens#!/usr/bin/ksh
245818ee1SMatthew Ahrens
345818ee1SMatthew Ahrens#
445818ee1SMatthew Ahrens# This file and its contents are supplied under the terms of the
545818ee1SMatthew Ahrens# Common Development and Distribution License ("CDDL"), version 1.0.
645818ee1SMatthew Ahrens# You may only use this file in accordance with the terms of version
745818ee1SMatthew Ahrens# 1.0 of the CDDL.
845818ee1SMatthew Ahrens#
945818ee1SMatthew Ahrens# A full copy of the text of the CDDL should have accompanied this
1045818ee1SMatthew Ahrens# source.  A copy of the CDDL is also available via the Internet at
1145818ee1SMatthew Ahrens# http://www.illumos.org/license/CDDL.
1245818ee1SMatthew Ahrens#
1345818ee1SMatthew Ahrens
1445818ee1SMatthew Ahrens#
15*1d32ba66SJohn Wren Kennedy# Copyright (c) 2015, 2016 by Delphix. All rights reserved.
1645818ee1SMatthew Ahrens#
1745818ee1SMatthew Ahrens
1845818ee1SMatthew Ahrens. $STF_SUITE/include/libtest.shlib
1945818ee1SMatthew Ahrens
2045818ee1SMatthew Ahrens#
2145818ee1SMatthew Ahrens# Description:
2245818ee1SMatthew Ahrens# Run the tests for the EdonR hash algorithm.
2345818ee1SMatthew Ahrens#
2445818ee1SMatthew Ahrens
2545818ee1SMatthew Ahrenslog_assert "Run the tests for the EdonR hash algorithm."
2645818ee1SMatthew Ahrens
2745818ee1SMatthew Ahrensfreq=$(get_cpu_freq)
28*1d32ba66SJohn Wren Kennedyfor isa in $(isainfo); do
2945818ee1SMatthew Ahrens	log_must $STF_SUITE/tests/functional/checksum/edonr_test.$isa $freq
3045818ee1SMatthew Ahrensdone
3145818ee1SMatthew Ahrens
3245818ee1SMatthew Ahrenslog_pass "EdonR tests passed."
33