From owner-freebsd-ports-bugs@freebsd.org Thu Mar 3 00:21:33 2016 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 11501AC01A4 for ; Thu, 3 Mar 2016 00:21:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id DBDFF1C39 for ; Thu, 3 Mar 2016 00:21:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u230LWmk009583 for ; Thu, 3 Mar 2016 00:21:32 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 207664] security/wolfssl: enable ARC4 support Date: Thu, 03 Mar 2016 00:21:32 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: feature, patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jbeich@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: johans@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status keywords bug_severity priority component assigned_to reporter cc flagtypes.name attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Mar 2016 00:21:33 -0000 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.=