From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Sat, 23 Jan 2021 12:46:01 -0500 Subject: [PATCH v2 1/4] tools/Makefile: FIT_CIPHER requires libssl In-Reply-To: <20201208041216.888902-2-joel@jms.id.au> References: <20201208041216.888902-1-joel@jms.id.au> <20201208041216.888902-2-joel@jms.id.au> Message-ID: <20210123174601.GN9782@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 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: