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?
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)