- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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!!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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!!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for that, I'll try it and let you know how it works!!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
![](/skins/images/C4F7392A5C68ACA60290C9576F107044/responsive_peak/images/icon_anonymous_message.png)
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page