linux-generic: crypto: fix crypto operation return code for invalid IV
linux-generic: crypto: fix crypto operation return code for invalid IV

Current code returns an incompatible enum value as an error code in
case of not specified IV. Use a proper return code instead.

Signed-off-by: Taras Kondratiuk <5ee69fef6c6e17fac3006c01919d9c9be0ce7197@linaro.org>
Reviewed-by: Robbie King <5c6140a2ad4ad3cd71e27d474fcf55e83dbe567b@cisco.com>
Signed-off-by: Maxim Uvarov <db4d16e02ae2d7493db430203537da8b2e34f290@linaro.org>

kalray/odp-mppa,erachmi/odp,nmorey/odp,kalray/odp-mppa,mike-holmes-linaro/odp,kalray/odp-mppa,kalray/odp-mppa,dkrot/odp,erachmi/odp,kalray/odp-mppa,dkrot/odp,mike-holmes-linaro/odp,erachmi/odp,rsalveti/odp,dkrot/odp,ravineet-singh/odp,nmorey/odp,dkrot/odp,rsalveti/odp,mike-holmes-linaro/odp,kalray/odp-mppa,mike-holmes-linaro/odp,kalray/odp-mppa,rsalveti/odp,nmorey/odp,ravineet-singh/odp,rsalveti/odp,erachmi/odp,ravineet-singh/odp,rsalveti/odp,nmorey/odp,ravineet-singh/odp