📄 readme
字号:
openCryptoki Test ProgramsThis directory contains programs designed to test the functionality ofopenCryptoki and PKCS#11. The rely on STDLL's installed to the standard systemlocation (usually /usr/lib/stdll). Many of the programs have command lineoptions for passing the slot number to use (default is slot 0) as well as otheroptions. All programs expect that the a slot has been intialized usingpkcsconf. The expected user pin is "12345678" and this can also be set usingpkcsconf.driver------The driver programs tests all openCryptoki that do not involve tokenmanipulation. This includes, but is not limited to, tests such as RSA keygeneration, CBC and ECB encryption and decryption, and MD5 digests. init_tok--------This program initializes a token with a name of "L13", and sets the user pin to"12345678".mkobj-----This program creates a certificate object of class CKO_CERTIFICATE and typeCKC_X_509. It is created as a public object.rsa_keygen----------This test program generates an RSA Keypair.rsa_test--------There are 3 test programs in this sub-directory. The first is rsa_test. Thisprogram encrypts random data using a known RSA key. The key information ishardcoded in rsa_test.c. The second programs, rsa_test_genkey, encryptsrandom data using a generated RSA key. This test key generation as well asencryption. The third program, rsa_thread_test, tests the ability ofopenCryptoki to handle multithreaded application. It sets up a given number ofthreads (default is 3), with each performing an RSA encryption operation.speed-----The speed program is a performance oriented test program. It times certainoperations over multiple runs, and gives min, max, and average times for theseoperations. Performace tests are run for: 2048 bit RSA keygen, 10
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -