Commit Graph

41 Commits

Author SHA1 Message Date
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
Aaron Andersen
6153f6d89f nettle: 3.4.1 -> 3.5.1 2019-09-24 11:07:34 -04: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
Will Dietz
ff084c7256 nettle: 3.4 -> 3.4.1 (security)
https://lists.gnu.org/archive/html/info-gnu/2018-12/msg00001.html
2018-12-07 20:27:53 -06: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
Vincent Laporte
d3e488c3a3
nettle: remove at 3.3 2017-12-06 20:39:41 +00:00
Vladimír Čunát
d477bc353c
ocamlnet: fixup build by bringing back nettle-3.3 2017-11-30 12:28:35 +01:00
Lancelot SIX
14a754ff63
nettle: 3.3 -> 3.4
See http://lists.gnu.org/archive/html/info-gnu/2017-11/msg00007.html
for release information
2017-11-20 09:45:17 +01:00
Lancelot SIX
06c594304c
nettle: 3.2 -> 3.3
This is a bugfix release.

See http://lists.gnu.org/archive/html/info-gnu/2016-10/msg00003.html
for release announcement.
2016-11-29 14:54:14 +01:00
Graham Christensen
54db6a46c7
nettle: 3.1.1 -> 3.2 2016-09-24 09:02:25 -04: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
Domen Kožar
83b5a75d94 nettle27: remove uneeded package superseeded by 3.x
(cherry picked from commit b4b6b914c4)
Signed-off-by: Domen Kožar <domen@dev.si>
2015-08-31 00:07:55 +02:00
Eelco Dolstra
fd75bf0c7d nettle: Disable static libraries 2015-08-13 13:26:45 +02:00
William A. Kennington III
df000d93e9 nettle: 3.1 -> 3.1.1 2015-04-25 18:38:31 -07:00
William A. Kennington III
daadb2098a nettle: 3.0 -> 3.1 2015-04-20 21:34:48 -07:00
William A. Kennington III
5a9cf6393f nettle: Add version 3.0 as the default 2015-04-03 19:14:17 -07:00
William A. Kennington III
60b8b5a580 nettle: Refactor to be generic 2015-04-03 19:13:20 -07:00
Ludovic Courtès
41b53577a8 unmaintain a bunch of packages 2015-01-13 22:33:49 +01:00
Bjørn Forsman
c9baba9212 Fix many package descriptions
(My OCD kicked in today...)

Remove repeated package names, capitalize first word, remove trailing
periods and move overlong descriptions to longDescription.

I also simplified some descriptions as well, when they were particularly
long or technical, often based on Arch Linux' package descriptions.

I've tried to stay away from generated expressions (and I think I
succeeded).

Some specifics worth mentioning:
 * cron, has "Vixie Cron" in its description. The "Vixie" part is not
   mentioned anywhere else. I kept it in a parenthesis at the end of the
   description.

 * ctags description started with "Exuberant Ctags ...", and the
   "exuberant" part is not mentioned elsewhere. Kept it in a parenthesis
   at the end of description.

 * nix has the description "The Nix Deployment System". Since that
   doesn't really say much what it is/does (especially after removing
   the package name!), I changed that to "Powerful package manager that
   makes package management reliable and reproducible" (borrowed from
   nixos.org).

 * Tons of "GNU Foo, Foo is a [the important bits]" descriptions
   is changed to just [the important bits]. If the package name doesn't
   contain GNU I don't think it's needed to say it in the description
   either.
2014-08-24 22:31:37 +02:00
Mateusz Kowalczyk
7a45996233 Turn some license strings into lib.licenses values 2014-07-28 11:31:14 +02:00
Lluís Batlle i Rossell
5324db88ec gnutls: update to 3.2.1
Required also: nettle: update to 2.7.1

I tested that wget works.
2013-06-03 12:19:02 +02:00
Lluís Batlle i Rossell
6c961181c2 Revert "gnutls: update to 3.2.0"
Hydra found that the i686 tests fail. I'll work on this later.
  http://hydra.nixos.org/build/4980459

This reverts commit c1708440bd.
2013-05-17 23:40:37 +02:00
Lluís Batlle i Rossell
c1708440bd gnutls: update to 3.2.0
It required a nettle update to 2.7 too.
2013-05-17 22:57:19 +02:00
Aristid Breitkreuz
352c0067e6 some tests for nettle and gnutls donot seem to work on OS X 2013-01-21 10:57:10 +01:00
Ludovic Courtès
1189d3fb2a nettle: update to 2.5. 2012-10-19 14:10:24 +02:00
Ludovic Courtès
711d1fc6f0 nettle: allow GMP to be found on OpenSolaris 2012-08-09 18:32:53 +02:00
Ludovic Courtès
77f80e6310 GNU Nettle 2.4.
svn path=/nixpkgs/trunk/; revision=29008
2011-09-04 23:05:35 +00:00
Ludovic Courtès
56c2fe0c56 GNU Nettle 2.2.
svn path=/nixpkgs/trunk/; revision=28746
2011-08-22 17:38:16 +00:00
Karn Kallio
e29d509152 Move the gmp dependency to nettle, where it originates.
As pointed out by Ludovic Courtès.

svn path=/nixpkgs/trunk/; revision=26812
2011-04-13 02:02:11 +00:00
Ludovic Courtès
3002aafcf3 Build GNU Nettle.
svn path=/nixpkgs/trunk/; revision=23363
2010-08-23 14:50:55 +00:00
Ludovic Courtès
0ca823ff87 GNU Nettle 2.1.
svn path=/nixpkgs/trunk/; revision=23284
2010-08-20 18:40:35 +00:00
Ludovic Courtès
dbaa2bdf70 Nettle: Disable tests on Cygwin.
svn path=/nixpkgs/trunk/; revision=17262
2009-09-18 18:25:24 +00:00
Ludovic Courtès
519b26bd4d GNU Nettle: Tentative patch for Cygwin.
svn path=/nixpkgs/trunk/; revision=17250
2009-09-18 15:01:47 +00:00
Ludovic Courtès
ba315f3052 Fix GNU Nettle.
svn path=/nixpkgs/trunk/; revision=17194
2009-09-16 14:26:00 +00:00
Ludovic Courtès
0de18066f7 Nettle: Add `meta.homepage'.
svn path=/nixpkgs/trunk/; revision=16128
2009-07-01 21:44:20 +00:00
Ludovic Courtès
725ed45940 Add GNU Nettle, a cryptographic library.
svn path=/nixpkgs/trunk/; revision=16127
2009-07-01 15:42:01 +00:00