Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 03 Mar 2016 00:21:32 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 207664] security/wolfssl: enable ARC4 support
Message-ID:  <bug-207664-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D207664

            Bug ID: 207664
           Summary: security/wolfssl: enable ARC4 support
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: feature, patch
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: johans@FreeBSD.org
          Reporter: jbeich@FreeBSD.org
                CC: johans@FreeBSD.org
 Attachment #167660 maintainer-approval?(johans@FreeBSD.org)
             Flags:
          Assignee: johans@FreeBSD.org
                CC: johans@FreeBSD.org
             Flags: maintainer-feedback?(johans@FreeBSD.org)

Created attachment 167660
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D167660&action=
=3Dedit
v1

net-p2p/transmission-* ports gained WOLFSSL option but it requires
security/wolfssl built with --enable-arc4. wolfssl API seems to be inconsis=
tent
with its ABI.

  $ make WITH=3DWOLFSSL WITHOUT=3DOPENSSL TRYBROKEN=3D net-p2p/transmission=
-cli
  [...]
  libtransmission/libtransmission.a(crypto-utils-cyassl.o): In function
`tr_rc4_set_key':
  libtransmission/crypto-utils-cyassl.c:176: undefined reference to
`wc_Arc4SetKey'
  libtransmission/libtransmission.a(crypto-utils-cyassl.o): In function
`tr_rc4_process':
  libtransmission/crypto-utils-cyassl.c:193: undefined reference to
`wc_Arc4Process'
  cc: error: linker command failed with exit code 1 (use -v to see invocati=
on)

  $ nm -D /usr/local/lib/libwolfssl.so | fgrep
  000000000002a630 T wc_Chacha_Process

  $ fgrep -r Process /usr/local/include
  /usr/local/include/wolfssl/wolfcrypt/arc4.h:WOLFSSL_API void
wc_Arc4Process(Arc4*, byte*, const byte*, word32);
  /usr/local/include/wolfssl/wolfcrypt/hc128.h:WOLFSSL_API int
wc_Hc128_Process(HC128*, byte*, const byte*, word32);
  /usr/local/include/wolfssl/wolfcrypt/chacha.h:WOLFSSL_API int
wc_Chacha_Process(ChaCha* ctx, byte* cipher, const byte* plain,
  /usr/local/include/wolfssl/wolfcrypt/rabbit.h:WOLFSSL_API int
wc_RabbitProcess(Rabbit*, byte*, const byte*, word32);

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-207664-13>