ZUC PMD as shared library
Hi Pablo,
You are probably aware of the issue, but I would like to make it clear in case someone else run into the same trouble:
It is impossible to build the ZUC crypto PMD as a shared library:
libsso-zuc-0.1.1/build/libsso_zuc.a(sso_zuc_yasm.o):
relocation R_X86_64_32 against `EK_d' can not be used when making a shared object; recompile with -fPIC
The library libsso-zuc-0.1.1 needs an update to make the asm code relocatable.
Should we explicit this limitation in the PMD doc?
Hi Thomas,
Quoted 14 lines
-----Original Message-----
From: Thomas Monjalon [mailto:[email protected]]
Sent: Saturday, October 08, 2016 10:19 AM
To: De Lara Guarch, Pablo
Cc: [email protected]
Subject: ZUC PMD as shared libraryHi Pablo,
You are probably aware of the issue, but I would like to make it clear in case someone else run into the same trouble:
It is impossible to build the ZUC crypto PMD as a shared library:
Quoted 7 lines
libsso-zuc-0.1.1/build/libsso_zuc.a(sso_zuc_yasm.o):
relocationR_X86_64_32against `EK_d' can not be used when making a shared object; recompile with -fPICThe library libsso-zuc-0.1.1 needs an update to make the asm code relocatable.
Should we explicit this limitation in the PMD doc?
Sorry for not replying to this earlier.
Yes, you are right, thanks for pointing it out.
I think the same problem is in KASUMI, so I will send a doc update for both PMDs.
Thanks,
Pablo
2016-10-12 02:23, De Lara Guarch, Pablo:
Quoted 15 lines
Hi Thomas,
From: Thomas Monjalon [mailto:[email protected]]
Quoted 12 lines
Hi Pablo,
You are probably aware of the issue, but I would like to make it clear in case someone else run into the same trouble:
It is impossible to build the ZUC crypto PMD as a shared library:
libsso-zuc-0.1.1/build/libsso_zuc.a(sso_zuc_yasm.o):
relocationR_X86_64_32against `EK_d' can not be used when making a shared object; recompile with -fPIC
Quoted 7 lines
Quoted 3 lines
The library libsso-zuc-0.1.1 needs an update to make the asm code relocatable.
Should we explicit this limitation in the PMD doc?Sorry for not replying to this earlier.
Yes, you are right, thanks for pointing it out.
I think the same problem is in KASUMI, so I will send a doc update for both PMDs.
No, KASUMI works as shared library, because there is no asm code.
Documenting the bug would be nice as a first step.
But it is a serious bug, so a fix in ZUC library is highly desirable.
Hi Thomas,
Quoted 30 lines
-----Original Message-----
From: Thomas Monjalon [mailto:[email protected]]
Sent: Wednesday, October 12, 2016 12:23 AM
To: De Lara Guarch, Pablo
Cc: [email protected]
Subject: Re: ZUC PMD as shared library2016-10-12 02:23, De Lara Guarch, Pablo:
Quoted 15 lines
Hi Thomas,
From: Thomas Monjalon [mailto:[email protected]]
Quoted 12 lines
Hi Pablo,
You are probably aware of the issue, but I would like to make it clear in case someone else run into the same trouble:
It is impossible to build the ZUC crypto PMD as a shared library:
libsso-zuc-0.1.1/build/libsso_zuc.a(sso_zuc_yasm.o):
relocationR_X86_64_32against `EK_d' can not be used when making a shared object; recompile with -fPICQuoted 7 lines
Quoted 3 lines
The library libsso-zuc-0.1.1 needs an update to make the asm code relocatable.
Should we explicit this limitation in the PMD doc?Sorry for not replying to this earlier.
Yes, you are right, thanks for pointing it out.
I think the same problem is in KASUMI, so I will send a doc update for both
Quoted 6 lines
PMDs.
No, KASUMI works as shared library, because there is no asm code.
Documenting the bug would be nice as a first step.
But it is a serious bug, so a fix in ZUC library is highly desirable.
Will document it. Once the library is fixed, it will be announce and I will remove the note.
Thanks,
Pablo