summaryrefslogtreecommitdiffstats
path: root/scripts/rsatoc.c
Commit message (Collapse)AuthorAgeFilesLines
* scripts/rsatoc: relicense to allow distribution of binary linked with OpenSSLUwe Kleine-König2020-09-211-1/+1
| | | | | | | | | | | | | | The GPL (both, versions 2 and 3) are incompatible with the OpenSSL license. According to the Free Software Foundation the copyright holders of GPL software have to provide an exception to allow this linkage. This is effectively a license change and so needs confirmation by all copyright holders. Acked-by: Marc Kleine-Budde <mkl@pengutronix.de> Cc: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* scripts/rsatoc: fix printing of error message, if environment variable ↵Marc Kleine-Budde2020-08-031-2/+4
| | | | | | | | doen't contain a path Fixes: 128ad3cbe043 ("scripts: Add rsatoc tool") Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* scripts: Add rsatoc toolSascha Hauer2019-10-151-0/+486
The rsatoc tool converts rsa public keys into C structs suitable to compile with barebox. Most of the openssl rsa related stuff has been taken from the U-Boot mkimage tool. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>