| I've used OCF patch and attempting to use the cryptodev interface.  I see
crypto_newsession's session ID is passed in as a u_int32_t *, whereas, the
crypto_freesession takes the session id as u_int64_t.  It seems like the
crypto_newsession definition has an error.  It should be u_int64_t *.  I see
the sid being defined as u_int64_t in cryptodev_ioctl, where it is being
called.
Thanks,
Piras
 |