Lines Matching refs:ok
33 ok(run(app(['openssl', 'dgst', '-sign', $privkey,
38 ok(run(app(['openssl', 'dgst', '-prverify', $privkey,
43 ok(run(app(['openssl', 'dgst', '-verify', $pubkey,
48 ok(!run(app(['openssl', 'dgst', '-verify', $pubkey,
65 ok(run(app(['openssl', 'sha512', '-sign', $privkey,
70 ok(run(app(['openssl', 'sha512', '-verify', $pubkey,
75 ok(run(app(['openssl', 'dgst', '-sha512', '-prverify', $privkey,
80 ok(run(app(['openssl', 'dgst', '-sha512', '-verify', $pubkey,
85 ok(!run(app(['openssl', 'dgst', '-sha512', '-verify', $pubkey,
164 …ok($macdata[0] =~ $expected, "SHA1: Check HASH value is as expected ($macdata[0]) vs ($expected)");
177 …ok($hmacdata[0] =~ $expected, "HMAC: Check HMAC value is as expected ($hmacdata[0]) vs ($expected)…
178 ok($hmacdata[1] =~ $expected,
191 …ok($hmacdata[0] =~ $expected, "HMAC: Check HMAC value is as expected ($hmacdata[0]) vs ($expected)…
192 ok($hmacdata[1] =~ $expected,
206 …ok($hmacdata[0] =~ $expected, "HMAC: Check HMAC value is as expected ($hmacdata[0]) vs ($expected)…
207 ok($hmacdata[1] =~ $expected,
220 …ok($xofdata[0] =~ $expected, "XOF: Check digest value is as expected ($xofdata[0]) vs ($expected)"…
221 ok($xofdata[1] =~ $expected,
229 ok(!run(app(['openssl', 'dgst', '-shake128', $testdata])), "SHAKE128 must fail without xoflen");
230 ok(!run(app(['openssl', 'dgst', '-shake256', $testdata])), "SHAKE256 must fail without xoflen");
241 ok(!run(app(['openssl', 'dgst', '-shake256', '-xoflen', '64',
252 ok(run(app(['openssl', 'dgst', '-sha256',