aws-samples / aws-cloudhsm-pkcs11-examples

Sample applications demonstrating how to use the CloudHSM PKCS#11 library
Other
55 stars 39 forks source link

Update samples to demonstrate AES Key Wrap with NoPadding/ZeroPadding/PKCS5Padding #38

Closed hanzx227 closed 4 years ago

hanzx227 commented 4 years ago

Update header files with vendor defined mechanism.

hanzx227 commented 4 years ago
-> ctest -R wrapping
    Start  9: aes_gcm_wrapping
1/5 Test  #9: aes_gcm_wrapping .................   Passed    0.16 sec
    Start 10: aes_no_padding_wrapping
2/5 Test #10: aes_no_padding_wrapping ..........   Passed    0.25 sec
    Start 11: aes_zero_padding_wrapping
3/5 Test #11: aes_zero_padding_wrapping ........   Passed    0.19 sec
    Start 12: aes_wrapping
4/5 Test #12: aes_wrapping .....................   Passed    0.18 sec
    Start 13: rsa_wrapping
5/5 Test #13: rsa_wrapping .....................   Passed    0.71 sec

100% tests passed, 0 tests failed out of 5

Total Test time (real) =   1.49 sec