cmd: aes: use map_sysmem when accessing memory
authorPhilippe Reynes <philippe.reynes@softathome.com>
Tue, 24 Sep 2019 09:32:29 +0000 (11:32 +0200)
committerSimon Glass <sjg@chromium.org>
Tue, 15 Oct 2019 14:40:03 +0000 (08:40 -0600)
commited7ea058a904a0db5c007039adfa79d27da5bcde
treebb73fcccbc4f389b463871182f87f898b345f829
parent5fff9b3bc9da677bef8b5f7b5cb4e9e12c84a7d9
cmd: aes: use map_sysmem when accessing memory

The aes command used to segfault when accessing memory in sandbox.
The pointer accesses should be mapped.

Signed-off-by: Philippe Reynes <philippe.reynes@softathome.com>
cmd/aes.c