Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
4 Views

IPP (crypto part) in Windows kernel mode + CTR mode question

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.
0 Kudos
2 Replies
Highlighted
4 Views

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
0 Kudos
Highlighted
4 Views

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?
0 Kudos