Commit Graph

63 Commits

Author SHA256 Message Date
Ana Guerrero
ce22e5ea9d Accepting request 1182662 from security:tls
OBS-URL: https://build.opensuse.org/request/show/1182662
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libnettle?expand=0&rev=48
2024-06-24 18:50:20 +00:00
ca71ce9df2 - Update to 3.10:
* Bug fixes:
    - Add missing hash functions sha512_224 and sha512_256 to the
      nettle_get_hashes() list. The name values in the
      corresponding nettle_hash structs also changed to use
      underscore instead of dash, for consistency.
    - Fix a few cases of formally undefined calls to memcpy(dst,
      NULL, 0), resulting from valid calls to, e.g.,
      sha256_update(ctx, 0, NULL).
  * New features:
    - Support RSA-OAEP encryption. Contributed by Nicolas Mora and Daiki Ueno.
    - New function sha3_256_shake_output, new functions
      sha3_128_init, sha3_128_update, sha3_128_shake,
      sha3_128_shake_output. Contributed by Daiki Ueno.
    - Added DRBG-CTR with AES256, contributed by Simon Josefsson.
  * Optimizations:
    - New combined gcm-aes assembly for powerpc64, contributed by Danny Tsen.
    - New sha256 assembly for powerpc64, contributed by Eric Richter.
    - Improved performance for powerpc64 AES decrypt, by skipping
      subkey transformations that don't suit the vncipher instructions.
    - Add arm64 CPU feature detection for Android and for Apple systems,
      contributed by Foolbar and Tim Kosse, prespectively.
  * Miscellaneous:
    - New tests for side-channel silence, based on valgrind.
    - Delete all md5 assembly code. Delete all sparc32 assembly code.

OBS-URL: https://build.opensuse.org/package/show/security:tls/libnettle?expand=0&rev=40
2024-06-22 19:14:46 +00:00
Dominique Leuenberger
fc5859855b Accepting request 1095348 from security:tls
OBS-URL: https://build.opensuse.org/request/show/1095348
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libnettle?expand=0&rev=47
2023-06-27 21:15:40 +00:00
7f3fee1584 Accepting request 1095347 from home:pmonrealgonzalez:branches:security:tls
- Add the architecture specific READMEs as provided by upstream.

