2016-10-12 02:23, De Lara Guarch, Pablo: > Hi Thomas, > > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > > > > 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? > > 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.