e514cc0a49
The props->ap[] array is defined like this:
struct alg_props ap[NX_MAX_FC][NX_MAX_MODE][3];
So we can see that if msc->fc and msc->mode are == to NX_MAX_FC or
NX_MAX_MODE then we're off by one.
Fixes:
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
nx_csbcpb.h | ||
nx_debugfs.c | ||
nx-842-powernv.c | ||
nx-842-pseries.c | ||
nx-842.c | ||
nx-842.h | ||
nx-aes-cbc.c | ||
nx-aes-ccm.c | ||
nx-aes-ctr.c | ||
nx-aes-ecb.c | ||
nx-aes-gcm.c | ||
nx-aes-xcbc.c | ||
nx-sha256.c | ||
nx-sha512.c | ||
nx.c | ||
nx.h |