- update to 3.9.1: [bsc#1212112, CVE-2023-36660]

OBS-URL: https://build.opensuse.org/request/show/1095347
OBS-URL: https://build.opensuse.org/package/show/security:tls/libnettle?expand=0&rev=38
2023-06-26 08:11:44 +00:00
Dominique Leuenberger
33ce0374b6 Accepting request 1091398 from security:tls
OBS-URL: https://build.opensuse.org/request/show/1091398
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libnettle?expand=0&rev=46
2023-06-08 19:42:00 +00:00
fbb1846557 Accepting request 1091397 from home:pmonrealgonzalez:branches:security:tls
- Include the nettle library manual in HTML and PDF formats in
  the devel package.

- update to 3.9.1: [bsc#1212112]

OBS-URL: https://build.opensuse.org/request/show/1091397
OBS-URL: https://build.opensuse.org/package/show/security:tls/libnettle?expand=0&rev=36
2023-06-08 08:22:38 +00:00
ae9d4ad4f7 Accepting request 1091200 from home:AndreasStieger:branches:security:tls
libnettle 3.9.1

OBS-URL: https://build.opensuse.org/request/show/1091200
OBS-URL: https://build.opensuse.org/package/show/security:tls/libnettle?expand=0&rev=35
2023-06-07 06:12:52 +00:00
Dominique Leuenberger
53d4b2ed0b Accepting request 1087351 from security:tls
libnettle 3.9 (forwarded request 1087283 from AndreasStieger)

OBS-URL: https://build.opensuse.org/request/show/1087351
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libnettle?expand=0&rev=45
2023-05-17 08:52:39 +00:00
56d5a37e9e Accepting request 1087283 from home:AndreasStieger:branches:security:tls
libnettle 3.9

OBS-URL: https://build.opensuse.org/request/show/1087283
OBS-URL: https://build.opensuse.org/package/show/security:tls/libnettle?expand=0&rev=33
2023-05-16 07:46:32 +00:00
Dominique Leuenberger
ccd219719a Accepting request 1070247 from security:tls
OBS-URL: https://build.opensuse.org/request/show/1070247
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libnettle?expand=0&rev=44
2023-03-11 17:22:01 +00:00
8af71073fd Accepting request 1070142 from home:pluskalm:branches:security:tls
- Build AVX2 enabled hwcaps library for x86_64-v3

OBS-URL: https://build.opensuse.org/request/show/1070142
OBS-URL: https://build.opensuse.org/package/show/security:tls/libnettle?expand=0&rev=31
2023-03-08 18:05:45 +00:00
Fabian Vogt
a7b2b94f80 Accepting request 991715 from security:tls
OBS-URL: https://build.opensuse.org/request/show/991715
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libnettle?expand=0&rev=43
2022-07-31 21:00:54 +00:00
d6ad6326c7 Accepting request 991601 from home:dirkmueller:Factory
- update to 3.8.1:
  * Avoid non-posix m4 argument references in the chacha
    implementation for arm64, powerpc64 and s390x. Reported by
    Christian Weisgerber, fix contributed by Mamone Tarsha.
  * Use explicit .machine pseudo-ops where needed in s390x
    assembly files. Bug report by Andreas K. Huettel, fix
    contributed by Mamone Tarsha.

OBS-URL: https://build.opensuse.org/request/show/991601
OBS-URL: https://build.opensuse.org/package/show/security:tls/libnettle?expand=0&rev=29
2022-07-29 12:43:59 +00:00
Dominique Leuenberger
5842436f7d Accepting request 988627 from security:tls
- update to 3.8:
  This release includes a couple of new features, and many
  performance improvements. It adds assembly code for two more
  architectures: ARM64 and S390x.
  The new version is intended to be fully source and binary
  compatible with Nettle-3.6. The shared library names are
  libnettle.so.8.5 and libhogweed.so.6.5, with sonames
  libnettle.so.8 and libhogweed.so.6.
  New features:
  * AES keywrap (RFC 3394), contributed by Nicolas Mora.
  * SM3 hash function, contributed by Tianjia Zhang.
  * New functions cbc_aes128_encrypt, cbc_aes192_encrypt,
    cbc_aes256_encrypt.
    On processors where AES is fast enough, e.g., x86_64 with
    aesni instructions, the overhead of using Nettle's general
    cbc_encrypt can be significant. The new functions can be
    implemented in assembly, to do multiple blocks with reduced
    per-block overhead.
    Note that there's no corresponding new decrypt functions,
    since the general cbc_decrypt doesn't suffer from the same
    performance problem.
  Bug fixes:
  * Fix fat builds for x86_64 windows, these appear to never
    have worked.
  Optimizations:
  * New ARM64 implementation of AES, GCM, Chacha, SHA1 and
    SHA256, for processors supporting crypto extensions. Great
    speedups, and fat builds are supported. Contributed by
    Mamone Tarsha.
  * New s390x implementation of AES, GCM, Chacha, memxor, SHA1,

OBS-URL: https://build.opensuse.org/request/show/988627
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libnettle?expand=0&rev=42
2022-07-13 12:31:51 +00:00
31756d7efa Accepting request 988487 from home:dirkmueller:Factory
- update to 3.8:
  This release includes a couple of new features, and many
  performance improvements. It adds assembly code for two more
  architectures: ARM64 and S390x.
  The new version is intended to be fully source and binary
  compatible with Nettle-3.6. The shared library names are
  libnettle.so.8.5 and libhogweed.so.6.5, with sonames
  libnettle.so.8 and libhogweed.so.6.
  New features:
  * AES keywrap (RFC 3394), contributed by Nicolas Mora.
  * SM3 hash function, contributed by Tianjia Zhang.
  * New functions cbc_aes128_encrypt, cbc_aes192_encrypt,
    cbc_aes256_encrypt.
    On processors where AES is fast enough, e.g., x86_64 with
    aesni instructions, the overhead of using Nettle's general
    cbc_encrypt can be significant. The new functions can be
    implemented in assembly, to do multiple blocks with reduced
    per-block overhead.
    Note that there's no corresponding new decrypt functions,
    since the general cbc_decrypt doesn't suffer from the same
    performance problem.
  Bug fixes:
  * Fix fat builds for x86_64 windows, these appear to never
    have worked.
  Optimizations:
  * New ARM64 implementation of AES, GCM, Chacha, SHA1 and
    SHA256, for processors supporting crypto extensions. Great
    speedups, and fat builds are supported. Contributed by
    Mamone Tarsha.
  * New s390x implementation of AES, GCM, Chacha, memxor, SHA1,

OBS-URL: https://build.opensuse.org/request/show/988487
OBS-URL: https://build.opensuse.org/package/show/security:tls/libnettle?expand=0&rev=27
2022-07-12 12:33:39 +00:00
Dominique Leuenberger
da52c548cd Accepting request 982832 from security:tls
- Make shared libraries executable (forwarded request 982825 from gmbr3)

OBS-URL: https://build.opensuse.org/request/show/982832
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libnettle?expand=0&rev=41
2022-06-17 19:18:31 +00:00
c1d49fe382 Accepting request 982825 from home:gmbr3:Active
- Make shared libraries executable

OBS-URL: https://build.opensuse.org/request/show/982825
OBS-URL: https://build.opensuse.org/package/show/security:tls/libnettle?expand=0&rev=25
2022-06-15 14:13:11 +00:00
Dominique Leuenberger
0078572873 Accepting request 947074 from security:tls
OBS-URL: https://build.opensuse.org/request/show/947074
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libnettle?expand=0&rev=40
2022-01-21 00:24:52 +00:00
283ba04e0d Accepting request 946959 from home:pmonrealgonzalez:branches:security:tls
- Provide s390x CPACF/SHA/AES Support for Crypto Libraries
  * Add libnettle-s390x-CPACF-SHA-AES-support.patch [jsc#SLE-20733]

OBS-URL: https://build.opensuse.org/request/show/946959
OBS-URL: https://build.opensuse.org/package/show/security:tls/libnettle?expand=0&rev=24
2022-01-17 21:55:56 +00:00
Dominique Leuenberger
373d0ffc48 Accepting request 899065 from security:tls
OBS-URL: https://build.opensuse.org/request/show/899065
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libnettle?expand=0&rev=39
2021-06-12 18:05:38 +00:00
508ca9e819 Accepting request 899064 from home:pmonrealgonzalez:branches:security:tls
- GNU Nettle 3.7.3: [CVE-2021-3580, bsc#1187060]

OBS-URL: https://build.opensuse.org/request/show/899064
OBS-URL: https://build.opensuse.org/package/show/security:tls/libnettle?expand=0&rev=22
2021-06-10 15:12:23 +00:00
451ab01db0 Accepting request 898784 from home:polslinux:branches:security:tls
- GNU Nettle 3.7.3:
  * Fix crash for zero input to rsa_sec_decrypt and
    rsa_decrypt_tr. Potential denial of service vector.
  * Ensure that all of rsa_decrypt_tr and rsa_sec_decrypt return
    failure for out of range inputs, instead of either crashing,
    or silently reducing input modulo n. Potential denial of
    service vector.
  * Ensure that rsa_decrypt returns failure for out of range
    inputs, instead of silently reducing input modulo n.
  * Ensure that rsa_sec_decrypt returns failure if the message
    size is too large for the given key. Unlike the other bugs,
    this would typically be triggered by invalid local
    configuration, rather than by processing untrusted remote
    data.

OBS-URL: https://build.opensuse.org/request/show/898784
OBS-URL: https://build.opensuse.org/package/show/security:tls/libnettle?expand=0&rev=21
2021-06-09 15:24:44 +00:00
Dominique Leuenberger
be07603a7c Accepting request 887818 from security:tls
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/887818
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libnettle?expand=0&rev=38
2021-04-22 16:03:36 +00:00
fc8e2b4e43 Accepting request 885693 from home:AndreasStieger:branches:security:tls
change reference to boo#1184401 and add CVE-2021-20305

OBS-URL: https://build.opensuse.org/request/show/885693
OBS-URL: https://build.opensuse.org/package/show/security:tls/libnettle?expand=0&rev=19
2021-04-15 14:35:59 +00:00
Dominique Leuenberger
65a4156e03 Accepting request 880401 from security:tls
OBS-URL: https://build.opensuse.org/request/show/880401
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libnettle?expand=0&rev=37
2021-03-24 15:10:18 +00:00
Jason Sikes
95a30c6c44 Accepting request 880369 from home:AndreasStieger:branches:security:tls
GNU Nettle 3.7.2 boo#1183835

OBS-URL: https://build.opensuse.org/request/show/880369
OBS-URL: https://build.opensuse.org/package/show/security:tls/libnettle?expand=0&rev=17
2021-03-21 16:24:18 +00:00
Richard Brown
23d434f6c6 Accepting request 873333 from security:tls
OBS-URL: https://build.opensuse.org/request/show/873333
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libnettle?expand=0&rev=36
2021-02-22 13:22:56 +00:00
c4fc15a874 Accepting request 873332 from home:AndreasStieger:branches:security:tls
GNU Nettle 3.7.1

OBS-URL: https://build.opensuse.org/request/show/873332
OBS-URL: https://build.opensuse.org/package/show/security:tls/libnettle?expand=0&rev=15
2021-02-18 09:39:38 +00:00
Dominique Leuenberger
f030db887d Accepting request 860568 from security:tls
OBS-URL: https://build.opensuse.org/request/show/860568
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libnettle?expand=0&rev=35
2021-01-10 18:38:41 +00:00
Jason Sikes
6827904443 Accepting request 860334 from home:AndreasStieger:branches:security:tls
GNU Nettle 3.7

OBS-URL: https://build.opensuse.org/request/show/860334
OBS-URL: https://build.opensuse.org/package/show/security:tls/libnettle?expand=0&rev=13
2021-01-06 04:53:39 +00:00
Dominique Leuenberger
cab7f78d00 Accepting request 802550 from security:tls
OBS-URL: https://build.opensuse.org/request/show/802550
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libnettle?expand=0&rev=34
2020-05-12 20:26:36 +00:00
Tomáš Chvátal
8489ad1fbd Accepting request 802533 from home:AndreasStieger:branches:security:tls
GNU Nettle 3.6

OBS-URL: https://build.opensuse.org/request/show/802533
OBS-URL: https://build.opensuse.org/package/show/security:tls/libnettle?expand=0&rev=11
2020-05-11 05:52:49 +00:00
Dominique Leuenberger
e8a9d55aa3 Accepting request 734381 from security:tls
OBS-URL: https://build.opensuse.org/request/show/734381
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libnettle?expand=0&rev=33
2019-10-05 14:18:33 +00:00
Tomáš Chvátal
a362a8c859 Accepting request 734377 from home:vitezslav_cizek:branches:security:tls
- Install checksums for binary integrity verification which are
  required when running in FIPS mode (bsc#1152692, jsc#SLE-9518)

OBS-URL: https://build.opensuse.org/request/show/734377
OBS-URL: https://build.opensuse.org/package/show/security:tls/libnettle?expand=0&rev=9
2019-10-01 15:19:02 +00:00
Dominique Leuenberger
844aade98c Accepting request 720187 from security:tls
OBS-URL: https://build.opensuse.org/request/show/720187
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libnettle?expand=0&rev=32
2019-09-11 08:19:38 +00:00
fd40c56ebf Accepting request 720177 from home:AndreasStieger:branches:security:tls
libbettle 3.5.1

OBS-URL: https://build.opensuse.org/request/show/720177
OBS-URL: https://build.opensuse.org/package/show/security:tls/libnettle?expand=0&rev=7
2019-08-01 11:34:20 +00:00
Dominique Leuenberger
f9bbacc516 Accepting request 662470 from security:tls
OBS-URL: https://build.opensuse.org/request/show/662470
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libnettle?expand=0&rev=31
2019-01-08 11:18:19 +00:00
Tomáš Chvátal
144343043b Accepting request 662469 from home:vitezslav_cizek:branches:security:tls
- Update to 3.4.1 release
  * Fix CVE-2018-16869 (bsc#1118086)
    All functions using RSA private keys are now side-channel
    silent, meaning that they try hard to avoid any branches or
    memory accesses depending on secret data. This applies both to
    the bignum calculations, which now use GMP's mpn_sec_* family
    of functions, and the processing of PKCS#1 padding needed for
    RSA decryption.
  * Changes in behavior:
    The functions rsa_decrypt and rsa_decrypt_tr may now clobber
    all of the provided message buffer, independent of the
    actual message length. They are side-channel silent, in that
    branches and memory accesses don't depend on the validity or
    length of the message. Side-channel leakage from the
    caller's use of length and return value may still provide an
    oracle useable for a Bleichenbacher-style chosen ciphertext
    attack. Which is why the new function rsa_sec_decrypt is
    recommended.
  * New features:
    A new function rsa_sec_decrypt.
  * Bug fixes:
    - Fix bug in pkcs1-conv, missing break statements in the
      parsing of PEM input files.
    - Fix link error on the pss-mgf1-test test, affecting builds
      without public key support.

OBS-URL: https://build.opensuse.org/request/show/662469
OBS-URL: https://build.opensuse.org/package/show/security:tls/libnettle?expand=0&rev=5
2019-01-02 14:12:03 +00:00
Dominique Leuenberger
65734d50fd Accepting request 655651 from security:tls
OBS-URL: https://build.opensuse.org/request/show/655651
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libnettle?expand=0&rev=30
2018-12-11 14:44:35 +00:00
Dominique Leuenberger
2535cdc7af Accepting request 580136 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/580136
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libnettle?expand=0&rev=29
2018-03-01 11:05:57 +00:00
Dominique Leuenberger
15022ebe1e Accepting request 542964 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/542964
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libnettle?expand=0&rev=28
2017-11-23 08:36:48 +00:00
Dominique Leuenberger
9b876a523a Accepting request 520649 from devel:libraries:c_c++
- Add patch to fix build of fat-arm:
  * nettle-3.3-fix-fat-arm.patch

- Build nettle with AES-NI support (bsc#1056980)

OBS-URL: https://build.opensuse.org/request/show/520649
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libnettle?expand=0&rev=27
2017-09-07 20:10:51 +00:00
Dominique Leuenberger
7a921ac0f2 Accepting request 455836 from devel:libraries:c_c++
1

OBS-URL: https://build.opensuse.org/request/show/455836
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libnettle?expand=0&rev=26
2017-02-20 12:12:45 +00:00
Dominique Leuenberger
efd0e89dd8 Accepting request 437662 from devel:libraries:c_c++
1

OBS-URL: https://build.opensuse.org/request/show/437662
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libnettle?expand=0&rev=25
2016-11-03 11:57:44 +00:00
Dominique Leuenberger
dfc593249f Accepting request 361107 from devel:libraries:c_c++
- Fix postun->preun on info packages regenerating

OBS-URL: https://build.opensuse.org/request/show/361107
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libnettle?expand=0&rev=24
2016-02-25 20:44:41 +00:00
Dominique Leuenberger
4d92d29d53 Accepting request 357899 from devel:libraries:c_c++
- Version update to 3.2 release bnc#964849 CVE-2015-8805 bnc#964847
  CVE-2015-8804 bnc#964845 CVE-2015-8803:
  * New functions for RSA private key operations, identified by
    the "_tr" suffix, with better resistance to side channel
    attacks and to hardware or software failures which could
    break the CRT optimization
  * SHA3 implementation is updated according to the FIPS 202 standard
  * New ARM Neon implementation of the chacha stream cipher
  * Should be compatible binary with 3.1 series
- Add patch to fix build with cflags:
  * nettle-respect-cflags.patch

OBS-URL: https://build.opensuse.org/request/show/357899
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libnettle?expand=0&rev=23
2016-02-07 08:22:44 +00:00
Stephan Kulow
fa8e21bc4d Accepting request 314335 from devel:libraries:c_c++
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/314335
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libnettle?expand=0&rev=22
2015-07-05 15:53:34 +00:00
Stephan Kulow
e53d15a4a4 Accepting request 304121 from devel:libraries:c_c++
1

OBS-URL: https://build.opensuse.org/request/show/304121
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libnettle?expand=0&rev=21
2015-04-28 18:43:11 +00:00
Stephan Kulow
3753db93f3 Accepting request 298783 from devel:libraries:c_c++
added patch: off-by-one-test-suite.patch
- Address Sanitizer, found a off-by-one error in the test suite (bnc#928328)

OBS-URL: https://build.opensuse.org/request/show/298783
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libnettle?expand=0&rev=20
2015-04-25 14:47:09 +00:00
Dominique Leuenberger
a465d7022c Accepting request 295660 from devel:libraries:c_c++
1

OBS-URL: https://build.opensuse.org/request/show/295660
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libnettle?expand=0&rev=19
2015-04-18 08:38:24 +00:00