@@ -815,6 +815,7 @@ fn derive_key_concatenation_two_keys() -> TestResult {
815
815
let derived_key_template = [
816
816
Attribute :: Token ( true ) ,
817
817
Attribute :: Private ( false ) ,
818
+ Attribute :: Class ( ObjectClass :: SECRET_KEY ) ,
818
819
Attribute :: Sensitive ( false ) ,
819
820
Attribute :: Extractable ( true ) ,
820
821
] ;
@@ -876,6 +877,7 @@ fn derive_key_concatenation_key_and_data() -> TestResult {
876
877
let derived_key_template = [
877
878
Attribute :: Token ( true ) ,
878
879
Attribute :: Private ( false ) ,
880
+ Attribute :: Class ( ObjectClass :: SECRET_KEY ) ,
879
881
Attribute :: Sensitive ( false ) ,
880
882
Attribute :: Extractable ( true ) ,
881
883
] ;
@@ -955,6 +957,7 @@ fn derive_key_xor_key_and_data() -> TestResult {
955
957
let derived_key_template = [
956
958
Attribute :: Token ( true ) ,
957
959
Attribute :: Private ( false ) ,
960
+ Attribute :: Class ( ObjectClass :: SECRET_KEY ) ,
958
961
Attribute :: Sensitive ( false ) ,
959
962
Attribute :: Extractable ( true ) ,
960
963
] ;
@@ -1013,6 +1016,7 @@ fn derive_key_extract_from_key() -> TestResult {
1013
1016
let derived_key_template = [
1014
1017
Attribute :: Token ( true ) ,
1015
1018
Attribute :: Private ( false ) ,
1019
+ Attribute :: Class ( ObjectClass :: SECRET_KEY ) ,
1016
1020
Attribute :: ValueLen ( 2 . into ( ) ) ,
1017
1021
Attribute :: Sensitive ( false ) ,
1018
1022
Attribute :: Extractable ( true ) ,
0 commit comments