File tree Expand file tree Collapse file tree 3 files changed +5
-3004
lines changed
uniffi/devolutions-crypto-uniffi/src
main/kotlin/org/devolutions/crypto
test/kotlin/org/devolutions/crypto Expand file tree Collapse file tree 3 files changed +5
-3004
lines changed Original file line number Diff line number Diff line change @@ -84,7 +84,6 @@ impl Argon2ParametersBuilder {
8484 }
8585
8686 pub fn build ( self : Arc < Self > ) -> Arc < Argon2Parameters > {
87- // Get all the values
8887 let length = * self . length . lock ( ) . unwrap ( ) ;
8988 let lanes = * self . lanes . lock ( ) . unwrap ( ) ;
9089 let memory = * self . memory . lock ( ) . unwrap ( ) ;
@@ -96,7 +95,6 @@ impl Argon2ParametersBuilder {
9695 let secret_key = self . secret_key . lock ( ) . unwrap ( ) . clone ( ) ;
9796 let salt = self . salt . lock ( ) . unwrap ( ) . clone ( ) ;
9897
99- // Build by chaining all fields together (typed-builder requires all fields to be set)
10098 let inner =
10199 devolutions_crypto:: Argon2Parameters :: builder ( )
102100 . length ( length. unwrap_or ( 32 ) )
You can’t perform that action at this time.
0 commit comments