File tree Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Original file line number Diff line number Diff line change 22// SPDX-License-Identifier: Apache-2.0
33//! Miscellaneous mechanisms:
44//! - Simple key derivation mechanisms
5- //! See: <https://docs.oasis-open.org/pkcs11/pkcs11-spec/v3.1/os/pkcs11-spec-v3.1-os.html#_Toc111203697>
5+ //! See: <https://docs.oasis-open.org/pkcs11/pkcs11-spec/v3.1/os/pkcs11-spec-v3.1-os.html#_Toc111203697>
66
77use std:: marker:: PhantomData ;
88
Original file line number Diff line number Diff line change @@ -944,11 +944,8 @@ fn derive_key_xor_key_and_data() -> TestResult {
944944 Attribute :: Extractable ( true ) ,
945945 ] ;
946946 let data = KeyDerivationStringData :: new ( & data_value) ;
947- let derived_key = session. derive_key (
948- & Mechanism :: XorBaseAndData ( data) ,
949- key,
950- & derived_key_template,
951- ) ?;
947+ let derived_key =
948+ session. derive_key ( & Mechanism :: XorBaseAndData ( data) , key, & derived_key_template) ?;
952949
953950 let derived_key_value = session
954951 . get_attributes ( derived_key, & [ AttributeType :: Value ] ) ?
You can’t perform that action at this time.
0 commit comments