Rename crypto_sign_ed25519_scalarmult() to crypto_scalarmult_ed25519()
This commit is contained in:
parent
89bc2d6976
commit
f1e9acef5c
@ -126,6 +126,7 @@
|
|||||||
<ClCompile Include="..\..\..\..\src\libsodium\crypto_shorthash\siphash24\ref\shorthash_siphashx24_ref.c" />
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_shorthash\siphash24\ref\shorthash_siphashx24_ref.c" />
|
||||||
<ClCompile Include="..\..\..\..\src\libsodium\crypto_shorthash\siphash24\ref\shorthash_siphash24_ref.c" />
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_shorthash\siphash24\ref\shorthash_siphash24_ref.c" />
|
||||||
<ClCompile Include="..\..\..\..\src\libsodium\crypto_scalarmult\crypto_scalarmult.c" />
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_scalarmult\crypto_scalarmult.c" />
|
||||||
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_scalarmult\ed25519\ref10\scalarmult_ed25519_ref10.c" />
|
||||||
<ClCompile Include="..\..\..\..\src\libsodium\crypto_scalarmult\curve25519\scalarmult_curve25519.c" />
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_scalarmult\curve25519\scalarmult_curve25519.c" />
|
||||||
<ClCompile Include="..\..\..\..\src\libsodium\crypto_scalarmult\curve25519\sandy2x\curve25519_sandy2x.c" />
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_scalarmult\curve25519\sandy2x\curve25519_sandy2x.c" />
|
||||||
<ClCompile Include="..\..\..\..\src\libsodium\crypto_scalarmult\curve25519\sandy2x\fe_frombytes_sandy2x.c" />
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_scalarmult\curve25519\sandy2x\fe_frombytes_sandy2x.c" />
|
||||||
@ -248,6 +249,7 @@
|
|||||||
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_generichash.h" />
|
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_generichash.h" />
|
||||||
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_secretbox_xsalsa20poly1305.h" />
|
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_secretbox_xsalsa20poly1305.h" />
|
||||||
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_secretbox.h" />
|
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_secretbox.h" />
|
||||||
|
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_scalarmult_ed25519.h" />
|
||||||
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_box_curve25519xsalsa20poly1305.h" />
|
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_box_curve25519xsalsa20poly1305.h" />
|
||||||
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_generichash_blake2b.h" />
|
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_generichash_blake2b.h" />
|
||||||
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_sign_edwards25519sha512batch.h" />
|
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_sign_edwards25519sha512batch.h" />
|
||||||
|
@ -171,6 +171,9 @@
|
|||||||
<ClCompile Include="..\..\..\..\src\libsodium\crypto_scalarmult\crypto_scalarmult.c">
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_scalarmult\crypto_scalarmult.c">
|
||||||
<Filter>crypto_scalarmult</Filter>
|
<Filter>crypto_scalarmult</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_scalarmult\ed25519\ref10\scalarmult_ed25519_ref10.c">
|
||||||
|
<Filter>crypto_scalarmult\ed25519\ref10</Filter>
|
||||||
|
</ClCompile>
|
||||||
<ClCompile Include="..\..\..\..\src\libsodium\crypto_scalarmult\curve25519\scalarmult_curve25519.c">
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_scalarmult\curve25519\scalarmult_curve25519.c">
|
||||||
<Filter>crypto_scalarmult\curve25519</Filter>
|
<Filter>crypto_scalarmult\curve25519</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
@ -533,6 +536,9 @@
|
|||||||
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_secretbox.h">
|
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_secretbox.h">
|
||||||
<Filter>include\sodium</Filter>
|
<Filter>include\sodium</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
|
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_scalarmult_ed25519.h">
|
||||||
|
<Filter>include\sodium</Filter>
|
||||||
|
</ClInclude>
|
||||||
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_box_curve25519xsalsa20poly1305.h">
|
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_box_curve25519xsalsa20poly1305.h">
|
||||||
<Filter>include\sodium</Filter>
|
<Filter>include\sodium</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
@ -841,6 +847,12 @@
|
|||||||
<Filter Include="crypto_scalarmult\curve25519\sandy2x">
|
<Filter Include="crypto_scalarmult\curve25519\sandy2x">
|
||||||
<UniqueIdentifier>{5d2fb1a2-f063-32db-a81a-41f79e36fd23}</UniqueIdentifier>
|
<UniqueIdentifier>{5d2fb1a2-f063-32db-a81a-41f79e36fd23}</UniqueIdentifier>
|
||||||
</Filter>
|
</Filter>
|
||||||
|
<Filter Include="crypto_scalarmult\ed25519">
|
||||||
|
<UniqueIdentifier>{7bec6074-fbc7-330b-9e18-7dc3e868569a}</UniqueIdentifier>
|
||||||
|
</Filter>
|
||||||
|
<Filter Include="crypto_scalarmult\ed25519\ref10">
|
||||||
|
<UniqueIdentifier>{834d4827-81e4-3de3-baa1-a216763f11d6}</UniqueIdentifier>
|
||||||
|
</Filter>
|
||||||
<Filter Include="crypto_secretbox">
|
<Filter Include="crypto_secretbox">
|
||||||
<UniqueIdentifier>{b9b02bee-5c1f-36d2-b97d-983f865a4cc6}</UniqueIdentifier>
|
<UniqueIdentifier>{b9b02bee-5c1f-36d2-b97d-983f865a4cc6}</UniqueIdentifier>
|
||||||
</Filter>
|
</Filter>
|
||||||
|
@ -126,6 +126,7 @@
|
|||||||
<ClCompile Include="..\..\..\..\src\libsodium\crypto_shorthash\siphash24\ref\shorthash_siphashx24_ref.c" />
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_shorthash\siphash24\ref\shorthash_siphashx24_ref.c" />
|
||||||
<ClCompile Include="..\..\..\..\src\libsodium\crypto_shorthash\siphash24\ref\shorthash_siphash24_ref.c" />
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_shorthash\siphash24\ref\shorthash_siphash24_ref.c" />
|
||||||
<ClCompile Include="..\..\..\..\src\libsodium\crypto_scalarmult\crypto_scalarmult.c" />
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_scalarmult\crypto_scalarmult.c" />
|
||||||
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_scalarmult\ed25519\ref10\scalarmult_ed25519_ref10.c" />
|
||||||
<ClCompile Include="..\..\..\..\src\libsodium\crypto_scalarmult\curve25519\scalarmult_curve25519.c" />
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_scalarmult\curve25519\scalarmult_curve25519.c" />
|
||||||
<ClCompile Include="..\..\..\..\src\libsodium\crypto_scalarmult\curve25519\sandy2x\curve25519_sandy2x.c" />
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_scalarmult\curve25519\sandy2x\curve25519_sandy2x.c" />
|
||||||
<ClCompile Include="..\..\..\..\src\libsodium\crypto_scalarmult\curve25519\sandy2x\fe_frombytes_sandy2x.c" />
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_scalarmult\curve25519\sandy2x\fe_frombytes_sandy2x.c" />
|
||||||
@ -248,6 +249,7 @@
|
|||||||
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_generichash.h" />
|
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_generichash.h" />
|
||||||
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_secretbox_xsalsa20poly1305.h" />
|
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_secretbox_xsalsa20poly1305.h" />
|
||||||
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_secretbox.h" />
|
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_secretbox.h" />
|
||||||
|
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_scalarmult_ed25519.h" />
|
||||||
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_box_curve25519xsalsa20poly1305.h" />
|
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_box_curve25519xsalsa20poly1305.h" />
|
||||||
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_generichash_blake2b.h" />
|
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_generichash_blake2b.h" />
|
||||||
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_sign_edwards25519sha512batch.h" />
|
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_sign_edwards25519sha512batch.h" />
|
||||||
|
@ -171,6 +171,9 @@
|
|||||||
<ClCompile Include="..\..\..\..\src\libsodium\crypto_scalarmult\crypto_scalarmult.c">
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_scalarmult\crypto_scalarmult.c">
|
||||||
<Filter>crypto_scalarmult</Filter>
|
<Filter>crypto_scalarmult</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_scalarmult\ed25519\ref10\scalarmult_ed25519_ref10.c">
|
||||||
|
<Filter>crypto_scalarmult\ed25519\ref10</Filter>
|
||||||
|
</ClCompile>
|
||||||
<ClCompile Include="..\..\..\..\src\libsodium\crypto_scalarmult\curve25519\scalarmult_curve25519.c">
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_scalarmult\curve25519\scalarmult_curve25519.c">
|
||||||
<Filter>crypto_scalarmult\curve25519</Filter>
|
<Filter>crypto_scalarmult\curve25519</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
@ -533,6 +536,9 @@
|
|||||||
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_secretbox.h">
|
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_secretbox.h">
|
||||||
<Filter>include\sodium</Filter>
|
<Filter>include\sodium</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
|
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_scalarmult_ed25519.h">
|
||||||
|
<Filter>include\sodium</Filter>
|
||||||
|
</ClInclude>
|
||||||
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_box_curve25519xsalsa20poly1305.h">
|
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_box_curve25519xsalsa20poly1305.h">
|
||||||
<Filter>include\sodium</Filter>
|
<Filter>include\sodium</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
@ -841,6 +847,12 @@
|
|||||||
<Filter Include="crypto_scalarmult\curve25519\sandy2x">
|
<Filter Include="crypto_scalarmult\curve25519\sandy2x">
|
||||||
<UniqueIdentifier>{5d2fb1a2-f063-32db-a81a-41f79e36fd23}</UniqueIdentifier>
|
<UniqueIdentifier>{5d2fb1a2-f063-32db-a81a-41f79e36fd23}</UniqueIdentifier>
|
||||||
</Filter>
|
</Filter>
|
||||||
|
<Filter Include="crypto_scalarmult\ed25519">
|
||||||
|
<UniqueIdentifier>{7bec6074-fbc7-330b-9e18-7dc3e868569a}</UniqueIdentifier>
|
||||||
|
</Filter>
|
||||||
|
<Filter Include="crypto_scalarmult\ed25519\ref10">
|
||||||
|
<UniqueIdentifier>{834d4827-81e4-3de3-baa1-a216763f11d6}</UniqueIdentifier>
|
||||||
|
</Filter>
|
||||||
<Filter Include="crypto_secretbox">
|
<Filter Include="crypto_secretbox">
|
||||||
<UniqueIdentifier>{b9b02bee-5c1f-36d2-b97d-983f865a4cc6}</UniqueIdentifier>
|
<UniqueIdentifier>{b9b02bee-5c1f-36d2-b97d-983f865a4cc6}</UniqueIdentifier>
|
||||||
</Filter>
|
</Filter>
|
||||||
|
@ -126,6 +126,7 @@
|
|||||||
<ClCompile Include="..\..\..\..\src\libsodium\crypto_shorthash\siphash24\ref\shorthash_siphashx24_ref.c" />
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_shorthash\siphash24\ref\shorthash_siphashx24_ref.c" />
|
||||||
<ClCompile Include="..\..\..\..\src\libsodium\crypto_shorthash\siphash24\ref\shorthash_siphash24_ref.c" />
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_shorthash\siphash24\ref\shorthash_siphash24_ref.c" />
|
||||||
<ClCompile Include="..\..\..\..\src\libsodium\crypto_scalarmult\crypto_scalarmult.c" />
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_scalarmult\crypto_scalarmult.c" />
|
||||||
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_scalarmult\ed25519\ref10\scalarmult_ed25519_ref10.c" />
|
||||||
<ClCompile Include="..\..\..\..\src\libsodium\crypto_scalarmult\curve25519\scalarmult_curve25519.c" />
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_scalarmult\curve25519\scalarmult_curve25519.c" />
|
||||||
<ClCompile Include="..\..\..\..\src\libsodium\crypto_scalarmult\curve25519\sandy2x\curve25519_sandy2x.c" />
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_scalarmult\curve25519\sandy2x\curve25519_sandy2x.c" />
|
||||||
<ClCompile Include="..\..\..\..\src\libsodium\crypto_scalarmult\curve25519\sandy2x\fe_frombytes_sandy2x.c" />
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_scalarmult\curve25519\sandy2x\fe_frombytes_sandy2x.c" />
|
||||||
@ -248,6 +249,7 @@
|
|||||||
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_generichash.h" />
|
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_generichash.h" />
|
||||||
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_secretbox_xsalsa20poly1305.h" />
|
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_secretbox_xsalsa20poly1305.h" />
|
||||||
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_secretbox.h" />
|
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_secretbox.h" />
|
||||||
|
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_scalarmult_ed25519.h" />
|
||||||
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_box_curve25519xsalsa20poly1305.h" />
|
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_box_curve25519xsalsa20poly1305.h" />
|
||||||
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_generichash_blake2b.h" />
|
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_generichash_blake2b.h" />
|
||||||
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_sign_edwards25519sha512batch.h" />
|
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_sign_edwards25519sha512batch.h" />
|
||||||
|
@ -171,6 +171,9 @@
|
|||||||
<ClCompile Include="..\..\..\..\src\libsodium\crypto_scalarmult\crypto_scalarmult.c">
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_scalarmult\crypto_scalarmult.c">
|
||||||
<Filter>crypto_scalarmult</Filter>
|
<Filter>crypto_scalarmult</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_scalarmult\ed25519\ref10\scalarmult_ed25519_ref10.c">
|
||||||
|
<Filter>crypto_scalarmult\ed25519\ref10</Filter>
|
||||||
|
</ClCompile>
|
||||||
<ClCompile Include="..\..\..\..\src\libsodium\crypto_scalarmult\curve25519\scalarmult_curve25519.c">
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_scalarmult\curve25519\scalarmult_curve25519.c">
|
||||||
<Filter>crypto_scalarmult\curve25519</Filter>
|
<Filter>crypto_scalarmult\curve25519</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
@ -533,6 +536,9 @@
|
|||||||
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_secretbox.h">
|
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_secretbox.h">
|
||||||
<Filter>include\sodium</Filter>
|
<Filter>include\sodium</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
|
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_scalarmult_ed25519.h">
|
||||||
|
<Filter>include\sodium</Filter>
|
||||||
|
</ClInclude>
|
||||||
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_box_curve25519xsalsa20poly1305.h">
|
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_box_curve25519xsalsa20poly1305.h">
|
||||||
<Filter>include\sodium</Filter>
|
<Filter>include\sodium</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
@ -841,6 +847,12 @@
|
|||||||
<Filter Include="crypto_scalarmult\curve25519\sandy2x">
|
<Filter Include="crypto_scalarmult\curve25519\sandy2x">
|
||||||
<UniqueIdentifier>{5d2fb1a2-f063-32db-a81a-41f79e36fd23}</UniqueIdentifier>
|
<UniqueIdentifier>{5d2fb1a2-f063-32db-a81a-41f79e36fd23}</UniqueIdentifier>
|
||||||
</Filter>
|
</Filter>
|
||||||
|
<Filter Include="crypto_scalarmult\ed25519">
|
||||||
|
<UniqueIdentifier>{7bec6074-fbc7-330b-9e18-7dc3e868569a}</UniqueIdentifier>
|
||||||
|
</Filter>
|
||||||
|
<Filter Include="crypto_scalarmult\ed25519\ref10">
|
||||||
|
<UniqueIdentifier>{834d4827-81e4-3de3-baa1-a216763f11d6}</UniqueIdentifier>
|
||||||
|
</Filter>
|
||||||
<Filter Include="crypto_secretbox">
|
<Filter Include="crypto_secretbox">
|
||||||
<UniqueIdentifier>{b9b02bee-5c1f-36d2-b97d-983f865a4cc6}</UniqueIdentifier>
|
<UniqueIdentifier>{b9b02bee-5c1f-36d2-b97d-983f865a4cc6}</UniqueIdentifier>
|
||||||
</Filter>
|
</Filter>
|
||||||
|
@ -126,6 +126,7 @@
|
|||||||
<ClCompile Include="..\..\..\..\src\libsodium\crypto_shorthash\siphash24\ref\shorthash_siphashx24_ref.c" />
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_shorthash\siphash24\ref\shorthash_siphashx24_ref.c" />
|
||||||
<ClCompile Include="..\..\..\..\src\libsodium\crypto_shorthash\siphash24\ref\shorthash_siphash24_ref.c" />
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_shorthash\siphash24\ref\shorthash_siphash24_ref.c" />
|
||||||
<ClCompile Include="..\..\..\..\src\libsodium\crypto_scalarmult\crypto_scalarmult.c" />
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_scalarmult\crypto_scalarmult.c" />
|
||||||
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_scalarmult\ed25519\ref10\scalarmult_ed25519_ref10.c" />
|
||||||
<ClCompile Include="..\..\..\..\src\libsodium\crypto_scalarmult\curve25519\scalarmult_curve25519.c" />
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_scalarmult\curve25519\scalarmult_curve25519.c" />
|
||||||
<ClCompile Include="..\..\..\..\src\libsodium\crypto_scalarmult\curve25519\sandy2x\curve25519_sandy2x.c" />
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_scalarmult\curve25519\sandy2x\curve25519_sandy2x.c" />
|
||||||
<ClCompile Include="..\..\..\..\src\libsodium\crypto_scalarmult\curve25519\sandy2x\fe_frombytes_sandy2x.c" />
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_scalarmult\curve25519\sandy2x\fe_frombytes_sandy2x.c" />
|
||||||
@ -248,6 +249,7 @@
|
|||||||
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_generichash.h" />
|
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_generichash.h" />
|
||||||
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_secretbox_xsalsa20poly1305.h" />
|
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_secretbox_xsalsa20poly1305.h" />
|
||||||
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_secretbox.h" />
|
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_secretbox.h" />
|
||||||
|
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_scalarmult_ed25519.h" />
|
||||||
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_box_curve25519xsalsa20poly1305.h" />
|
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_box_curve25519xsalsa20poly1305.h" />
|
||||||
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_generichash_blake2b.h" />
|
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_generichash_blake2b.h" />
|
||||||
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_sign_edwards25519sha512batch.h" />
|
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_sign_edwards25519sha512batch.h" />
|
||||||
|
@ -171,6 +171,9 @@
|
|||||||
<ClCompile Include="..\..\..\..\src\libsodium\crypto_scalarmult\crypto_scalarmult.c">
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_scalarmult\crypto_scalarmult.c">
|
||||||
<Filter>crypto_scalarmult</Filter>
|
<Filter>crypto_scalarmult</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_scalarmult\ed25519\ref10\scalarmult_ed25519_ref10.c">
|
||||||
|
<Filter>crypto_scalarmult\ed25519\ref10</Filter>
|
||||||
|
</ClCompile>
|
||||||
<ClCompile Include="..\..\..\..\src\libsodium\crypto_scalarmult\curve25519\scalarmult_curve25519.c">
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_scalarmult\curve25519\scalarmult_curve25519.c">
|
||||||
<Filter>crypto_scalarmult\curve25519</Filter>
|
<Filter>crypto_scalarmult\curve25519</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
@ -533,6 +536,9 @@
|
|||||||
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_secretbox.h">
|
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_secretbox.h">
|
||||||
<Filter>include\sodium</Filter>
|
<Filter>include\sodium</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
|
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_scalarmult_ed25519.h">
|
||||||
|
<Filter>include\sodium</Filter>
|
||||||
|
</ClInclude>
|
||||||
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_box_curve25519xsalsa20poly1305.h">
|
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_box_curve25519xsalsa20poly1305.h">
|
||||||
<Filter>include\sodium</Filter>
|
<Filter>include\sodium</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
@ -841,6 +847,12 @@
|
|||||||
<Filter Include="crypto_scalarmult\curve25519\sandy2x">
|
<Filter Include="crypto_scalarmult\curve25519\sandy2x">
|
||||||
<UniqueIdentifier>{5d2fb1a2-f063-32db-a81a-41f79e36fd23}</UniqueIdentifier>
|
<UniqueIdentifier>{5d2fb1a2-f063-32db-a81a-41f79e36fd23}</UniqueIdentifier>
|
||||||
</Filter>
|
</Filter>
|
||||||
|
<Filter Include="crypto_scalarmult\ed25519">
|
||||||
|
<UniqueIdentifier>{7bec6074-fbc7-330b-9e18-7dc3e868569a}</UniqueIdentifier>
|
||||||
|
</Filter>
|
||||||
|
<Filter Include="crypto_scalarmult\ed25519\ref10">
|
||||||
|
<UniqueIdentifier>{834d4827-81e4-3de3-baa1-a216763f11d6}</UniqueIdentifier>
|
||||||
|
</Filter>
|
||||||
<Filter Include="crypto_secretbox">
|
<Filter Include="crypto_secretbox">
|
||||||
<UniqueIdentifier>{b9b02bee-5c1f-36d2-b97d-983f865a4cc6}</UniqueIdentifier>
|
<UniqueIdentifier>{b9b02bee-5c1f-36d2-b97d-983f865a4cc6}</UniqueIdentifier>
|
||||||
</Filter>
|
</Filter>
|
||||||
|
@ -126,6 +126,7 @@
|
|||||||
<ClCompile Include="..\..\..\..\src\libsodium\crypto_shorthash\siphash24\ref\shorthash_siphashx24_ref.c" />
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_shorthash\siphash24\ref\shorthash_siphashx24_ref.c" />
|
||||||
<ClCompile Include="..\..\..\..\src\libsodium\crypto_shorthash\siphash24\ref\shorthash_siphash24_ref.c" />
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_shorthash\siphash24\ref\shorthash_siphash24_ref.c" />
|
||||||
<ClCompile Include="..\..\..\..\src\libsodium\crypto_scalarmult\crypto_scalarmult.c" />
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_scalarmult\crypto_scalarmult.c" />
|
||||||
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_scalarmult\ed25519\ref10\scalarmult_ed25519_ref10.c" />
|
||||||
<ClCompile Include="..\..\..\..\src\libsodium\crypto_scalarmult\curve25519\scalarmult_curve25519.c" />
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_scalarmult\curve25519\scalarmult_curve25519.c" />
|
||||||
<ClCompile Include="..\..\..\..\src\libsodium\crypto_scalarmult\curve25519\sandy2x\curve25519_sandy2x.c" />
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_scalarmult\curve25519\sandy2x\curve25519_sandy2x.c" />
|
||||||
<ClCompile Include="..\..\..\..\src\libsodium\crypto_scalarmult\curve25519\sandy2x\fe_frombytes_sandy2x.c" />
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_scalarmult\curve25519\sandy2x\fe_frombytes_sandy2x.c" />
|
||||||
@ -248,6 +249,7 @@
|
|||||||
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_generichash.h" />
|
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_generichash.h" />
|
||||||
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_secretbox_xsalsa20poly1305.h" />
|
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_secretbox_xsalsa20poly1305.h" />
|
||||||
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_secretbox.h" />
|
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_secretbox.h" />
|
||||||
|
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_scalarmult_ed25519.h" />
|
||||||
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_box_curve25519xsalsa20poly1305.h" />
|
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_box_curve25519xsalsa20poly1305.h" />
|
||||||
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_generichash_blake2b.h" />
|
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_generichash_blake2b.h" />
|
||||||
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_sign_edwards25519sha512batch.h" />
|
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_sign_edwards25519sha512batch.h" />
|
||||||
|
@ -171,6 +171,9 @@
|
|||||||
<ClCompile Include="..\..\..\..\src\libsodium\crypto_scalarmult\crypto_scalarmult.c">
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_scalarmult\crypto_scalarmult.c">
|
||||||
<Filter>crypto_scalarmult</Filter>
|
<Filter>crypto_scalarmult</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_scalarmult\ed25519\ref10\scalarmult_ed25519_ref10.c">
|
||||||
|
<Filter>crypto_scalarmult\ed25519\ref10</Filter>
|
||||||
|
</ClCompile>
|
||||||
<ClCompile Include="..\..\..\..\src\libsodium\crypto_scalarmult\curve25519\scalarmult_curve25519.c">
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_scalarmult\curve25519\scalarmult_curve25519.c">
|
||||||
<Filter>crypto_scalarmult\curve25519</Filter>
|
<Filter>crypto_scalarmult\curve25519</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
@ -533,6 +536,9 @@
|
|||||||
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_secretbox.h">
|
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_secretbox.h">
|
||||||
<Filter>include\sodium</Filter>
|
<Filter>include\sodium</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
|
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_scalarmult_ed25519.h">
|
||||||
|
<Filter>include\sodium</Filter>
|
||||||
|
</ClInclude>
|
||||||
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_box_curve25519xsalsa20poly1305.h">
|
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_box_curve25519xsalsa20poly1305.h">
|
||||||
<Filter>include\sodium</Filter>
|
<Filter>include\sodium</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
@ -841,6 +847,12 @@
|
|||||||
<Filter Include="crypto_scalarmult\curve25519\sandy2x">
|
<Filter Include="crypto_scalarmult\curve25519\sandy2x">
|
||||||
<UniqueIdentifier>{5d2fb1a2-f063-32db-a81a-41f79e36fd23}</UniqueIdentifier>
|
<UniqueIdentifier>{5d2fb1a2-f063-32db-a81a-41f79e36fd23}</UniqueIdentifier>
|
||||||
</Filter>
|
</Filter>
|
||||||
|
<Filter Include="crypto_scalarmult\ed25519">
|
||||||
|
<UniqueIdentifier>{7bec6074-fbc7-330b-9e18-7dc3e868569a}</UniqueIdentifier>
|
||||||
|
</Filter>
|
||||||
|
<Filter Include="crypto_scalarmult\ed25519\ref10">
|
||||||
|
<UniqueIdentifier>{834d4827-81e4-3de3-baa1-a216763f11d6}</UniqueIdentifier>
|
||||||
|
</Filter>
|
||||||
<Filter Include="crypto_secretbox">
|
<Filter Include="crypto_secretbox">
|
||||||
<UniqueIdentifier>{b9b02bee-5c1f-36d2-b97d-983f865a4cc6}</UniqueIdentifier>
|
<UniqueIdentifier>{b9b02bee-5c1f-36d2-b97d-983f865a4cc6}</UniqueIdentifier>
|
||||||
</Filter>
|
</Filter>
|
||||||
|
@ -349,6 +349,9 @@ _crypto_scalarmult_curve25519 0 1
|
|||||||
_crypto_scalarmult_curve25519_base 0 1
|
_crypto_scalarmult_curve25519_base 0 1
|
||||||
_crypto_scalarmult_curve25519_bytes 0 1
|
_crypto_scalarmult_curve25519_bytes 0 1
|
||||||
_crypto_scalarmult_curve25519_scalarbytes 0 1
|
_crypto_scalarmult_curve25519_scalarbytes 0 1
|
||||||
|
_crypto_scalarmult_ed25519 0 1
|
||||||
|
_crypto_scalarmult_ed25519_bytes 0 1
|
||||||
|
_crypto_scalarmult_ed25519_scalarbytes 0 1
|
||||||
_crypto_scalarmult_primitive 0 1
|
_crypto_scalarmult_primitive 0 1
|
||||||
_crypto_scalarmult_scalarbytes 1 1
|
_crypto_scalarmult_scalarbytes 1 1
|
||||||
_crypto_secretbox 0 1
|
_crypto_secretbox 0 1
|
||||||
@ -419,7 +422,6 @@ _crypto_sign_ed25519_messagebytes_max 0 0
|
|||||||
_crypto_sign_ed25519_open 0 1
|
_crypto_sign_ed25519_open 0 1
|
||||||
_crypto_sign_ed25519_pk_to_curve25519 1 1
|
_crypto_sign_ed25519_pk_to_curve25519 1 1
|
||||||
_crypto_sign_ed25519_publickeybytes 0 1
|
_crypto_sign_ed25519_publickeybytes 0 1
|
||||||
_crypto_sign_ed25519_scalarmult 0 0
|
|
||||||
_crypto_sign_ed25519_secretkeybytes 0 1
|
_crypto_sign_ed25519_secretkeybytes 0 1
|
||||||
_crypto_sign_ed25519_seed_keypair 0 1
|
_crypto_sign_ed25519_seed_keypair 0 1
|
||||||
_crypto_sign_ed25519_seedbytes 0 1
|
_crypto_sign_ed25519_seedbytes 0 1
|
||||||
|
File diff suppressed because one or more lines are too long
@ -364,6 +364,7 @@
|
|||||||
<ClCompile Include="src\libsodium\crypto_shorthash\siphash24\ref\shorthash_siphashx24_ref.c" />
|
<ClCompile Include="src\libsodium\crypto_shorthash\siphash24\ref\shorthash_siphashx24_ref.c" />
|
||||||
<ClCompile Include="src\libsodium\crypto_shorthash\siphash24\ref\shorthash_siphash24_ref.c" />
|
<ClCompile Include="src\libsodium\crypto_shorthash\siphash24\ref\shorthash_siphash24_ref.c" />
|
||||||
<ClCompile Include="src\libsodium\crypto_scalarmult\crypto_scalarmult.c" />
|
<ClCompile Include="src\libsodium\crypto_scalarmult\crypto_scalarmult.c" />
|
||||||
|
<ClCompile Include="src\libsodium\crypto_scalarmult\ed25519\ref10\scalarmult_ed25519_ref10.c" />
|
||||||
<ClCompile Include="src\libsodium\crypto_scalarmult\curve25519\scalarmult_curve25519.c" />
|
<ClCompile Include="src\libsodium\crypto_scalarmult\curve25519\scalarmult_curve25519.c" />
|
||||||
<ClCompile Include="src\libsodium\crypto_scalarmult\curve25519\sandy2x\curve25519_sandy2x.c" />
|
<ClCompile Include="src\libsodium\crypto_scalarmult\curve25519\sandy2x\curve25519_sandy2x.c" />
|
||||||
<ClCompile Include="src\libsodium\crypto_scalarmult\curve25519\sandy2x\fe_frombytes_sandy2x.c" />
|
<ClCompile Include="src\libsodium\crypto_scalarmult\curve25519\sandy2x\fe_frombytes_sandy2x.c" />
|
||||||
@ -486,6 +487,7 @@
|
|||||||
<ClInclude Include="src\libsodium\include\sodium\crypto_generichash.h" />
|
<ClInclude Include="src\libsodium\include\sodium\crypto_generichash.h" />
|
||||||
<ClInclude Include="src\libsodium\include\sodium\crypto_secretbox_xsalsa20poly1305.h" />
|
<ClInclude Include="src\libsodium\include\sodium\crypto_secretbox_xsalsa20poly1305.h" />
|
||||||
<ClInclude Include="src\libsodium\include\sodium\crypto_secretbox.h" />
|
<ClInclude Include="src\libsodium\include\sodium\crypto_secretbox.h" />
|
||||||
|
<ClInclude Include="src\libsodium\include\sodium\crypto_scalarmult_ed25519.h" />
|
||||||
<ClInclude Include="src\libsodium\include\sodium\crypto_box_curve25519xsalsa20poly1305.h" />
|
<ClInclude Include="src\libsodium\include\sodium\crypto_box_curve25519xsalsa20poly1305.h" />
|
||||||
<ClInclude Include="src\libsodium\include\sodium\crypto_generichash_blake2b.h" />
|
<ClInclude Include="src\libsodium\include\sodium\crypto_generichash_blake2b.h" />
|
||||||
<ClInclude Include="src\libsodium\include\sodium\crypto_sign_edwards25519sha512batch.h" />
|
<ClInclude Include="src\libsodium\include\sodium\crypto_sign_edwards25519sha512batch.h" />
|
||||||
|
@ -162,6 +162,9 @@
|
|||||||
<ClCompile Include="src\libsodium\crypto_scalarmult\crypto_scalarmult.c">
|
<ClCompile Include="src\libsodium\crypto_scalarmult\crypto_scalarmult.c">
|
||||||
<Filter>Source Files</Filter>
|
<Filter>Source Files</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
|
<ClCompile Include="src\libsodium\crypto_scalarmult\ed25519\ref10\scalarmult_ed25519_ref10.c">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
<ClCompile Include="src\libsodium\crypto_scalarmult\curve25519\scalarmult_curve25519.c">
|
<ClCompile Include="src\libsodium\crypto_scalarmult\curve25519\scalarmult_curve25519.c">
|
||||||
<Filter>Source Files</Filter>
|
<Filter>Source Files</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
@ -524,6 +527,9 @@
|
|||||||
<ClInclude Include="src\libsodium\include\sodium\crypto_secretbox.h">
|
<ClInclude Include="src\libsodium\include\sodium\crypto_secretbox.h">
|
||||||
<Filter>Header Files</Filter>
|
<Filter>Header Files</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
|
<ClInclude Include="src\libsodium\include\sodium\crypto_scalarmult_ed25519.h">
|
||||||
|
<Filter>Header Files</Filter>
|
||||||
|
</ClInclude>
|
||||||
<ClInclude Include="src\libsodium\include\sodium\crypto_box_curve25519xsalsa20poly1305.h">
|
<ClInclude Include="src\libsodium\include\sodium\crypto_box_curve25519xsalsa20poly1305.h">
|
||||||
<Filter>Header Files</Filter>
|
<Filter>Header Files</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
|
@ -59,6 +59,7 @@ libsodium_la_SOURCES = \
|
|||||||
crypto_scalarmult/crypto_scalarmult.c \
|
crypto_scalarmult/crypto_scalarmult.c \
|
||||||
crypto_scalarmult/curve25519/scalarmult_curve25519.c \
|
crypto_scalarmult/curve25519/scalarmult_curve25519.c \
|
||||||
crypto_scalarmult/curve25519/scalarmult_curve25519.h \
|
crypto_scalarmult/curve25519/scalarmult_curve25519.h \
|
||||||
|
crypto_scalarmult/ed25519/ref10/scalarmult_ed25519_ref10.c \
|
||||||
crypto_secretbox/crypto_secretbox.c \
|
crypto_secretbox/crypto_secretbox.c \
|
||||||
crypto_secretbox/crypto_secretbox_easy.c \
|
crypto_secretbox/crypto_secretbox_easy.c \
|
||||||
crypto_secretbox/xsalsa20poly1305/secretbox_xsalsa20poly1305.c \
|
crypto_secretbox/xsalsa20poly1305/secretbox_xsalsa20poly1305.c \
|
||||||
|
@ -0,0 +1,41 @@
|
|||||||
|
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
|
#include "crypto_scalarmult_ed25519.h"
|
||||||
|
#include "private/curve25519_ref10.h"
|
||||||
|
|
||||||
|
int
|
||||||
|
crypto_scalarmult_ed25519(unsigned char *q, const unsigned char *n,
|
||||||
|
const unsigned char *p)
|
||||||
|
{
|
||||||
|
unsigned char *t = q;
|
||||||
|
ge_p3 Q;
|
||||||
|
ge_p3 P;
|
||||||
|
|
||||||
|
if (ge_is_canonical(p) != 0 || ge_has_small_order(p) != 0 ||
|
||||||
|
ge_frombytes_negate_vartime(&P, p) != 0 ||
|
||||||
|
ge_is_on_main_subgroup(&P) == 0) {
|
||||||
|
return -1;
|
||||||
|
}
|
||||||
|
memmove(t, n, 32);
|
||||||
|
t[0] &= 248;
|
||||||
|
t[31] &= 63;
|
||||||
|
t[31] |= 64;
|
||||||
|
ge_scalarmult(&Q, t, &P);
|
||||||
|
ge_p3_tobytes(q, &Q);
|
||||||
|
q[31] ^= 0x80;
|
||||||
|
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
size_t
|
||||||
|
crypto_scalarmult_ed25519_bytes(void)
|
||||||
|
{
|
||||||
|
return crypto_scalarmult_ed25519_BYTES;
|
||||||
|
}
|
||||||
|
|
||||||
|
size_t
|
||||||
|
crypto_scalarmult_ed25519_scalarbytes(void)
|
||||||
|
{
|
||||||
|
return crypto_scalarmult_ed25519_SCALARBYTES;
|
||||||
|
}
|
@ -9,30 +9,6 @@
|
|||||||
#include "randombytes.h"
|
#include "randombytes.h"
|
||||||
#include "utils.h"
|
#include "utils.h"
|
||||||
|
|
||||||
int
|
|
||||||
crypto_sign_ed25519_scalarmult(unsigned char *q, const unsigned char *n,
|
|
||||||
const unsigned char *p)
|
|
||||||
{
|
|
||||||
unsigned char *t = q;
|
|
||||||
ge_p3 Q;
|
|
||||||
ge_p3 P;
|
|
||||||
|
|
||||||
if (ge_is_canonical(p) != 0 || ge_has_small_order(p) != 0 ||
|
|
||||||
ge_frombytes_negate_vartime(&P, p) != 0 ||
|
|
||||||
ge_is_on_main_subgroup(&P) == 0) {
|
|
||||||
return -1;
|
|
||||||
}
|
|
||||||
memmove(t, n, 32);
|
|
||||||
t[0] &= 248;
|
|
||||||
t[31] &= 63;
|
|
||||||
t[31] |= 64;
|
|
||||||
ge_scalarmult(&Q, t, &P);
|
|
||||||
ge_p3_tobytes(q, &Q);
|
|
||||||
q[31] ^= 0x80;
|
|
||||||
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
int
|
int
|
||||||
crypto_sign_ed25519_seed_keypair(unsigned char *pk, unsigned char *sk,
|
crypto_sign_ed25519_seed_keypair(unsigned char *pk, unsigned char *sk,
|
||||||
const unsigned char *seed)
|
const unsigned char *seed)
|
||||||
|
@ -33,6 +33,7 @@ SODIUM_EXPORT = \
|
|||||||
sodium/crypto_pwhash_scryptsalsa208sha256.h \
|
sodium/crypto_pwhash_scryptsalsa208sha256.h \
|
||||||
sodium/crypto_scalarmult.h \
|
sodium/crypto_scalarmult.h \
|
||||||
sodium/crypto_scalarmult_curve25519.h \
|
sodium/crypto_scalarmult_curve25519.h \
|
||||||
|
sodium/crypto_scalarmult_ed25519.h \
|
||||||
sodium/crypto_secretbox.h \
|
sodium/crypto_secretbox.h \
|
||||||
sodium/crypto_secretbox_xchacha20poly1305.h \
|
sodium/crypto_secretbox_xchacha20poly1305.h \
|
||||||
sodium/crypto_secretbox_xsalsa20poly1305.h \
|
sodium/crypto_secretbox_xsalsa20poly1305.h \
|
||||||
|
@ -33,6 +33,7 @@
|
|||||||
#include "sodium/crypto_pwhash_argon2i.h"
|
#include "sodium/crypto_pwhash_argon2i.h"
|
||||||
#include "sodium/crypto_scalarmult.h"
|
#include "sodium/crypto_scalarmult.h"
|
||||||
#include "sodium/crypto_scalarmult_curve25519.h"
|
#include "sodium/crypto_scalarmult_curve25519.h"
|
||||||
|
#include "sodium/crypto_scalarmult_ed25519.h"
|
||||||
#include "sodium/crypto_secretbox.h"
|
#include "sodium/crypto_secretbox.h"
|
||||||
#include "sodium/crypto_secretbox_xsalsa20poly1305.h"
|
#include "sodium/crypto_secretbox_xsalsa20poly1305.h"
|
||||||
#include "sodium/crypto_secretstream_xchacha20poly1305.h"
|
#include "sodium/crypto_secretstream_xchacha20poly1305.h"
|
||||||
|
30
src/libsodium/include/sodium/crypto_scalarmult_ed25519.h
Normal file
30
src/libsodium/include/sodium/crypto_scalarmult_ed25519.h
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
|
||||||
|
#ifndef crypto_scalarmult_ed25519_H
|
||||||
|
#define crypto_scalarmult_ed25519_H
|
||||||
|
|
||||||
|
#include <stddef.h>
|
||||||
|
|
||||||
|
#include "export.h"
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#define crypto_scalarmult_ed25519_BYTES 32U
|
||||||
|
SODIUM_EXPORT
|
||||||
|
size_t crypto_scalarmult_ed25519_bytes(void);
|
||||||
|
|
||||||
|
#define crypto_scalarmult_ed25519_SCALARBYTES 32U
|
||||||
|
SODIUM_EXPORT
|
||||||
|
size_t crypto_scalarmult_ed25519_scalarbytes(void);
|
||||||
|
|
||||||
|
SODIUM_EXPORT
|
||||||
|
int crypto_scalarmult_ed25519(unsigned char *q, const unsigned char *n,
|
||||||
|
const unsigned char *p)
|
||||||
|
__attribute__ ((warn_unused_result));
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#endif
|
@ -87,11 +87,6 @@ int crypto_sign_ed25519_sk_to_seed(unsigned char *seed,
|
|||||||
SODIUM_EXPORT
|
SODIUM_EXPORT
|
||||||
int crypto_sign_ed25519_sk_to_pk(unsigned char *pk, const unsigned char *sk);
|
int crypto_sign_ed25519_sk_to_pk(unsigned char *pk, const unsigned char *sk);
|
||||||
|
|
||||||
SODIUM_EXPORT
|
|
||||||
int crypto_sign_ed25519_scalarmult(unsigned char *q, const unsigned char *n,
|
|
||||||
const unsigned char *p)
|
|
||||||
__attribute__ ((warn_unused_result));
|
|
||||||
|
|
||||||
SODIUM_EXPORT
|
SODIUM_EXPORT
|
||||||
int crypto_sign_ed25519ph_init(crypto_sign_ed25519ph_state *state);
|
int crypto_sign_ed25519ph_init(crypto_sign_ed25519ph_state *state);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user