Package Details: libdecaf 1.0.2-2

Git Clone URL: https://aur.archlinux.org/libdecaf.git (read-only, click to copy)
Package Base: libdecaf
Description: A 448-bit Edwards curve
Upstream URL: https://sourceforge.net/projects/ed448goldilocks/
Licenses: MIT
Submitter: thrasibule
Maintainer: thrasibule
Last Packager: thrasibule
Votes: 5
Popularity: 0.000000
First Submitted: 2018-02-23 03:39 (UTC)
Last Updated: 2023-11-06 15:06 (UTC)

Dependencies (4)

Sources (1)

Latest Comments

« First ‹ Previous 1 2

inslee commented on 2021-05-20 05:24 (UTC)

The upgrade worked after a larger series of updates came down through Manjaro Stable (there were a lot of updated packages but the list is here: https://forum.manjaro.org/t/stable-update-2021-05-19-kernels-nvidia-kde-frameworks-plasma-systemd-libreoffice-kde-gear-mobile-ff-tb/67002)

For those that were having issues on Manjaro before, try updating libdecaf after downloading those updates.

thrasibule commented on 2021-05-14 01:12 (UTC)

I don't get this error, so hard for me to say anything. The assertion is not very helpful unless you can point the line in the code that triggers it. This seems like something you should report upstream.

loglog commented on 2021-05-13 20:28 (UTC) (edited on 2021-05-13 20:45 (UTC) by loglog)

Same error here, caused by a failed assertion:

[...]
[ 96%] Built target ristretto_tester
[ 98%] Linking CXX executable bench
make[2]: Leaving directory '/var/tmp/pamac-build-user/libdecaf/src/build'
[ 98%] Built target bench
[100%] Linking CXX executable decaf_tester
make[2]: Leaving directory '/var/tmp/pamac-build-user/libdecaf/src/build'
[100%] Built target decaf_tester
make[1]: Leaving directory '/var/tmp/pamac-build-user/libdecaf/src/build'
make: Leaving directory '/var/tmp/pamac-build-user/libdecaf/src/build'
==> Starting check()...
make: Entering directory '/var/tmp/pamac-build-user/libdecaf/src/build'
Running tests...
Test project /var/tmp/pamac-build-user/libdecaf/src/build
    Start 1: decaf
1/2 Test #1: decaf ............................Subprocess aborted***Exception:   0.72 sec
    Start 2: bench
2/2 Test #2: bench ............................   Passed   13.85 sec

50% tests passed, 1 tests failed out of 2

Total Test time (real) =  14.58 sec

The following tests FAILED:
      1 - decaf (Subprocess aborted)
Errors while running CTest
Output from these tests are in: /var/tmp/pamac-build-user/libdecaf/src/build/Testing/Temporary/LastTest.log
Use "--rerun-failed --output-on-failure" to re-run the failed cases verbosely.
make: *** [Makefile:105: test] Error 8
make: Leaving directory '/var/tmp/pamac-build-user/libdecaf/src/build'
==> ERROR: A failure occurred in check().
    Aborting...

A manual re-run showed that an assertion fails:

    $ /var/tmp/pamac-build-user/libdecaf/src/build/test/decaf_tester --rerun-failed --output-on-failure
    RNG...                        [PASS]
    XOF...                        [PASS]
    XOF...                        [PASS]

    Testing Ristretto:
    Arithmetic...                 /usr/include/c++/10.2.0/bits/stl_vector.h:
    1063: std::vector<_Tp, _Alloc>::const_reference std::vector<_Tp, _Alloc>::op
    erator[](std::vector<_Tp, _Alloc>::size_type) const [with _Tp = unsigned char; _Allo
    c = decaf::SanitizingAllocator<unsigned char, 0>; std::vector<_Tp, _Alloc>::cons
    t_reference = const unsigned char&; std::vector<_Tp, _Alloc>::size_type = long u
    nsigned int]: Assertion '__builtin_expect(__n <this->size(), true)' failed.
    Abgebrochen (Speicherabzug geschrieben)

inslee commented on 2021-05-12 04:57 (UTC) (edited on 2021-05-12 04:57 (UTC) by inslee)

When attempting to build, one of the tests fails:

Start testing: May 12 08:54
----------------------------------------------------------
1/2 Testing: decaf
1/2 Test: decaf
Command: "/var/tmp/pamac-build-.../libdecaf/src/build/test/decaf_tester"
Directory: /var/tmp/pamac-build-.../libdecaf/src/build/test
"decaf" start time: May 12 08:54
Output:
----------------------------------------------------------
RNG...                        [PASS]
XOF...                        [PASS]
XOF...                        [PASS]

Testing Ristretto:
Arithmetic...                 
<end of output>
Test time =   0.14 sec
----------------------------------------------------------
Test Failed.
"decaf" end time: May 12 08:54
"decaf" time elapsed: 00:00:00
----------------------------------------------------------

2/2 Testing: bench
2/2 Test: bench
Command: "/var/tmp/pamac-build-.../libdecaf/src/build/test/bench"
Directory: /var/tmp/pamac-build-.../libdecaf/src/build/test
"bench" start time: May 12 08:54
Output:
----------------------------------------------------------

Macro-benchmarks for Ristretto:
CFRG crypto benchmarks:
RFC 7748 keygen:          102.01 µs      9.80 k/s    276.63 kcy
RFC 7748 shared secret:    97.99 µs     10.20 k/s    265.74 kcy
EdDSA keygen:              32.69 µs     30.59 k/s     88.66 kcy
EdDSA sign:                36.41 µs     27.47 k/s     98.73 kcy
EdDSA verify:              84.25 µs     11.87 k/s    228.47 kcy

Macro-benchmarks for Ed448-Goldilocks:
CFRG crypto benchmarks:
RFC 7748 keygen:           73.78 µs     13.55 k/s    200.08 kcy
RFC 7748 shared secret:   207.60 µs      4.82 k/s    562.98 kcy
EdDSA keygen:              73.44 µs     13.62 k/s    199.15 kcy
EdDSA sign:                76.67 µs     13.04 k/s    207.90 kcy
EdDSA verify:             225.97 µs      4.43 k/s    612.78 kcy

Cycle calibration:          2.71 GHz

<end of output>
Test time =   1.04 sec
----------------------------------------------------------
Test Passed.
"bench" end time: May 12 08:54
"bench" time elapsed: 00:00:01
----------------------------------------------------------

End testing: May 12 08:54

Pinky commented on 2020-12-18 19:15 (UTC)

It looks like the cmake.patch is no longer needed and actually break thinks, cau you please update the build?

deraffe commented on 2019-11-09 00:50 (UTC)

This PKGBUILD is missing git in its makedepends. See also https://wiki.archlinux.org/index.php/VCS_package_guidelines#Guidelines

malus commented on 2019-06-27 20:37 (UTC)

Hey thrasibule, could you please add python to depends/makedepends? Thanks!