Skip to content

Commit

Permalink
[ios] Use managed implementation of Pbkdf2 (#51714)
Browse files Browse the repository at this point in the history
Mirror Android, the native APIs don't exist on iOS.

Contributes to #47910.
  • Loading branch information
filipnavara committed Apr 23, 2021
1 parent a9f1207 commit 53489ef
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -518,7 +518,7 @@
<Compile Include="$(CommonPath)Interop\OSX\System.Security.Cryptography.Native.Apple\Interop.Symmetric.cs"
Link="Common\Interop\OSX\System.Security.Cryptography.Native.Apple\Interop.Symmetric.cs" />
<Compile Include="$(CommonPath)Interop\OSX\System.Security.Cryptography.Native.Apple\Interop.Pbkdf2.cs"
Link="Common\Interop\OSX\System.Security.Cryptography.Native.Apple\Interop.Pbkdf2.cs" />
Link="Common\Interop\OSX\System.Security.Cryptography.Native.Apple\Interop.Pbkdf2.cs" Condition="'$(TargetsOSX)' == 'true'" />
<Compile Include="$(CommonPath)Microsoft\Win32\SafeHandles\SafeCreateHandle.OSX.cs"
Link="Common\Microsoft\Win32\SafeHandles\SafeCreateHandle.OSX.cs" />
<Compile Include="$(CommonPath)Microsoft\Win32\SafeHandles\SafeHandleCache.cs"
Expand All @@ -540,7 +540,8 @@
<Compile Include="Internal\Cryptography\DesImplementation.OSX.cs" />
<Compile Include="Internal\Cryptography\HashProviderDispenser.OSX.cs" />
<Compile Include="Internal\Cryptography\RandomNumberGeneratorImplementation.OSX.cs" />
<Compile Include="Internal\Cryptography\Pbkdf2Implementation.OSX.cs" />
<Compile Include="Internal\Cryptography\Pbkdf2Implementation.OSX.cs" Condition="'$(TargetsOSX)' == 'true'" />
<Compile Include="Internal\Cryptography\Pbkdf2Implementation.Managed.cs" Condition="'$(TargetsOSX)' != 'true'" />
<Compile Include="Internal\Cryptography\RC2Implementation.OSX.cs" />
<Compile Include="Internal\Cryptography\TripleDesImplementation.OSX.cs" />
<Compile Include="System\Security\Cryptography\ECDiffieHellman.Create.SecurityTransforms.cs" />
Expand Down Expand Up @@ -657,7 +658,7 @@
<Compile Include="System\Security\Cryptography\ECDiffieHellman.Create.Android.cs" />
<Compile Include="System\Security\Cryptography\ECDsa.Create.Android.cs" />
<Compile Include="System\Security\Cryptography\RSA.Create.Android.cs" />
<Compile Include="Internal\Cryptography\Pbkdf2Implementation.Android.cs" />
<Compile Include="Internal\Cryptography\Pbkdf2Implementation.Managed.cs" />
</ItemGroup>
<ItemGroup Condition=" '$(TargetsBrowser)' == 'true'">
<Compile Include="$(CommonPath)Internal\Cryptography\HashProvider.cs"
Expand Down

0 comments on commit 53489ef

Please sign in to comment.