On Mon, Mar 07, 2016 at 01:00:05PM +0100, Steffen Trumtrar wrote: > > + if (ctx->ctrl & SCC_SCM_CTRL_CBC_MODE && req->info) > + memcpy(scc->base + SCC_SCM_INIT_VECTOR_0, req->info, > + scc->block_size_bytes); Please ensure that the IV is copied back on exit. I know many other drivers currently also don't do this but I'm trying to fix this so I'd rather not add more work for myself down the track :) Thanks, -- Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html