Hi All, I am using freebsd 6.3 with openSSL version 0.9.7e. I need to add support for new security accelerator. To add new engine, I have to provide new engine file, which provides P1, P2.....etc function pointers and those functions have to be implemented in dll library. Is there any reason it should be a dll? Can I just build as part of the engine itself or just statically linked?
My another doubt is, once I provide engine, how I should interact with the kernel to reach the crypto driver? Crypto driver have to registered with set of functions with the kernel. But kernel provides /dev/crypto device, which will communicate to any crypto driver registered. In the dll/static library which I implement, do I directly make us of the IOCTLs provided in /dev/crypto device to send any requests from my engine to kernel? Can any one of you share your knowledge to add new security engine with me? thanks and I appreciate your time. -MB.