Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F171556587
D7765.id19995.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D7765.id19995.diff
View Options
Index: tools/tools/crypto/cryptotest.c
===================================================================
--- tools/tools/crypto/cryptotest.c
+++ tools/tools/crypto/cryptotest.c
@@ -130,9 +130,6 @@
{ "aes", 0, 16, 16, 16, CRYPTO_AES_CBC},
{ "aes192", 0, 16, 24, 24, CRYPTO_AES_CBC},
{ "aes256", 0, 16, 32, 32, CRYPTO_AES_CBC},
-#ifdef notdef
- { "arc4", 0, 8, 1, 32, CRYPTO_ARC4 },
-#endif
{ "md5", 1, 8, 16, 16, CRYPTO_MD5_HMAC },
{ "sha1", 1, 8, 20, 20, CRYPTO_SHA1_HMAC },
{ "sha256", 1, 8, 32, 32, CRYPTO_SHA2_256_HMAC },
@@ -146,8 +143,8 @@
printf("usage: %s [-czsbv] [-d dev] [-a algorithm] [count] [size ...]\n",
cmd);
printf("where algorithm is one of:\n");
- printf(" des 3des (default) blowfish cast skipjack rij\n");
- printf(" aes aes192 aes256 arc4\n");
+ printf(" null des 3des (default) blowfish cast skipjack rij\n");
+ printf(" aes aes192 aes256 md5 sha1 sha256 sha384 sha512\n");
printf("count is the number of encrypt/decrypt ops to do\n");
printf("size is the number of bytes of text to encrypt+decrypt\n");
printf("\n");
@@ -158,6 +155,7 @@
printf("-v be verbose\n");
printf("-b mark operations for batching\n");
printf("-p profile kernel crypto operation (must be root)\n");
+ printf("-t n for n threads and run tests concurrently\n");
exit(-1);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Sep 12, 6:06 PM (3 h, 29 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
38809845
Default Alt Text
D7765.id19995.diff (1 KB)
Attached To
Mode
D7765: Update help and remove support for arc4
Attached
Detach File
Event Timeline
Log In to Comment