Skip to content
This repository has been archived by the owner on May 25, 2021. It is now read-only.

Native support for Windows #21

Open
tomfitzhenry opened this issue Jun 9, 2014 · 2 comments
Open

Native support for Windows #21

tomfitzhenry opened this issue Jun 9, 2014 · 2 comments

Comments

@tomfitzhenry
Copy link

There is native support for Darwin, FreeBSD and Linux, but not Windows. Performance on Windows, consequently, is poor.

Windows support would be appreciated!

@tomfitzhenry
Copy link
Author

The use of Unix headers (sys/mman.h), https://github.com/wg/scrypt/blob/master/src/main/c/crypto_scrypt-nosse.c#L32 , that aren't available on Windows will make this harder.

I realise you won't want to change the C code, since it's a copy of the original scrypt code. Perhaps https://github.com/barrysteyn/scrypt-windows would be useful, which aims to compile scrypt on Windows, without changing any of the original code, and without depending on MinGW or Cygwin.

@tomfitzhenry
Copy link
Author

So it turns out MinGW exists, and allows you to build DLLs on Linux. How convenient. Further, this has already been done: FauxFaux@887936d . I'll prepare a pull request with the relevant commits.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant