[Bug 207664] security/wolfssl: enable ARC4 support

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Mar 3 00:21:33 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=207664

            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 at FreeBSD.org
          Reporter: jbeich at FreeBSD.org
                CC: johans at FreeBSD.org
 Attachment #167660 maintainer-approval?(johans at FreeBSD.org)
             Flags:
          Assignee: johans at FreeBSD.org
                CC: johans at FreeBSD.org
             Flags: maintainer-feedback?(johans at FreeBSD.org)

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

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

  $ make WITH=WOLFSSL WITHOUT=OPENSSL TRYBROKEN= 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 invocation)

  $ 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);

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


More information about the freebsd-ports-bugs mailing list