Skip to content

Tests

Main menu option: Tests...

It runs tests on modules, algorithms and objects to check the integrity and correct functioning of the HSM. Tests can be carried out using the objects in the partition itself or objects in the partition where the user has permission, indicating the name of the partition and the name of the object with the training rule:

partition/object

These tests do not generate persistent data in the HSM and can be carried out, for example, after importing a key or object, to check its integrity

The tests carried out are as follows:

  1. Symmetric encryption: a random data buffer of the specified size is generated with the specified key. The buffer is encrypted with the specified key and then decrypted. A comparison is then made between the original buffer and the decrypted one to verify the correctness of the process. The symmetric encryption mode of operation and the padding scheme for the block algorithms (DES, DESX, 3DES and AES) must also be entered.
  2. Asymmetric encryption: a hash signature operation is performed with the given key, followed by hash verification.
  3. Random number generation: generates a sequence of random bytes.
  4. Internal testing with HSM hash algorithms. In some HSM versions and models, some of the tests may fail because the algorithm is not loaded.
Testing options
Dinamo - Remote Management Console v. 4.7.12.3 2018 (c) Dinamo Networks

HSM 127.0.0.1 e - Engine 5.0.22.0 (DXP) - TCA0000000  - ID master

HSM - Tests



 1 - Symmetric
 2 - Asymmetric
 3 - RNG
 4 - Hashing
 5 - XML
 6 - CVV
 7 - PKCS#7
 8 - OATH check
 9 - SVault







 0 - Main Menu

Option:

Symmetric

Test with symmetric key
Dinamo - Remote Management Console v. 4.7.12.3 2018 (c) Dinamo Networks

HSM 127.0.0.1 e - Engine 5.0.22.0 (DXP) - TCA0000000  - ID master

HSM - Tests - Symmetric

Key Name (HSM) : datakey
Buffer size (bytes, max 1048576) : 4500
Mode :
 1 - ECB
 2 - CBC
Option : 2
Padding :
 1 - No padding
 2 - Zero padding
 3 - PKCS#5
Padding : 2

Test completed successfully.

Press ENTER key to continue...

Asymmetric

Asymmetric key test
Dinamo - Remote Management Console v. 4.7.12.3 2018 (c) Dinamo Networks

HSM 127.0.0.1 e - Engine 5.0.22.0 (DXP) - TCA0000000  - ID master

HSM - Tests - Asymmetric

Key Name (HSM) : prodkey
Hash :
 1 - MD5
 2 - SHA-1
 3 - SHA-224
 4 - SHA-256
 5 - SHA-384
 6 - SHA-512
 7 - SHA3-224
 8 - SHA3-256
 9 - SHA3-384
10 - SHA3-512
Option : 4

Test completed successfully.

Press ENTER key to continue...

RNG

Test with random number generator
Dinamo - Remote Management Console v. 4.7.12.3 2018 (c) Dinamo Networks

HSM 127.0.0.1 e - Engine 5.0.22.0 (DXP) - TCA0000000  - ID master

HSM - Tests - RNG

Buffer size (bytes, max 1024) : 400

E8 4F BB DC 3B D1 FC 2C 56 76 3F AD B4 5A C3 B1 EC CC D8 96 55 9D A9 1E 18 88 5A 62 70 4E 43 4B B2 BE 40 0A 53 3F 11 55 85 3D 95 4A 2E 3C 4B 6D 5A 82 30 B0 CF 8A 9C 61 60 55 7E 4F 54 FD 80 8B DA DF 05 62 12 A6 3D 00 08 C1 FF 7B 3E 4D 7C C8 24 C3 11 E5 5B 7F 57 B7 06 A4 70 61 29 4B 18 EC 67 37 C1 D0 55 D8 92 58 BD A3 81 F7 55 43 DB C3 0C CE 08 4C 28 13 4B 34 8A 23 C7 95 99 6C AA 81 9D 38 32 2E 1D 6E 8D 04 EC 82 2A 7B EF A0 21 AA 1E 17 44 38 D1 D0 66 FD 0A F5 AC 41 4B 8F 42 C5 91 7D D7 18 A8 C9 BB 21 3C B2 A7 1A 31 5A 61 D2 59 A5 C4 7E 85 7C E8 AA 9E 57 AB E3 79 CD 5A 6B 95 B4 D1 F3 7D AE 23 A7 DA 1B 07 7B 62 32 CF C2 48 DE 08 35 1D 27 48 B0 91 A0 BC E9 33 8E 98 21 09 69 BA C7 79 49 90 78 2D FA E7 9D DB E6 5A 8F CB 34 CC 3F 81 F1 BB E4 94 6D 43 A5 28 FE 24 34 CD 12 16 06 B7 13 CD 62 83 3F F3 D8 B9 69 7C 56 81 71 0F C3 34 F0 CC 48 62 10 91 39 1C D8 1B 63 F4 93 D3 0F 98 1F BE 16 A6 5F 51 81 41 8E 3B 10 CF EA 60 4D BD 20 9F 8C 00 54 F3 C7 0F 0C B7 4A 0B 98 CA E1 F5 19 C6 4D D4 10 1A 41 BF D7 A7 FF D1 DF 8A 7E 89 21 F6 A6 9A 6F 66 CB 02 33 44 B2 C0 49 44 3F 98 CE E3 29 88 0E 0C CB 20 1E 8E 9F F6 20 36 58 1D D9 9E C7 6C C5 28 3C 1B F9 75 57 B9 4F 40 94 11 53 AB 05 D0 BB 8F DF 90 24 C0 EF

Press ENTER key to continue...

Hashsing

Hash test
Dinamo - Remote Management Console v. 4.7.12.3 2018 (c) Dinamo Networks

HSM 127.0.0.1 e - Engine 5.0.22.0 (DXP) - TCA0000000  - ID master

HSM - Tests - Hashing

Hash                 Result
============================
SHA-256              ok
SHA-384              ok
SHA-512              ok
SHA-224              ok
SHA3-224             ok
SHA3-256             ok
SHA3-384             ok
SHA3-512             ok

Press ENTER key to continue...