Hi All,

I am having a issue when using digest command from openssl. When I issue
digest command md5 from openssl, kernel side it will never receive IOCTL -
CIOCGSESSION with sop->mac getting set, also it wont receive IOCTL -
CIOCCRYPT with mac operation set. Tho, crypto driver which I have written
registered new session,  free session, process functions for CRYPTO_MD5,
CRYPTO_MD5_HMAC.
But when I issue des/3des/aes enc commands from openssl, open crypto device
at the kernel side receives proper IOCTL and calls my crypto driver with new
session and process functions with sop->cipher and other fields related to
cipher get set.
Is there anything I might be missing in my driver or is there anything which
I have to enable to receive any digest commands?

BTW, I dont have any engine supported, so I dont use engine params while
issueing command from openssl.

thanks,
MB.

Reply via email to