3
0
Fork 0
forked from mirrors/nixpkgs
Commit graph

13 commits

Author SHA1 Message Date
Michael Reilly 84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Vladimír Čunát 03d69128b2
nettle: runtime selection of HW-accelerated code
> Include multiple versions of certain functions in the library,
> and select the ones to use at run-time, depending on available
> processor features. Supported for ARM and x86_64.

The current version seems to accelerate AES and SHA families.

Size increase on x86_64 is <10k in our case.

It can make quite some performance difference; I tried
$ time ./result-dev/bin/nettle-hash -a sha256 /some/file/around/2G
And the total CPU time went down from 8.5s to 2s (single thread).
Now it matches the time of openssl
$ time openssl sha256 /some/file/around/2G
Of course, in real life it will be much harder to notice a difference...

Platforms without support for this (e.g. i686) seem to still build fine,
and ARMv7 cross-build also succeeds for me, so hopefully all is OK.
2020-02-18 12:22:51 +01:00
volth 08f68313a4 treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
Jörg Thalheim b5c1deca8a
treewide: remove wkennington as maintainer
He prefers to contribute to his own nixpkgs fork triton.
Since he is still marked as maintainer in many packages
this leaves the wrong impression he still maintains those.
2019-01-26 10:05:32 +00:00
John Ericson 2c2f1e37d4 reewide: Purge all uses stdenv.system and top-level system
It is deprecated and will be removed after 18.09.
2018-08-30 17:20:32 -04:00
Will Dietz 6825c0c18b nettle: cleanup cross changes
reviewer feedback + minor other things I noticed
while revisiting.
2018-02-13 12:36:54 -06:00
Ben Gamari 5b761a8687 nettle: Enable cross-compilation 2018-02-13 09:44:57 -06:00
Tuomas Tynkkynen a17216af4c treewide: Shuffle outputs
Make either 'bin' or 'out' the first output.
2016-08-29 14:49:51 +03:00
Vladimír Čunát 148e03b2f1 gmp: split into multiple outputs 2015-10-28 10:15:49 +01:00
Vladimír Čunát aabf50802d nettle: split a "dev" output
Referrers look OK; seems too easy again.
2015-10-13 20:18:52 +02:00
Eelco Dolstra fd75bf0c7d nettle: Disable static libraries 2015-08-13 13:26:45 +02:00
William A. Kennington III daadb2098a nettle: 3.0 -> 3.1 2015-04-20 21:34:48 -07:00
William A. Kennington III 60b8b5a580 nettle: Refactor to be generic 2015-04-03 19:13:20 -07:00