On 2026-07-03T01:49:45, James Hilliard <[email protected]> wrote: > cmd: aes: fix DM operation handling > > The DM AES command path takes operation-specific arguments after the > common arguments. argv[1] holds the mode, 'ecb' or 'cbc', while argv[2] > holds the requested operation, 'enc' or 'dec'. > > The DM path checked argv[1] for the operation, so the ecb and cbc > commands always returned CMD_RET_USAGE before running. Parse argv[2] > instead. > > Fixes: b01444aa14cf ("cmd: aes: Add support for DM AES drivers") > Signed-off-by: James Hilliard <[email protected]> > Reviewed-by: Svyatoslav Ryhel <[email protected]> > > cmd/aes.c | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-)
Reviewed-by: Simon Glass <[email protected]>

