From: Tom Rini <trini@konsulko.com>
To: u-boot@lists.denx.de
Subject: [PATCH v2 1/4] tools/Makefile: FIT_CIPHER requires libssl
Date: Sat, 23 Jan 2021 12:46:01 -0500 [thread overview]
Message-ID: <20210123174601.GN9782@bill-the-cat> (raw)
In-Reply-To: <20201208041216.888902-2-joel@jms.id.au>
On Tue, Dec 08, 2020 at 02:42:13PM +1030, Joel Stanley wrote:
> If CONFIG_FIT_CIPHER is enabled without CONFIG_FIT_SIGNATURE then
> mkimage/dumpimage will fail to link:
>
> /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'
> /usr/bin/ld: tools/common/image-cipher.o:(.data.rel+0x10): undefined reference to `EVP_aes_128_cbc'
> /usr/bin/ld: tools/common/image-cipher.o:(.data.rel+0x40): undefined reference to `EVP_aes_192_cbc'
> /usr/bin/ld: tools/common/image-cipher.o:(.data.rel+0x70): undefined reference to `EVP_aes_256_cbc'
> /usr/bin/ld: tools/lib/aes/aes-encrypt.o: in function `image_aes_encrypt':
> aes-encrypt.c:(.text+0x22): undefined reference to `EVP_CIPHER_CTX_new'
> /usr/bin/ld: aes-encrypt.c:(.text+0x6f): undefined reference to `EVP_EncryptInit_ex'
> /usr/bin/ld: aes-encrypt.c:(.text+0x8d): undefined reference to `EVP_EncryptUpdate'
> /usr/bin/ld: aes-encrypt.c:(.text+0xac): undefined reference to `EVP_CIPHER_CTX_free'
> /usr/bin/ld: aes-encrypt.c:(.text+0xf2): undefined reference to `EVP_EncryptFinal_ex'
> collect2: error: ld returned 1 exit status
>
> Signed-off-by: Joel Stanley <joel@jms.id.au>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20210123/054873f4/attachment.sig>
next prev parent reply other threads:[~2021-01-23 17:46 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-08 4:12 [PATCH v2 0/4] mkimage usability fixes Joel Stanley
2020-12-08 4:12 ` [PATCH v2 1/4] tools/Makefile: FIT_CIPHER requires libssl Joel Stanley
2020-12-08 15:25 ` Philippe REYNES
2021-01-23 17:46 ` Tom Rini [this message]
2020-12-08 4:12 ` [PATCH v2 2/4] image-fit: Fix FIT_CIPHER linking Joel Stanley
2020-12-08 15:26 ` Philippe REYNES
2021-01-23 17:46 ` Tom Rini
2020-12-08 4:12 ` [PATCH v2 3/4] mkimage: Move padding commands outside of FIT_SIGNATURE Joel Stanley
2020-12-08 15:35 ` Philippe REYNES
2021-01-23 17:46 ` Tom Rini
2020-12-08 4:12 ` [PATCH v2 4/4] mkimge: Reject signing-related flags without FIT_SIGNATURE Joel Stanley
2020-12-08 15:38 ` Philippe REYNES
2020-12-12 15:39 ` Simon Glass
2021-01-22 21:58 ` Tom Rini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210123174601.GN9782@bill-the-cat \
--to=trini@konsulko.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox