@@ -775,8 +775,13 @@ fn derive_key_sp800() -> TestResult {
775
775
776
776
#[ test]
777
777
#[ serial]
778
- #[ ignore = "unsupported by both SoftHSM and Kryoptic for the moment. See latchset/kryoptic#323 to track support" ]
779
778
fn derive_key_concatenation_two_keys ( ) -> TestResult {
779
+ // Mechanism not supported by SoftHSM
780
+ if is_softhsm ( ) {
781
+ /* return Ignore(); */
782
+ return Ok ( ( ) ) ;
783
+ }
784
+
780
785
let ( pkcs11, slot) = init_pins ( ) ;
781
786
782
787
// Open a session and log in
@@ -840,8 +845,13 @@ fn derive_key_concatenation_two_keys() -> TestResult {
840
845
841
846
#[ test]
842
847
#[ serial]
843
- #[ ignore = "unsupported by both SoftHSM and Kryoptic for the moment. See latchset/kryoptic#323 to track support" ]
844
848
fn derive_key_concatenation_key_and_data ( ) -> TestResult {
849
+ // Mechanism not supported by SoftHSM
850
+ if is_softhsm ( ) {
851
+ /* return Ignore(); */
852
+ return Ok ( ( ) ) ;
853
+ }
854
+
845
855
let ( pkcs11, slot) = init_pins ( ) ;
846
856
847
857
// Open a session and log in
@@ -914,8 +924,13 @@ fn derive_key_concatenation_key_and_data() -> TestResult {
914
924
915
925
#[ test]
916
926
#[ serial]
917
- #[ ignore = "unsupported by both SoftHSM and Kryoptic for the moment. See latchset/kryoptic#323 to track support" ]
918
927
fn derive_key_xor_key_and_data ( ) -> TestResult {
928
+ // Mechanism not supported by SoftHSM
929
+ if is_softhsm ( ) {
930
+ /* return Ignore(); */
931
+ return Ok ( ( ) ) ;
932
+ }
933
+
919
934
let ( pkcs11, slot) = init_pins ( ) ;
920
935
921
936
// Open a session and log in
@@ -967,8 +982,13 @@ fn derive_key_xor_key_and_data() -> TestResult {
967
982
968
983
#[ test]
969
984
#[ serial]
970
- #[ ignore = "unsupported by both SoftHSM and Kryoptic for the moment. See latchset/kryoptic#323 to track support" ]
971
985
fn derive_key_extract_from_key ( ) -> TestResult {
986
+ // Mechanism not supported by SoftHSM
987
+ if is_softhsm ( ) {
988
+ /* return Ignore(); */
989
+ return Ok ( ( ) ) ;
990
+ }
991
+
972
992
let ( pkcs11, slot) = init_pins ( ) ;
973
993
974
994
// Open a session and log in
0 commit comments