Re: [vpp-dev] unused function 'openssl_ops_dec_chacha20_poly1305'

2020-09-21 Thread Ray Kinsella
Using 1:1.1.1d-2.fc31
Upgrade to 1:1.1.1g-1.fc31 is available.

Ray K

On 21/09/2020 14:37, Damjan Marion via lists.fd.io wrote:
> 
> What is the OpenSSL version you use?
> 
>> On 21 Sep 2020, at 14:55, Ray Kinsella  wrote:
>>
>> Anybody else seeing this build failure.
>>
>> [17/496] Building C object 
>> plugins/crypto_openssl/CMakeFiles/crypto_openssl_plugin.dir/main.c.o
>> FAILED: plugins/crypto_openssl/CMakeFiles/crypto_openssl_plugin.dir/main.c.o
>> ccache /usr/bin/clang-9 --target=x86_64-linux-gnu -DHAVE_FCNTL64 
>> -DHAVE_GETCPU -DHAVE_MEMFD_CREATE -Dcrypto_openssl_plugin_EXPORTS 
>> -I/root/src/vpp/src -I. -Iinclude -I/root/src/vpp/src/plugins -Iplugins 
>> -Wno-address-of-packed-member -g -fPIC -Werror -Wall -march=corei7 
>> -mtune=corei7-avx  -O2 -fstack-protector -DFORTIFY_SOURCE=2 -fno-common  
>> -fPIC -MD -MT 
>> plugins/crypto_openssl/CMakeFiles/crypto_openssl_plugin.dir/main.c.o -MF 
>> plugins/crypto_openssl/CMakeFiles/crypto_openssl_plugin.dir/main.c.o.d -o 
>> plugins/crypto_openssl/CMakeFiles/crypto_openssl_plugin.dir/main.c.o   -c 
>> /root/src/vpp/src/plugins/crypto_openssl/main.c
>> /root/src/vpp/src/plugins/crypto_openssl/main.c:257:1: error: unused 
>> function 'openssl_ops_enc_chacha20_poly1305' [-Werror,-Wunused-function]
>> openssl_ops_enc_chacha20_poly1305 (vlib_main_t * vm, vnet_crypto_op_t * 
>> ops[],
>> ^
>> /root/src/vpp/src/plugins/crypto_openssl/main.c:321:1: error: unused 
>> function 'openssl_ops_dec_chacha20_poly1305' [-Werror,-Wunused-function]
>> openssl_ops_dec_chacha20_poly1305 (vlib_main_t * vm, vnet_crypto_op_t * 
>> ops[],
>> ^
>> 2 errors generated.
>>
>> I checked openssl_ops_enc_chacha20_poly1305 and 
>> openssl_ops_dec_chacha20_poly1305, and they are indeed unused-function.
>> My assumption is that these functions where added for the benefit of the 
>> wireguard plugin?
>>
>> Ray K
>>
>>
>>
> 
> 
> 
> 
> 

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#17474): https://lists.fd.io/g/vpp-dev/message/17474
Mute This Topic: https://lists.fd.io/mt/76989378/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [vpp-dev] unused function 'openssl_ops_dec_chacha20_poly1305'

2020-09-21 Thread Damjan Marion via lists.fd.io

What is the OpenSSL version you use?

> On 21 Sep 2020, at 14:55, Ray Kinsella  wrote:
> 
> Anybody else seeing this build failure.
> 
> [17/496] Building C object 
> plugins/crypto_openssl/CMakeFiles/crypto_openssl_plugin.dir/main.c.o
> FAILED: plugins/crypto_openssl/CMakeFiles/crypto_openssl_plugin.dir/main.c.o
> ccache /usr/bin/clang-9 --target=x86_64-linux-gnu -DHAVE_FCNTL64 
> -DHAVE_GETCPU -DHAVE_MEMFD_CREATE -Dcrypto_openssl_plugin_EXPORTS 
> -I/root/src/vpp/src -I. -Iinclude -I/root/src/vpp/src/plugins -Iplugins 
> -Wno-address-of-packed-member -g -fPIC -Werror -Wall -march=corei7 
> -mtune=corei7-avx  -O2 -fstack-protector -DFORTIFY_SOURCE=2 -fno-common  
> -fPIC -MD -MT 
> plugins/crypto_openssl/CMakeFiles/crypto_openssl_plugin.dir/main.c.o -MF 
> plugins/crypto_openssl/CMakeFiles/crypto_openssl_plugin.dir/main.c.o.d -o 
> plugins/crypto_openssl/CMakeFiles/crypto_openssl_plugin.dir/main.c.o   -c 
> /root/src/vpp/src/plugins/crypto_openssl/main.c
> /root/src/vpp/src/plugins/crypto_openssl/main.c:257:1: error: unused function 
> 'openssl_ops_enc_chacha20_poly1305' [-Werror,-Wunused-function]
> openssl_ops_enc_chacha20_poly1305 (vlib_main_t * vm, vnet_crypto_op_t * ops[],
> ^
> /root/src/vpp/src/plugins/crypto_openssl/main.c:321:1: error: unused function 
> 'openssl_ops_dec_chacha20_poly1305' [-Werror,-Wunused-function]
> openssl_ops_dec_chacha20_poly1305 (vlib_main_t * vm, vnet_crypto_op_t * ops[],
> ^
> 2 errors generated.
> 
> I checked openssl_ops_enc_chacha20_poly1305 and 
> openssl_ops_dec_chacha20_poly1305, and they are indeed unused-function.
> My assumption is that these functions where added for the benefit of the 
> wireguard plugin?
> 
> Ray K
> 
> 
> 


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#17473): https://lists.fd.io/g/vpp-dev/message/17473
Mute This Topic: https://lists.fd.io/mt/76989378/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[vpp-dev] unused function 'openssl_ops_dec_chacha20_poly1305'

2020-09-21 Thread Ray Kinsella
Anybody else seeing this build failure.

[17/496] Building C object 
plugins/crypto_openssl/CMakeFiles/crypto_openssl_plugin.dir/main.c.o
FAILED: plugins/crypto_openssl/CMakeFiles/crypto_openssl_plugin.dir/main.c.o
ccache /usr/bin/clang-9 --target=x86_64-linux-gnu -DHAVE_FCNTL64 -DHAVE_GETCPU 
-DHAVE_MEMFD_CREATE -Dcrypto_openssl_plugin_EXPORTS -I/root/src/vpp/src -I. 
-Iinclude -I/root/src/vpp/src/plugins -Iplugins -Wno-address-of-packed-member 
-g -fPIC -Werror -Wall -march=corei7 -mtune=corei7-avx  -O2 -fstack-protector 
-DFORTIFY_SOURCE=2 -fno-common  -fPIC -MD -MT 
plugins/crypto_openssl/CMakeFiles/crypto_openssl_plugin.dir/main.c.o -MF 
plugins/crypto_openssl/CMakeFiles/crypto_openssl_plugin.dir/main.c.o.d -o 
plugins/crypto_openssl/CMakeFiles/crypto_openssl_plugin.dir/main.c.o   -c 
/root/src/vpp/src/plugins/crypto_openssl/main.c
/root/src/vpp/src/plugins/crypto_openssl/main.c:257:1: error: unused function 
'openssl_ops_enc_chacha20_poly1305' [-Werror,-Wunused-function]
openssl_ops_enc_chacha20_poly1305 (vlib_main_t * vm, vnet_crypto_op_t * ops[],
^
/root/src/vpp/src/plugins/crypto_openssl/main.c:321:1: error: unused function 
'openssl_ops_dec_chacha20_poly1305' [-Werror,-Wunused-function]
openssl_ops_dec_chacha20_poly1305 (vlib_main_t * vm, vnet_crypto_op_t * ops[],
^
2 errors generated.

I checked openssl_ops_enc_chacha20_poly1305 and 
openssl_ops_dec_chacha20_poly1305, and they are indeed unused-function.
My assumption is that these functions where added for the benefit of the 
wireguard plugin?

Ray K

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#17472): https://lists.fd.io/g/vpp-dev/message/17472
Mute This Topic: https://lists.fd.io/mt/76989378/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-