- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
We have code that compiles with version 19.0.4.243 of icc but when we use version 2021.6.0 we have the following issues ...
ippsSHA256Init -- gets warning #1786, that it's obsolete
IppBitSupplier -- is undefined in ippcp.h
I've been searching for both of these issues and have yet to find the solutions. I saw a previous post about IppBitSupplier but that did not help. Is there a simple way to port the legacy code from version 19.0.4.243 to version 2021.6.0?
Thanks!!!
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
Hi,
The API ippsSHA256Init is deprecated and will be removed in one of future releases of IPPCP.
We request you to try with ippsHashInit_rmf * instead of ippsSHA256Init.
Please refer to the below link for more details.
https://github.com/intel/ipp-crypto/blob/develop/DEPRECATION_NOTES.md
https://www.intel.com/content/www/us/en/docs/ipp-crypto/developer-reference/2022-2/hashinit.html
Thanks & Regards,
Noorjahan.
Enlace copiado
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
Hi,
Thanks for posting in Intel Communities.
Could you please provide us with a sample reproducer code (steps if any)so that we can try it from our end?
Also please provide us with below details:
IPPCP version
OS details
Thanks & Regards,
Noorjahan.
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
OS - Centos 7.9
IPPCP - 2021.6.0, as stated above
It's difficult for me to get a code snippet but here's one of the lines that produces the obsolete code warning ...
ippsSHA256Init(hndl->sha256Ctx);
And these are two of the lines that refer to the IppBitSupplier problem ...
The compile errors flag the lines in our source code that have the includes for ippcpdefs.h and ippcp.h
oneapi/ippcp/2021.6.0/include/ippcpdefs.h(588): error: expecting ")" typdef IppStatus(IPP_CALL *IppBitSupplier) (Ipp32u* prand, int bits, void* params);
oneapi/ippcp/2021.6.0/include/ippcp.h(776): error: identifier "IppBitSupplier" is undefined IPPAPI(IppStatus, IppsPrimeGen, (..., IppBitSupplier rndFunc, ...))
Let me know if you need any more info, thanks!!!
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
Hi,
The API ippsSHA256Init is deprecated and will be removed in one of future releases of IPPCP.
We request you to try with ippsHashInit_rmf * instead of ippsSHA256Init.
Please refer to the below link for more details.
https://github.com/intel/ipp-crypto/blob/develop/DEPRECATION_NOTES.md
https://www.intel.com/content/www/us/en/docs/ipp-crypto/developer-reference/2022-2/hashinit.html
Thanks & Regards,
Noorjahan.
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
Thanks for that, I'll try it and let you know how it works!!!
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
OK, so this fixed all of my ippsSHA256 calls, thanks for that!!!!
I still have the IppBitSupplier issue. Any idea where/how this is supposed to be defined? I search all of the oneapi directory but don't find a definition for this. Is there some kind of add-on library or include files? What am I missing?
Thanks,
-Stephen
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
So I was able to take care of the IppBitSupplier issue by just commenting out the lines where they were being used in the header files included with this version of the oneapi, and that seemed to fix that issue. We don't use those functions anyway.
Thanks,
-Stephen
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
Hi,
Thanks for accepting our solution and Glad to know that your issue is resolved.
As this issue has been resolved, we will no longer respond to this thread, if you need any additional information, please post a new question.
Thanks & Regards,
Noorjahan.
- Suscribirse a un feed RSS
- Marcar tema como nuevo
- Marcar tema como leído
- Flotar este Tema para el usuario actual
- Favorito
- Suscribir
- Página de impresión sencilla