algorithmKat

Run a set of algorithm KATs (known answer tests)

static if(BOTAN_HAS_SELFTESTS && BOTAN_HAS_PUBLIC_KEY_CRYPTO)
HashMapRef!(string, bool)
algorithmKat
(,
in HashMapRef!(string, string) vars
,)

Parameters

algo_name SCANToken

the algorithm we are testing

vars HashMapRef!(string, string)

a set of input variables for this test, all hex encoded. Keys used: "input", "output", "key", and "iv"

af AlgorithmFactory

an algorithm factory

Return Value

Type: HashMapRef!(string, bool)

map from provider name to test result for that provider

Meta