Joel Stanley 93af80f3e8 image-fit: Fix FIT_CIPHER linking
When CONFIG_FIT_CIPHER=y and CONFIG_FIT_SIGNATURE=n is there is no
implementation of image_get_host_blob for mkimage/dumpimage:

 /usr/bin/ld: tools/common/image-cipher.o: in function `fit_image_decrypt_data':
 image-cipher.c:(.text+0x9a): undefined reference to `image_get_host_blob'

Move the implementation to a common file so it can be shaed between
image-cipher.c and image-fit-sig.c.

Signed-off-by: Joel Stanley <joel@jms.id.au>
2021-01-22 16:17:52 -05:00
..
2020-05-18 18:36:55 -04:00
2020-11-19 09:45:49 -05:00
2021-01-16 14:49:09 -05:00
2020-05-18 21:19:18 -04:00
2020-05-18 21:19:18 -04:00
2020-05-18 21:19:18 -04:00
2021-01-22 16:17:52 -05:00
2020-06-12 13:14:07 -04:00
2021-01-15 14:38:00 -05:00
2020-05-18 21:19:18 -04:00
2021-01-06 07:57:33 -05:00
2020-10-22 09:54:53 -04:00