Page MenuHomeFreeBSD

Update cryptotest for modern algorithms.
ClosedPublic

Authored by gnn on Aug 22 2016, 5:27 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Jan 5, 11:11 PM
Unknown Object (File)
Dec 2 2024, 8:20 PM
Unknown Object (File)
Dec 2 2024, 8:20 PM
Unknown Object (File)
Dec 2 2024, 8:20 PM
Unknown Object (File)
Dec 2 2024, 7:58 PM
Unknown Object (File)
Nov 3 2024, 7:11 AM
Unknown Object (File)
Nov 3 2024, 7:11 AM
Unknown Object (File)
Nov 3 2024, 7:11 AM
Subscribers

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 4881
Build 4944: arc lint + arc unit

Event Timeline

gnn retitled this revision from to Update cryptotest for modern algorithms..
gnn updated this object.
gnn edited the test plan for this revision. (Show Details)

Why remove all the static from functions?

tools/tools/crypto/cryptotest.c
129–130

Seems gratuitous unless there is a real difference.

191

This check can be removed; the point is to cache the crypto file descriptor, which doesn't happen if it isn't static.

206

This seems a little lame. What if some softfoocrypt(4) shows up? Contrived, I guess.

gnn marked 3 inline comments as done.Aug 23 2016, 12:53 PM

There is no reason for the functions to be static at all, so removing them just cleans up the code and makes it trivially debuggable.

tools/tools/crypto/cryptotest.c
129–130

The difference is the key length and effects the benchmark.

206

When such a thing shows up I'll fix the benchmark code.

gnn marked 2 inline comments as done.Aug 23 2016, 12:53 PM
gnn marked 2 inline comments as done.Aug 29 2016, 2:51 PM

Address more comments.

This revision was automatically updated to reflect the committed changes.