rsa: reject images with unknown padding
authorPatrick Doyle <wpdster@gmail.com>
Fri, 14 Jun 2019 17:43:38 +0000 (13:43 -0400)
committerTom Rini <trini@konsulko.com>
Fri, 21 Jun 2019 14:07:11 +0000 (10:07 -0400)
commit19495dd9b6f5f4e893b56b0c73e14b2e671c3780
treed61a57c7b2faaae041ec3396d56bd90eb6be444f
parent226a35ef0ef310d8fffa3e6283ee3aab9dab26aa
rsa: reject images with unknown padding

Previously we would store NULL in info->padding and jump to an illegal
instruction if an unknown value for "padding" was specified in the
device tree.

Signed-off-by: Patrick Doyle <pdoyle@irobot.com>
common/image-sig.c