+16
−54
Loading
It's more straight forward to call opal_start_generic_session() directly in different scenarios. It will help us to use stack variable "prev_data" to store temporary key during the session, which is more safe. Change-Id: I70b9190ed3606cd5e26c23319aca82d4a38596cc Signed-off-by:Changpeng Liu <changpeng.liu@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/1191 Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Jim Harris <james.r.harris@intel.com> Reviewed-by:
Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>