Hi,
I have hard time getting the following fine ODP application linked
against the shared ODP library when ODP has been configured with
--disable-abi-compat. It seems to me that the problem is in the
'local' binding of the _odp_packet_inline symbol in the .so, caused
by the -fvisibility=hidden arg
On 08.03.2017 17:13, Peltonen, Janne (Nokia - FI/Espoo) wrote:
> Are you saying that in your shell this works (echoes foobar):
> if false ; then : else echo foobar ; fi
Does not work here (bash 4.4.11(1)-release).
--
With best wishes
Dmitry
> > install-data-hook:
> > if [ -h $(prefix)/include/odp/api/abi ]; then \
> > - : \
> > + : ; \
> > else \
> > $(LN_S) -rf $(prefix)/include/odp/arch/@ARCH_ABI@/odp/api/abi \
> > $(prefix)/include/odp/api/abi; \
>
> Which bash are you
On 08.03.2017 16:57, Maxim Uvarov wrote:
> On 03/08/2017 04:47 PM, Dmitry Eremin-Solenikov wrote:
>> On 08.03.2017 16:44, Maxim Uvarov wrote:
>>> On 03/07/2017 12:16 PM, Janne Peltonen wrote:
Fix the ABI symlink creation that went broken in 3d6cbd2.
Signed-off-by: Janne Peltonen
>>>
On 03/08/2017 04:47 PM, Dmitry Eremin-Solenikov wrote:
On 08.03.2017 16:44, Maxim Uvarov wrote:
On 03/07/2017 12:16 PM, Janne Peltonen wrote:
Fix the ABI symlink creation that went broken in 3d6cbd2.
Signed-off-by: Janne Peltonen
---
platform/linux-generic/Makefile.am | 2 +-
1 file chan
On 08.03.2017 16:44, Maxim Uvarov wrote:
> On 03/07/2017 12:16 PM, Janne Peltonen wrote:
>> Fix the ABI symlink creation that went broken in 3d6cbd2.
>>
>> Signed-off-by: Janne Peltonen
>> ---
>> platform/linux-generic/Makefile.am | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> d
On 03/07/2017 12:16 PM, Janne Peltonen wrote:
Fix the ABI symlink creation that went broken in 3d6cbd2.
Signed-off-by: Janne Peltonen
---
platform/linux-generic/Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/platform/linux-generic/Makefile.am
b/platform/linu
Let's get some final changes, so that we can hopefully merge this patch
On 22.02.2017 15:27, Nikhil Agarwal wrote:
> Signed-off-by: Nikhil Agarwal
> ---
[skipped]
> + /* Read the source MAC address for this interface */
> + ret = odp_pktio_mac_addr(pktio, src_mac, sizeof(src_mac));
> +
Authentication code contains similar functions. Instead of replicating
them further (e.g. for SHA-1 or SHA-3) factor out common code blocks,
moving all difference to session data.
Signed-off-by: Dmitry Eremin-Solenikov
---
.../linux-generic/include/odp_crypto_internal.h| 14 +--
platform/li
Signed-off-by: Dmitry Eremin-Solenikov
---
platform/linux-generic/odp_crypto.c | 12 +++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/platform/linux-generic/odp_crypto.c
b/platform/linux-generic/odp_crypto.c
index ef79d6f6..0f2a227f 100644
--- a/platform/linux-generic/o
Switch AES-CBC and 3DES-CBC to use generic (EVP) interface instad of low
level interface (as recommended by OpenSSL documentation). This allows
to use the same code path for all non-AEAD ciphers. The only AEAD cipher
(AES-GCM) already uses EVP interface. Generalization of that code can
happen if th
Signed-off-by: Dmitry Eremin-Solenikov
---
platform/linux-generic/odp_crypto.c | 12 +++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/platform/linux-generic/odp_crypto.c
b/platform/linux-generic/odp_crypto.c
index 5078a3b1..ef79d6f6 100644
--- a/platform/linux-generic/o
Signed-off-by: Dmitry Eremin-Solenikov
---
.../validation/api/crypto/odp_crypto_test_inp.c| 97 +-
.../validation/api/crypto/test_vectors.h | 50 +++
.../validation/api/crypto/test_vectors_len.h | 6 ++
3 files changed, 151 insertions(+), 2 deletio
Comment for HMAC-SHA-256 tests talks about HMAC-MD5 and respective
lengths. Correct it to mention SHA-256 and proper digest lengths.
Signed-off-by: Dmitry Eremin-Solenikov
---
test/common_plat/validation/api/crypto/odp_crypto_test_inp.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Currently ODP testsuite only verifies generation of digests. Let's also
verify that checking the digest actually works. Test that check function
will accept valid digest and that it will reject wrong digests.
Signed-off-by: Dmitry Eremin-Solenikov
---
test/common_plat/validation/api/crypto/crypt
This patchset concentrates on updating crypto framework in linux-generic:
- merge auth code to use common code paths for all HMAC auth algos;
- rework cipher code to use EVP API and common code for non-AEAD cipher algos;
- implement HMAC-SHA-1 and HMAC-SHA-512 auth algos.
This patchset targets
16 matches
Mail list logo