Debian Codegraph @

doc/strength-example.conf

raw
1 # OpenCryptoki strength example corresponding to NIST recommendations
2 # See https://www.keylength.com/en/4/
3 # Move/copy to /etc/opencryptoki/strength.conf to use it with opencryptoki.
4 # Then chown it to root:pkcs11 and chmod it to 0640.
5
6 version strength-0
7
8 strength 112 {
9 MOD_EXP = 2048
10 ECC = 224
11 SYMMETRIC = 112
12 digest = 224
13 signature = 112
14 }
15 strength 128 {
16 MOD_EXP = 3072
17 ECC = 256
18 SYMMETRIC = 128
19 digest = 256
20 signature = 128
21 }
22 strength 192 {
23 MOD_EXP = 7680
24 ECC = 384
25 SYMMETRIC = 192
26 digest = 384
27 signature = 192
28 }
29 strength 256 {
30 MOD_EXP = 15360
31 ECC = 512
32 SYMMETRIC = 256
33 digest = 512
34 signature = 256
35 }