File tree Expand file tree Collapse file tree 3 files changed +5
-9
lines changed
Expand file tree Collapse file tree 3 files changed +5
-9
lines changed File renamed without changes.
Original file line number Diff line number Diff line change 11using System ;
2+ using System . Runtime . CompilerServices ;
23using System . Runtime . InteropServices ;
34
45namespace AdvancedSystems . Security . Interop ;
56
6- internal partial class Libsodium
7+ internal static partial class Libsodium
78{
8- #region version.c
9-
109 [ LibraryImport ( NativeLibrary . LIBSODIUM , EntryPoint = "sodium_library_version_major" ) ]
10+ [ UnmanagedCallConv ( CallConvs = [ typeof ( CallConvCdecl ) ] ) ]
1111 internal static partial int SodiumLibraryVersionMajor ( ) ;
1212
1313 [ LibraryImport ( NativeLibrary . LIBSODIUM , EntryPoint = "sodium_library_version_minor" ) ]
14+ [ UnmanagedCallConv ( CallConvs = [ typeof ( CallConvCdecl ) ] ) ]
1415 internal static partial int SodiumLibraryVersionMinor ( ) ;
1516
1617 [ LibraryImport ( NativeLibrary . LIBSODIUM , EntryPoint = "sodium_version_string" ) ]
18+ [ UnmanagedCallConv ( CallConvs = [ typeof ( CallConvCdecl ) ] ) ]
1719 internal static partial IntPtr SodiumVersionString ( ) ;
18-
19- #endregion
2020}
Original file line number Diff line number Diff line change 88
99## Hash
1010
11- ## Generic Hash Algorithms
12-
13- ## PBKDF2 Derived Keys
14-
1511TODO
1612
1713## RSACryptoProvider
You can’t perform that action at this time.
0 commit comments