- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi. I am considering using the IPPCrypto part in a kernel driver. Is this a supported use?
Obviously in kernel mode we could only link to a static library, a user mode DLL would not be loadable in kernel mode :)
Multi-threading is NOT required, and would frankly be unwanted in a single call. I am only interested in whether it is completely safe to use the ippcp primitives in kernel mode.
Another question is related to CTR mode usage. I have previously used CryptoPP public library for CTR mode, which provided a Position parameter for CTR mode (since it essentially turns a block cipher into a stream cipher). Presuming it is not another naming ambiguity (I have seen CTR refer to different modes in different libraries strangely), how would I specify a position within the stream with IPPCP in bytes?
TIA for any input.
Obviously in kernel mode we could only link to a static library, a user mode DLL would not be loadable in kernel mode :)
Multi-threading is NOT required, and would frankly be unwanted in a single call. I am only interested in whether it is completely safe to use the ippcp primitives in kernel mode.
Another question is related to CTR mode usage. I have previously used CryptoPP public library for CTR mode, which provided a Position parameter for CTR mode (since it essentially turns a block cipher into a stream cipher). Presuming it is not another naming ambiguity (I have seen CTR refer to different modes in different libraries strangely), how would I specify a position within the stream with IPPCP in bytes?
TIA for any input.
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
IPP not threaded static libraries were designed to be usable in kernel mode and we do provide a sample of IPP kernel mode driver (you can find this sample in IPP sample package which is available as a separate download on IPP product page)
Regards,
Vladimir
IPP not threaded static libraries were designed to be usable in kernel mode and we do provide a sample of IPP kernel mode driver (you can find this sample in IPP sample package which is available as a separate download on IPP product page)
Regards,
Vladimir
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks. Which library should I link to specifically? ippcp_l or ippcp_t? I should call ippStaticInit for CPU dispatcher in kernel mode also, right?
Any ideas on the CTR mode question?
Any ideas on the CTR mode question?

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page