summaryrefslogtreecommitdiff
path: root/rust/kernel/interop/git@git.tavy.me:linux-stable.git
diff options
context:
space:
mode:
authorThorsten Blum <thorsten.blum@linux.dev>2026-04-04 12:10:17 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2026-04-12 16:47:10 +0800
commit809c9b60cf03e083b1ae0c6aa4a369b2eeda9900 (patch)
tree1a3e626fb1ba9d6abeb3f393815efce0223af3f3 /rust/kernel/interop/git@git.tavy.me:linux-stable.git
parenta883b38a6f616a84d75213705c64d96c37536d74 (diff)
crypto: omap - convert reqctx buffer to fixed-size array
The flexible array member 'buffer' in 'omap_sham_reqctx' is always allocated with BUFLEN bytes. Replace the flexible array with a fixed-size array and remove the now-redundant 'buflen' field. Since 'struct omap_sham_reqctx' now includes the buffer, simplify 'reqsize' and 'statesize' and use an offsetof-based memcpy() in omap_sham_export() and omap_sham_import(). Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'rust/kernel/interop/git@git.tavy.me:linux-stable.git')
0 files changed, 0 insertions, 0 deletions