Input buildinfo: https://buildinfos.debian.net/buildinfo-pool/x/xilinx-bootgen/xilinx-bootgen_2021.2-1+b1_amd64.buildinfo Use metasnap for getting required timestamps New buildinfo file: /tmp/xilinx-bootgen-2021.2-1+b1zwv1vf6t/xilinx-bootgen_2021.2-1+b1_amd64.buildinfo Get source package info: xilinx-bootgen=2021.2-1 Source URL: http://snapshot.notset.fr/mr/package/xilinx-bootgen/2021.2-1/srcfiles?fileinfo=1 env -i PATH=/usr/sbin:/usr/bin:/sbin:/bin TMPDIR=/tmp mmdebstrap --arch=amd64 --include=autoconf=2.71-2 automake=1:1.16.5-1.3 autopoint=0.21-6 autotools-dev=20220109.1 base-files=12.2 base-passwd=3.5.52 bash=5.1-6+b1 binutils=2.38-4 binutils-common=2.38-4 binutils-x86-64-linux-gnu=2.38-4 bsdextrautils=2.38-4 bsdutils=1:2.38-4 build-essential=12.9 bzip2=1.0.8-5 coreutils=8.32-4.1 cpp=4:11.2.0-2 cpp-11=11.3.0-1 dash=0.5.11+git20210903+057cd650a4ed-8 debconf=1.5.79 debhelper=13.7.1 debianutils=5.7-0.2 dh-autoreconf=20 dh-strip-nondeterminism=1.13.0-1 diffutils=1:3.7-5 dpkg=1.21.7 dpkg-dev=1.21.7 dwz=0.14-1 file=1:5.41-4 findutils=4.9.0-3 g++=4:11.2.0-2 g++-11=11.3.0-1 gcc=4:11.2.0-2 gcc-11=11.3.0-1 gcc-11-base=11.3.0-1 gcc-12-base=12.1.0-1 gettext=0.21-6 gettext-base=0.21-6 grep=3.7-1 groff-base=1.22.4-8 gzip=1.12-1 hostname=3.23 init-system-helpers=1.62 intltool-debian=0.35.0+20060710.5 libacl1=2.3.1-1 libarchive-zip-perl=1.68-1 libasan6=11.3.0-1 libatomic1=12.1.0-1 libattr1=1:2.5.1-1 libaudit-common=1:3.0.7-1 libaudit1=1:3.0.7-1+b1 libbinutils=2.38-4 libblkid1=2.38-4 libbz2-1.0=1.0.8-5 libc-bin=2.33-7 libc-dev-bin=2.33-7 libc6=2.33-7 libc6-dev=2.33-7 libcap-ng0=0.7.9-2.2+b2 libcap2=1:2.44-1 libcc1-0=12.1.0-1 libcom-err2=1.46.5-2 libcrypt-dev=1:4.4.27-1.1 libcrypt1=1:4.4.27-1.1 libctf-nobfd0=2.38-4 libctf0=2.38-4 libdb5.3=5.3.28+dfsg1-0.8 libdebconfclient0=0.262 libdebhelper-perl=13.7.1 libdpkg-perl=1.21.7 libelf1=0.187-1 libfile-stripnondeterminism-perl=1.13.0-1 libgcc-11-dev=11.3.0-1 libgcc-s1=12.1.0-1 libgcrypt20=1.10.1-2 libgdbm-compat4=1.23-1 libgdbm6=1.23-1 libgmp10=2:6.2.1+dfsg-3 libgomp1=12.1.0-1 libgpg-error0=1.45-2 libgssapi-krb5-2=1.19.2-2+b1 libicu71=71.1-3 libisl23=0.24-2 libitm1=12.1.0-1 libk5crypto3=1.19.2-2+b1 libkeyutils1=1.6.1-3 libkrb5-3=1.19.2-2+b1 libkrb5support0=1.19.2-2+b1 liblsan0=12.1.0-1 liblz4-1=1.9.3-2 liblzma5=5.2.5-2.1 libmagic-mgc=1:5.41-4 libmagic1=1:5.41-4 libmount1=2.38-4 libmpc3=1.2.1-2 libmpfr6=4.1.0-3 libnsl-dev=1.3.0-2 libnsl2=1.3.0-2 libpam-modules=1.4.0-13 libpam-modules-bin=1.4.0-13 libpam-runtime=1.4.0-13 libpam0g=1.4.0-13 libpcre2-8-0=10.40-1 libpcre3=2:8.39-14 libperl5.34=5.34.0-4 libpipeline1=1.5.6-1 libquadmath0=12.1.0-1 libseccomp2=2.5.4-1 libselinux1=3.3-1+b2 libsigsegv2=2.14-1 libsmartcols1=2.38-4 libssl-dev=3.0.3-2 libssl1.1=1.1.1o-1 libssl3=3.0.3-2 libstdc++-11-dev=11.3.0-1 libstdc++6=12.1.0-1 libsub-override-perl=0.09-2 libsystemd0=250.4-1 libtinfo6=6.3+20220423-2 libtirpc-common=1.3.2-2 libtirpc-dev=1.3.2-2 libtirpc3=1.3.2-2 libtool=2.4.7-4 libtsan0=11.3.0-1 libubsan1=12.1.0-1 libuchardet0=0.0.7-1 libudev1=250.4-1 libunistring2=1.0-1 libuuid1=2.38-4 libxml2=2.9.14+dfsg-1 libzstd1=1.5.2+dfsg-1 linux-libc-dev=5.17.3-1 login=1:4.11.1+dfsg1-2 lsb-base=11.1.0 m4=1.4.18-5 make=4.3-4.1 man-db=2.10.2-1 mawk=1.3.4.20200120-3+b1 ncurses-base=6.3+20220423-2 ncurses-bin=6.3+20220423-2 patch=2.7.6-7 perl=5.34.0-4 perl-base=5.34.0-4 perl-modules-5.34=5.34.0-4 po-debconf=1.0.21+nmu1 rpcsvc-proto=1.4.2-4 sed=4.8-1 sensible-utils=0.0.17 sysvinit-utils=3.03-1 tar=1.34+dfsg-1 util-linux=2.38-4 util-linux-extra=2.38-4 xz-utils=5.2.5-2.1 zlib1g=1:1.2.11.dfsg-4 --variant=apt --aptopt=Acquire::Check-Valid-Until "false" --aptopt=Acquire::http::Dl-Limit "1000"; --aptopt=Acquire::https::Dl-Limit "1000"; --aptopt=Acquire::Retries "5"; --aptopt=APT::Get::allow-downgrades "true"; --keyring=/usr/share/keyrings/ --essential-hook=chroot "$1" sh -c "apt-get --yes install fakeroot util-linux" --essential-hook=copy-in /usr/share/keyrings/debian-archive-bullseye-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-security-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-stable.gpg /usr/share/keyrings/debian-archive-buster-automatic.gpg /usr/share/keyrings/debian-archive-buster-security-automatic.gpg /usr/share/keyrings/debian-archive-buster-stable.gpg /usr/share/keyrings/debian-archive-keyring.gpg /usr/share/keyrings/debian-archive-removed-keys.gpg /usr/share/keyrings/debian-archive-stretch-automatic.gpg /usr/share/keyrings/debian-archive-stretch-security-automatic.gpg /usr/share/keyrings/debian-archive-stretch-stable.gpg /usr/share/keyrings/debian-ports-archive-keyring-removed.gpg /usr/share/keyrings/debian-ports-archive-keyring.gpg /usr/share/keyrings/debian-keyring.gpg /etc/apt/trusted.gpg.d/ --essential-hook=chroot "$1" sh -c "rm /etc/apt/sources.list && echo 'deb http://snapshot.notset.fr/archive/debian/20211114T025323Z/ bookworm main deb-src http://snapshot.notset.fr/archive/debian/20211114T025323Z/ bookworm main deb http://snapshot.notset.fr/archive/debian/20220514T220115Z/ unstable main deb http://snapshot.notset.fr/archive/debian/20220511T204932Z/ unstable main' >> /etc/apt/sources.list && apt-get update" --customize-hook=chroot "$1" useradd --no-create-home -d /nonexistent -p "" builduser -s /bin/bash --customize-hook=chroot "$1" env sh -c "apt-get source --only-source -d xilinx-bootgen=2021.2-1 && mkdir -p /build/xilinx-bootgen-CVQlR6 && dpkg-source --no-check -x /*.dsc /build/xilinx-bootgen-CVQlR6/xilinx-bootgen-2021.2 && cd /build/xilinx-bootgen-CVQlR6/xilinx-bootgen-2021.2 && { printf '%s' 'xilinx-bootgen (2021.2-1+b1) sid; urgency=low, binary-only=yes * Binary-only non-maintainer upload for amd64; no source changes. * Rebuild against libssl3 -- all / amd64 / i386 Build Daemon (x86-conova-01) Sat, 14 May 2022 05:21:34 +0000 '; cat debian/changelog; } > debian/changelog.debrebuild && mv debian/changelog.debrebuild debian/changelog && chown -R builduser:builduser /build/xilinx-bootgen-CVQlR6" --customize-hook=chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/xilinx-bootgen-CVQlR6/xilinx-bootgen-2021.2 && env DEB_BUILD_OPTIONS="parallel=4" LC_ALL="C.UTF-8" LC_COLLATE="C.UTF-8" SOURCE_DATE_EPOCH="1652505694" DEB_BUILD_OPTIONS=nocheck dpkg-buildpackage -uc -a amd64 --build=any" --customize-hook=sync-out /build/xilinx-bootgen-CVQlR6 /tmp/xilinx-bootgen-2021.2-1+b1zwv1vf6t bookworm /dev/null deb http://snapshot.notset.fr/archive/debian/20220511T204932Z unstable main I: automatically chosen mode: root I: chroot architecture amd64 is equal to the host's architecture I: automatically chosen format: null I: using /tmp/mmdebstrap.IAR77rMETB as tempdir I: running apt-get update... I: downloading packages with apt... I: extracting archives... I: installing essential packages... I: running --essential-hook in shell: sh -c 'chroot "$1" sh -c "apt-get --yes install fakeroot util-linux"' exec /tmp/mmdebstrap.IAR77rMETB Reading package lists... Building dependency tree... util-linux is already the newest version (2.38-4). The following NEW packages will be installed: fakeroot libfakeroot 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 135 kB of archives. After this operation, 406 kB of additional disk space will be used. Get:1 http://snapshot.notset.fr/archive/debian/20220511T204932Z unstable/main amd64 libfakeroot amd64 1.28-1 [48.2 kB] Get:2 http://snapshot.notset.fr/archive/debian/20220511T204932Z unstable/main amd64 fakeroot amd64 1.28-1 [87.2 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 135 kB in 0s (1107 kB/s) Selecting previously unselected package libfakeroot:amd64. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 4628 files and directories currently installed.) Preparing to unpack .../libfakeroot_1.28-1_amd64.deb ... Unpacking libfakeroot:amd64 (1.28-1) ... Selecting previously unselected package fakeroot. Preparing to unpack .../fakeroot_1.28-1_amd64.deb ... Unpacking fakeroot (1.28-1) ... Setting up libfakeroot:amd64 (1.28-1) ... Setting up fakeroot (1.28-1) ... update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode Processing triggers for libc-bin (2.33-7) ... I: running special hook: copy-in /usr/share/keyrings/debian-archive-bullseye-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-security-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-stable.gpg /usr/share/keyrings/debian-archive-buster-automatic.gpg /usr/share/keyrings/debian-archive-buster-security-automatic.gpg /usr/share/keyrings/debian-archive-buster-stable.gpg /usr/share/keyrings/debian-archive-keyring.gpg /usr/share/keyrings/debian-archive-removed-keys.gpg /usr/share/keyrings/debian-archive-stretch-automatic.gpg /usr/share/keyrings/debian-archive-stretch-security-automatic.gpg /usr/share/keyrings/debian-archive-stretch-stable.gpg /usr/share/keyrings/debian-ports-archive-keyring-removed.gpg /usr/share/keyrings/debian-ports-archive-keyring.gpg /usr/share/keyrings/debian-keyring.gpg /etc/apt/trusted.gpg.d/ I: running --essential-hook in shell: sh -c 'chroot "$1" sh -c "rm /etc/apt/sources.list && echo 'deb http://snapshot.notset.fr/archive/debian/20211114T025323Z/ bookworm main deb-src http://snapshot.notset.fr/archive/debian/20211114T025323Z/ bookworm main deb http://snapshot.notset.fr/archive/debian/20220514T220115Z/ unstable main deb http://snapshot.notset.fr/archive/debian/20220511T204932Z/ unstable main' >> /etc/apt/sources.list && apt-get update"' exec /tmp/mmdebstrap.IAR77rMETB Get:1 http://snapshot.notset.fr/archive/debian/20211114T025323Z bookworm InRelease [129 kB] Get:2 http://snapshot.notset.fr/archive/debian/20220514T220115Z unstable InRelease [165 kB] Hit:3 http://snapshot.notset.fr/archive/debian/20220511T204932Z unstable InRelease Ign:4 http://snapshot.notset.fr/archive/debian/20211114T025323Z bookworm/main Sources Ign:5 http://snapshot.notset.fr/archive/debian/20211114T025323Z bookworm/main amd64 Packages Ign:4 http://snapshot.notset.fr/archive/debian/20211114T025323Z bookworm/main Sources Ign:5 http://snapshot.notset.fr/archive/debian/20211114T025323Z bookworm/main amd64 Packages Ign:4 http://snapshot.notset.fr/archive/debian/20211114T025323Z bookworm/main Sources Ign:5 http://snapshot.notset.fr/archive/debian/20211114T025323Z bookworm/main amd64 Packages Get:4 http://snapshot.notset.fr/archive/debian/20211114T025323Z bookworm/main Sources [11.7 MB] Get:5 http://snapshot.notset.fr/archive/debian/20211114T025323Z bookworm/main amd64 Packages [11.2 MB] Ign:6 http://snapshot.notset.fr/archive/debian/20220514T220115Z unstable/main amd64 Packages Err:6 http://snapshot.notset.fr/archive/debian/20220514T220115Z unstable/main amd64 Packages 404 Not Found [IP: 10.13.0.253 80] Ign:6 http://snapshot.notset.fr/archive/debian/20220514T220115Z unstable/main amd64 Packages Get:6 http://snapshot.notset.fr/archive/debian/20220514T220115Z unstable/main amd64 Packages [12.4 MB] Fetched 35.6 MB in 29s (1219 kB/s) Reading package lists... I: installing remaining packages inside the chroot... I: running --customize-hook in shell: sh -c 'chroot "$1" useradd --no-create-home -d /nonexistent -p "" builduser -s /bin/bash' exec /tmp/mmdebstrap.IAR77rMETB I: running --customize-hook in shell: sh -c 'chroot "$1" env sh -c "apt-get source --only-source -d xilinx-bootgen=2021.2-1 && mkdir -p /build/xilinx-bootgen-CVQlR6 && dpkg-source --no-check -x /*.dsc /build/xilinx-bootgen-CVQlR6/xilinx-bootgen-2021.2 && cd /build/xilinx-bootgen-CVQlR6/xilinx-bootgen-2021.2 && { printf '%s' 'xilinx-bootgen (2021.2-1+b1) sid; urgency=low, binary-only=yes * Binary-only non-maintainer upload for amd64; no source changes. * Rebuild against libssl3 -- all / amd64 / i386 Build Daemon (x86-conova-01) Sat, 14 May 2022 05:21:34 +0000 '; cat debian/changelog; } > debian/changelog.debrebuild && mv debian/changelog.debrebuild debian/changelog && chown -R builduser:builduser /build/xilinx-bootgen-CVQlR6"' exec /tmp/mmdebstrap.IAR77rMETB Reading package lists... NOTICE: 'xilinx-bootgen' packaging is maintained in the 'Git' version control system at: https://salsa.debian.org/xilinx-packages-team/xilinx-bootgen.git Please use: git clone https://salsa.debian.org/xilinx-packages-team/xilinx-bootgen.git to retrieve the latest (possibly unreleased) updates to the package. Need to get 506 kB of source archives. Get:1 http://snapshot.notset.fr/archive/debian/20211114T025323Z bookworm/main xilinx-bootgen 2021.2-1 (dsc) [2056 B] Get:2 http://snapshot.notset.fr/archive/debian/20211114T025323Z bookworm/main xilinx-bootgen 2021.2-1 (tar) [496 kB] Get:3 http://snapshot.notset.fr/archive/debian/20211114T025323Z bookworm/main xilinx-bootgen 2021.2-1 (diff) [7536 B] Fetched 506 kB in 0s (1016 kB/s) Download complete and in download only mode W: Download is performed unsandboxed as root as file 'xilinx-bootgen_2021.2-1.dsc' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) dpkg-source: info: extracting xilinx-bootgen in /build/xilinx-bootgen-CVQlR6/xilinx-bootgen-2021.2 dpkg-source: info: unpacking xilinx-bootgen_2021.2.orig.tar.gz dpkg-source: info: unpacking xilinx-bootgen_2021.2-1.debian.tar.xz I: running --customize-hook in shell: sh -c 'chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/xilinx-bootgen-CVQlR6/xilinx-bootgen-2021.2 && env DEB_BUILD_OPTIONS="parallel=4" LC_ALL="C.UTF-8" LC_COLLATE="C.UTF-8" SOURCE_DATE_EPOCH="1652505694" DEB_BUILD_OPTIONS=nocheck dpkg-buildpackage -uc -a amd64 --build=any"' exec /tmp/mmdebstrap.IAR77rMETB dpkg-buildpackage: info: source package xilinx-bootgen dpkg-buildpackage: info: source version 2021.2-1+b1 dpkg-buildpackage: info: source distribution sid dpkg-buildpackage: info: source changed by all / amd64 / i386 Build Daemon (x86-conova-01) dpkg-source --before-build . dpkg-buildpackage: info: host architecture amd64 debian/rules clean dh clean --with autoreconf --exclude=.la dh_auto_clean -O--exclude=.la make -j10 clean make[1]: Entering directory '/build/xilinx-bootgen-CVQlR6/xilinx-bootgen-2021.2' echo rm -rf bootgen rm -f Keccak-compact-versal.o Keccak-compact.o authentication-versal.o authentication-zynq.o authentication-zynqmp.o authentication.o authkeys-versal.o authkeys.o bif.tab.o bif.yy.o bifoptions.o binary-versal.o binary.o binfile.o bitutils-versal.o bitutils.o bootheader-versal.o bootheader-zynq.o bootheader-zynqmp.o bootheader.o bootimage-versal.o bootimage-zynq.o bootimage-zynqmp.o bootimage.o checksum-versal.o checksum.o cmdoptions.tab.o cmdoptions.yy.o elftools.o encryption-versal.o encryption-zynq.o encryption-zynqmp.o encryption.o encryptutils.o hash.o imageheadertable-versal.o imageheadertable-zynq.o imageheadertable-zynqmp.o imageheadertable.o kdf.o logger.o main.o mcsfile.o options.o outputfile-versal.o outputfile.o parsing.o partition-versal.o partition.o partitionheadertable-versal.o partitionheadertable-zynq.o partitionheadertable-zynqmp.o partitionheadertable.o postprocess.o readimage-versal.o readimage-zynq.o readimage-zynqmp.o readimage.o reginit.o reginit.tab.o reginit.yy.o verifyimage-versal.o verifyimage-zynqmp.o cJSON.o cdo-alloc.o cdo-binary.o cdo-command.o cdo-load.o cdo-npi.o cdo-overlay.o cdo-raw.o cdo-source.o make[1]: Leaving directory '/build/xilinx-bootgen-CVQlR6/xilinx-bootgen-2021.2' dh_autoreconf_clean -O--exclude=.la dh_clean -O--exclude=.la debian/rules binary-arch dh binary-arch --with autoreconf --exclude=.la dh_update_autotools_config -a -O--exclude=.la dh_autoreconf -a -O--exclude=.la debian/rules override_dh_auto_configure make[1]: Entering directory '/build/xilinx-bootgen-CVQlR6/xilinx-bootgen-2021.2' dh_auto_configure -- --enable-static make[1]: Leaving directory '/build/xilinx-bootgen-CVQlR6/xilinx-bootgen-2021.2' dh_auto_build -a -O--exclude=.la make -j10 "INSTALL=install --strip-program=true" make[1]: Entering directory '/build/xilinx-bootgen-CVQlR6/xilinx-bootgen-2021.2' g++ -c -g -O2 -ffile-prefix-map=/build/xilinx-bootgen-CVQlR6/xilinx-bootgen-2021.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. Keccak-compact-versal.cpp g++ -c -g -O2 -ffile-prefix-map=/build/xilinx-bootgen-CVQlR6/xilinx-bootgen-2021.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. Keccak-compact.cpp g++ -c -g -O2 -ffile-prefix-map=/build/xilinx-bootgen-CVQlR6/xilinx-bootgen-2021.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. authentication-versal.cpp g++ -c -g -O2 -ffile-prefix-map=/build/xilinx-bootgen-CVQlR6/xilinx-bootgen-2021.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. authentication-zynq.cpp g++ -c -g -O2 -ffile-prefix-map=/build/xilinx-bootgen-CVQlR6/xilinx-bootgen-2021.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. authentication-zynqmp.cpp g++ -c -g -O2 -ffile-prefix-map=/build/xilinx-bootgen-CVQlR6/xilinx-bootgen-2021.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. authentication.cpp g++ -c -g -O2 -ffile-prefix-map=/build/xilinx-bootgen-CVQlR6/xilinx-bootgen-2021.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. authkeys-versal.cpp g++ -c -g -O2 -ffile-prefix-map=/build/xilinx-bootgen-CVQlR6/xilinx-bootgen-2021.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. authkeys.cpp g++ -c -g -O2 -ffile-prefix-map=/build/xilinx-bootgen-CVQlR6/xilinx-bootgen-2021.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. bif.tab.cpp g++ -c -g -O2 -ffile-prefix-map=/build/xilinx-bootgen-CVQlR6/xilinx-bootgen-2021.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. bif.yy.cpp g++ -c -g -O2 -ffile-prefix-map=/build/xilinx-bootgen-CVQlR6/xilinx-bootgen-2021.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. bifoptions.cpp g++ -c -g -O2 -ffile-prefix-map=/build/xilinx-bootgen-CVQlR6/xilinx-bootgen-2021.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. binary-versal.cpp In file included from authentication.h:43, from authentication-zynqmp.h:27, from authentication-zynqmp.cpp:27: hash.h: In member function ‘virtual void HashSha2::InitHash()’: hash.h:84:38: warning: ‘int SHA256_Init(SHA256_CTX*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | void InitHash(void) { SHA256_Init(&ctx); } | ~~~~~~~~~~~^~~~~~ In file included from /usr/include/openssl/x509.h:41, from /usr/include/openssl/pem.h:23, from authentication.h:35, from authentication-zynqmp.h:27, from authentication-zynqmp.cpp:27: /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ In file included from authentication-zynqmp.h:27, from authentication-zynqmp.cpp:27: authentication.h: In destructor ‘RSA_Class::~RSA_Class()’: authentication.h:94:21: warning: ‘void RSA_free(RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authentication.h:33, from authentication-zynqmp.h:27, from authentication-zynqmp.cpp:27: /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ In file included from authentication-versal.h:40, from authentication-versal.cpp:22: hash.h: In member function ‘virtual void HashSha2::InitHash()’: hash.h:84:38: warning: ‘int SHA256_Init(SHA256_CTX*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | void InitHash(void) { SHA256_Init(&ctx); } | ~~~~~~~~~~~^~~~~~ In file included from /usr/include/openssl/x509.h:41, from /usr/include/openssl/pem.h:23, from authentication-versal.h:37, from authentication-versal.cpp:22: /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ In file included from authentication-versal.h:42, from authentication-versal.cpp:22: authentication.h: In destructor ‘RSA_Class::~RSA_Class()’: authentication.h:94:21: warning: ‘void RSA_free(RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authentication-versal.h:35, from authentication-versal.cpp:22: /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ In file included from authentication.h:43, from imageheadertable.h:28, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from ../s/bif.y:42, from bifscanner.h:39, from ../s/bif.l:23: hash.h: In member function ‘virtual void HashSha2::InitHash()’: hash.h:84:38: warning: ‘int SHA256_Init(SHA256_CTX*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | void InitHash(void) { SHA256_Init(&ctx); } | ~~~~~~~~~~~^~~~~~ authentication-versal.cpp: In member function ‘void ECDSAAuthenticationAlgorithm::ECDSASignature(const uint8_t*, EC_KEY*, uint8_t*)’: authentication-versal.cpp:1018:32: warning: ‘EC_KEY* EC_KEY_new()’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1018 | EC_KEY* eckeyN = EC_KEY_new(); | ~~~~~~~~~~^~ In file included from /usr/include/openssl/x509.h:33, from /usr/include/openssl/pem.h:23, from authentication-versal.h:37, from authentication-versal.cpp:22: /usr/include/openssl/ec.h:968:31: note: declared here 968 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new(void); | ^~~~~~~~~~ authentication-versal.cpp:1020:21: warning: ‘int EC_KEY_set_group(EC_KEY*, const EC_GROUP*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1020 | EC_KEY_set_group(eckeyN, ecgroup); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:33, from /usr/include/openssl/pem.h:23, from authentication-versal.h:37, from authentication-versal.cpp:22: /usr/include/openssl/ec.h:1042:27: note: declared here 1042 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_group(EC_KEY *key, const EC_GROUP *group); | ^~~~~~~~~~~~~~~~ authentication-versal.cpp:1021:25: warning: ‘void EC_KEY_set_asn1_flag(EC_KEY*, int)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1021 | EC_KEY_set_asn1_flag(eckeyN, OPENSSL_EC_NAMED_CURVE); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:33, from /usr/include/openssl/pem.h:23, from authentication-versal.h:37, from authentication-versal.cpp:22: /usr/include/openssl/ec.h:1087:28: note: declared here 1087 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_set_asn1_flag(EC_KEY *eckey, int asn1_flag); | ^~~~~~~~~~~~~~~~~~~~ authentication-versal.cpp:1024:34: warning: ‘const BIGNUM* EC_KEY_get0_private_key(const EC_KEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1024 | prv = EC_KEY_get0_private_key(eckeyU); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ In file included from /usr/include/openssl/x509.h:33, from /usr/include/openssl/pem.h:23, from authentication-versal.h:37, from authentication-versal.cpp:22: /usr/include/openssl/ec.h:1048:37: note: declared here 1048 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *EC_KEY_get0_private_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~~~~~ authentication-versal.cpp:1025:49: warning: ‘const EC_POINT* EC_KEY_get0_public_key(const EC_KEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1025 | const EC_POINT *pub = EC_KEY_get0_public_key(eckeyU); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ In file included from /usr/include/openssl/x509.h:33, from /usr/include/openssl/pem.h:23, from authentication-versal.h:37, from authentication-versal.cpp:22: /usr/include/openssl/ec.h:1062:39: note: declared here 1062 | OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~~~~ authentication-versal.cpp:1028:27: warning: ‘int EC_KEY_set_private_key(EC_KEY*, const BIGNUM*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1028 | EC_KEY_set_private_key(eckeyN, prv); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:33, from /usr/include/openssl/pem.h:23, from authentication-versal.h:37, from authentication-versal.cpp:22: /usr/include/openssl/ec.h:1056:27: note: declared here 1056 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_private_key(EC_KEY *key, const BIGNUM *prv); | ^~~~~~~~~~~~~~~~~~~~~~ authentication-versal.cpp:1029:26: warning: ‘int EC_KEY_set_public_key(EC_KEY*, const EC_POINT*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1029 | EC_KEY_set_public_key(eckeyN, pub); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:33, from /usr/include/openssl/pem.h:23, from authentication-versal.h:37, from authentication-versal.cpp:22: /usr/include/openssl/ec.h:1070:27: note: declared here 1070 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_public_key(EC_KEY *key, const EC_POINT *pub); | ^~~~~~~~~~~~~~~~~~~~~ authentication-versal.cpp:1032:41: warning: ‘ECDSA_SIG* ECDSA_do_sign(const unsigned char*, int, EC_KEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1032 | ECDSA_SIG* signature = ECDSA_do_sign(base, 48, eckeyN); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:33, from /usr/include/openssl/pem.h:23, from authentication-versal.h:37, from authentication-versal.cpp:22: /usr/include/openssl/ec.h:1365:34: note: declared here 1365 | OSSL_DEPRECATEDIN_3_0 ECDSA_SIG *ECDSA_do_sign(const unsigned char *dgst, | ^~~~~~~~~~~~~ authentication-versal.cpp:1064:16: warning: ‘void EC_KEY_free(EC_KEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1064 | EC_KEY_free(eckeyN); | ~~~~~~~~~~~^~~~~~~~ In file included from /usr/include/openssl/x509.h:33, from /usr/include/openssl/pem.h:23, from authentication-versal.h:37, from authentication-versal.cpp:22: /usr/include/openssl/ec.h:1003:28: note: declared here 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ authentication-versal.cpp: In member function ‘void ECDSAP521AuthenticationAlgorithm::ECDSASignature(const uint8_t*, EC_KEY*, uint8_t*)’: authentication-versal.cpp:1071:32: warning: ‘EC_KEY* EC_KEY_new()’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1071 | EC_KEY* eckeyN = EC_KEY_new(); | ~~~~~~~~~~^~ In file included from /usr/include/openssl/x509.h:33, from /usr/include/openssl/pem.h:23, from authentication-versal.h:37, from authentication-versal.cpp:22: /usr/include/openssl/ec.h:968:31: note: declared here 968 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new(void); | ^~~~~~~~~~ authentication-versal.cpp:1073:21: warning: ‘int EC_KEY_set_group(EC_KEY*, const EC_GROUP*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1073 | EC_KEY_set_group(eckeyN, ecgroup); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:33, from /usr/include/openssl/pem.h:23, from authentication-versal.h:37, from authentication-versal.cpp:22: /usr/include/openssl/ec.h:1042:27: note: declared here 1042 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_group(EC_KEY *key, const EC_GROUP *group); | ^~~~~~~~~~~~~~~~ authentication-versal.cpp:1074:25: warning: ‘void EC_KEY_set_asn1_flag(EC_KEY*, int)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1074 | EC_KEY_set_asn1_flag(eckeyN, OPENSSL_EC_NAMED_CURVE); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:33, from /usr/include/openssl/pem.h:23, from authentication-versal.h:37, from authentication-versal.cpp:22: /usr/include/openssl/ec.h:1087:28: note: declared here 1087 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_set_asn1_flag(EC_KEY *eckey, int asn1_flag); | ^~~~~~~~~~~~~~~~~~~~ authentication-versal.cpp:1077:34: warning: ‘const BIGNUM* EC_KEY_get0_private_key(const EC_KEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1077 | prv = EC_KEY_get0_private_key(eckeyU); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ In file included from /usr/include/openssl/x509.h:33, from /usr/include/openssl/pem.h:23, from authentication-versal.h:37, from authentication-versal.cpp:22: /usr/include/openssl/ec.h:1048:37: note: declared here 1048 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *EC_KEY_get0_private_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~~~~~ authentication-versal.cpp:1078:49: warning: ‘const EC_POINT* EC_KEY_get0_public_key(const EC_KEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1078 | const EC_POINT *pub = EC_KEY_get0_public_key(eckeyU); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ In file included from /usr/include/openssl/x509.h:33, from /usr/include/openssl/pem.h:23, from authentication-versal.h:37, from authentication-versal.cpp:22: /usr/include/openssl/ec.h:1062:39: note: declared here 1062 | OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~~~~ authentication-versal.cpp:1081:27: warning: ‘int EC_KEY_set_private_key(EC_KEY*, const BIGNUM*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1081 | EC_KEY_set_private_key(eckeyN, prv); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:33, from /usr/include/openssl/pem.h:23, from authentication-versal.h:37, from authentication-versal.cpp:22: /usr/include/openssl/ec.h:1056:27: note: declared here 1056 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_private_key(EC_KEY *key, const BIGNUM *prv); | ^~~~~~~~~~~~~~~~~~~~~~ authentication-versal.cpp:1082:26: warning: ‘int EC_KEY_set_public_key(EC_KEY*, const EC_POINT*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1082 | EC_KEY_set_public_key(eckeyN, pub); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:33, from /usr/include/openssl/pem.h:23, from authentication-versal.h:37, from authentication-versal.cpp:22: /usr/include/openssl/ec.h:1070:27: note: declared here 1070 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_public_key(EC_KEY *key, const EC_POINT *pub); | ^~~~~~~~~~~~~~~~~~~~~ authentication-versal.cpp:1085:41: warning: ‘ECDSA_SIG* ECDSA_do_sign(const unsigned char*, int, EC_KEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1085 | ECDSA_SIG* signature = ECDSA_do_sign(base, 48, eckeyN); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:33, from /usr/include/openssl/pem.h:23, from authentication-versal.h:37, from authentication-versal.cpp:22: /usr/include/openssl/ec.h:1365:34: note: declared here 1365 | OSSL_DEPRECATEDIN_3_0 ECDSA_SIG *ECDSA_do_sign(const unsigned char *dgst, | ^~~~~~~~~~~~~ authentication-versal.cpp:1174:16: warning: ‘void EC_KEY_free(EC_KEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1174 | EC_KEY_free(eckeyN); | ~~~~~~~~~~~^~~~~~~~ In file included from /usr/include/openssl/x509.h:33, from /usr/include/openssl/pem.h:23, from authentication-versal.h:37, from authentication-versal.cpp:22: /usr/include/openssl/ec.h:1003:28: note: declared here 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:41, from /usr/include/openssl/pem.h:23, from authkeys.h:32, from bootimage.h:34, from ../s/bif.y:42, from bifscanner.h:39, from ../s/bif.l:23: /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ In file included from imageheadertable.h:28, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from ../s/bif.y:42, from bifscanner.h:39, from ../s/bif.l:23: authentication.h: In destructor ‘RSA_Class::~RSA_Class()’: authentication.h:94:21: warning: ‘void RSA_free(RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authkeys.h:30, from bootimage.h:34, from ../s/bif.y:42, from bifscanner.h:39, from ../s/bif.l:23: /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ In file included from authentication.h:43, from imageheadertable.h:28, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from ../s/bif.y:54: hash.h: In member function ‘virtual void HashSha2::InitHash()’: hash.h:84:38: warning: ‘int SHA256_Init(SHA256_CTX*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | void InitHash(void) { SHA256_Init(&ctx); } | ~~~~~~~~~~~^~~~~~ In file included from /usr/include/openssl/x509.h:41, from /usr/include/openssl/pem.h:23, from authkeys.h:32, from bootimage.h:34, from ../s/bif.y:54: /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ In file included from imageheadertable.h:28, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from ../s/bif.y:54: authentication.h: In destructor ‘RSA_Class::~RSA_Class()’: authentication.h:94:21: warning: ‘void RSA_free(RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authkeys.h:30, from bootimage.h:34, from ../s/bif.y:54: /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ In file included from authentication-versal.h:40, from authkeys-versal.cpp:27: hash.h: In member function ‘virtual void HashSha2::InitHash()’: hash.h:84:38: warning: ‘int SHA256_Init(SHA256_CTX*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | void InitHash(void) { SHA256_Init(&ctx); } | ~~~~~~~~~~~^~~~~~ In file included from /usr/include/openssl/x509.h:41, from /usr/include/openssl/pem.h:23, from authkeys-versal.h:31, from authkeys-versal.cpp:26: /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ In file included from authentication-versal.h:42, from authkeys-versal.cpp:27: authentication.h: In destructor ‘RSA_Class::~RSA_Class()’: authentication.h:94:21: warning: ‘void RSA_free(RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authkeys-versal.h:29, from authkeys-versal.cpp:26: /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ In file included from authentication.h:43, from authkeys.cpp:26: hash.h: In member function ‘virtual void HashSha2::InitHash()’: hash.h:84:38: warning: ‘int SHA256_Init(SHA256_CTX*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | void InitHash(void) { SHA256_Init(&ctx); } | ~~~~~~~~~~~^~~~~~ In file included from /usr/include/openssl/x509.h:41, from /usr/include/openssl/pem.h:23, from authkeys.h:32, from authkeys.cpp:25: /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ In file included from authkeys.cpp:26: authentication.h: In destructor ‘RSA_Class::~RSA_Class()’: authentication.h:94:21: warning: ‘void RSA_free(RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authkeys.h:30, from authkeys.cpp:25: /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ In file included from authentication.h:43, from imageheadertable.h:28, from imageheadertable-versal.h:27, from bifoptions.h:28, from bifoptions.cpp:25: hash.h: In member function ‘virtual void HashSha2::InitHash()’: hash.h:84:38: warning: ‘int SHA256_Init(SHA256_CTX*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | void InitHash(void) { SHA256_Init(&ctx); } | ~~~~~~~~~~~^~~~~~ In file included from /usr/include/openssl/x509.h:41, from /usr/include/openssl/pem.h:23, from authentication.h:35, from imageheadertable.h:28, from imageheadertable-versal.h:27, from bifoptions.h:28, from bifoptions.cpp:25: /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ In file included from imageheadertable.h:28, from imageheadertable-versal.h:27, from bifoptions.h:28, from bifoptions.cpp:25: authentication.h: In destructor ‘RSA_Class::~RSA_Class()’: authentication.h:94:21: warning: ‘void RSA_free(RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authentication.h:33, from imageheadertable.h:28, from imageheadertable-versal.h:27, from bifoptions.h:28, from bifoptions.cpp:25: /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ ../bisonflex/bif.yy.cpp: In member function ‘virtual int BIF::FlexScanner::yylex()’: ../bisonflex/bif.yy.cpp:1584:25: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] ../bisonflex/bif.yy.cpp:1585:17: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] ../bisonflex/bif.yy.cpp:1585:25: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] ../bisonflex/bif.yy.cpp:1586:15: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] ../bisonflex/bif.yy.cpp:1650:21: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] ../bisonflex/bif.yy.cpp: In member function ‘int bifFlexLexer::yy_get_next_buffer()’: ../bisonflex/bif.yy.cpp:3171:21: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] ../bisonflex/bif.yy.cpp:3172:17: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] ../bisonflex/bif.yy.cpp:3173:15: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] ../bisonflex/bif.yy.cpp:3173:31: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] ../bisonflex/bif.yy.cpp: In member function ‘yy_state_type bifFlexLexer::yy_get_previous_state()’: ../bisonflex/bif.yy.cpp:3311:25: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] ../bisonflex/bif.yy.cpp:3312:17: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] ../bisonflex/bif.yy.cpp:3320:20: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] ../bisonflex/bif.yy.cpp: In member function ‘yy_state_type bifFlexLexer::yy_try_NUL_trans(yy_state_type)’: ../bisonflex/bif.yy.cpp:3349:15: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] ../bisonflex/bif.yy.cpp:3351:17: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] ../bisonflex/bif.yy.cpp:3353:19: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] ../bisonflex/bif.yy.cpp: At global scope: ../bisonflex/bif.yy.cpp:3374:54: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] ../bisonflex/bif.yy.cpp: In member function ‘void bifFlexLexer::yyunput(int, char*)’: ../bisonflex/bif.yy.cpp:3377:17: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] ../bisonflex/bif.yy.cpp:3387:16: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] ../bisonflex/bif.yy.cpp:3388:18: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] ../bisonflex/bif.yy.cpp:3390:18: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] authkeys-versal.cpp: In constructor ‘VersalKey::VersalKey(const string&)’: authkeys-versal.cpp:46:41: warning: ‘EC_KEY* EC_KEY_new_by_curve_name(int)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 46 | eckey = EC_KEY_new_by_curve_name(NID_secp384r1); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:33, from /usr/include/openssl/pem.h:23, from authkeys-versal.h:31, from authkeys-versal.cpp:26: /usr/include/openssl/ec.h:998:31: note: declared here 998 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_by_curve_name(int nid); | ^~~~~~~~~~~~~~~~~~~~~~~~ authkeys-versal.cpp:50:41: warning: ‘EC_KEY* EC_KEY_new_by_curve_name(int)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 50 | eckey = EC_KEY_new_by_curve_name(NID_secp521r1); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:33, from /usr/include/openssl/pem.h:23, from authkeys-versal.h:31, from authkeys-versal.cpp:26: /usr/include/openssl/ec.h:998:31: note: declared here 998 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_by_curve_name(int nid); | ^~~~~~~~~~~~~~~~~~~~~~~~ authkeys-versal.cpp: In constructor ‘VersalKey::VersalKey(const Key&)’: authkeys-versal.cpp:68:41: warning: ‘EC_KEY* EC_KEY_new_by_curve_name(int)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 68 | eckey = EC_KEY_new_by_curve_name(NID_secp384r1); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:33, from /usr/include/openssl/pem.h:23, from authkeys-versal.h:31, from authkeys-versal.cpp:26: /usr/include/openssl/ec.h:998:31: note: declared here 998 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_by_curve_name(int nid); | ^~~~~~~~~~~~~~~~~~~~~~~~ authkeys-versal.cpp:72:41: warning: ‘EC_KEY* EC_KEY_new_by_curve_name(int)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 72 | eckey = EC_KEY_new_by_curve_name(NID_secp521r1); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:33, from /usr/include/openssl/pem.h:23, from authkeys-versal.h:31, from authkeys-versal.cpp:26: /usr/include/openssl/ec.h:998:31: note: declared here 998 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_by_curve_name(int nid); | ^~~~~~~~~~~~~~~~~~~~~~~~ authkeys-versal.cpp: In destructor ‘virtual VersalKey::~VersalKey()’: authkeys-versal.cpp:95:20: warning: ‘void EC_KEY_free(EC_KEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 95 | EC_KEY_free(eckey); | ~~~~~~~~~~~^~~~~~~ In file included from /usr/include/openssl/x509.h:33, from /usr/include/openssl/pem.h:23, from authkeys-versal.h:31, from authkeys-versal.cpp:26: /usr/include/openssl/ec.h:1003:28: note: declared here 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ authkeys-versal.cpp: In member function ‘uint8_t VersalKey::ParseECDSAOpenSSLKey(const string&)’: authkeys-versal.cpp:268:38: warning: ‘EC_KEY* PEM_read_ECPrivateKey(FILE*, EC_KEY**, int (*)(char*, int, int, void*), void*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 268 | eckey = PEM_read_ECPrivateKey(file, NULL, NULL, NULL); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from authkeys-versal.h:31, from authkeys-versal.cpp:26: /usr/include/openssl/pem.h:462:1: note: declared here 462 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, ECPrivateKey, EC_KEY) | ^~~~~~~~~~~~~~~~~~~~~~ authkeys-versal.cpp:269:30: warning: ‘int EC_KEY_check_key(const EC_KEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 269 | if (!EC_KEY_check_key(eckey)) | ~~~~~~~~~~~~~~~~^~~~~~~ In file included from /usr/include/openssl/x509.h:33, from /usr/include/openssl/pem.h:23, from authkeys-versal.h:31, from authkeys-versal.cpp:26: /usr/include/openssl/ec.h:1107:27: note: declared here 1107 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_check_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~ authkeys-versal.cpp:287:61: warning: ‘const EC_POINT* EC_KEY_get0_public_key(const EC_KEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 287 | const EC_POINT *pub = EC_KEY_get0_public_key(eckey); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ In file included from /usr/include/openssl/x509.h:33, from /usr/include/openssl/pem.h:23, from authkeys-versal.h:31, from authkeys-versal.cpp:26: /usr/include/openssl/ec.h:1062:39: note: declared here 1062 | OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~~~~ authkeys-versal.cpp:288:56: warning: ‘int EC_POINT_get_affine_coordinates_GFp(const EC_GROUP*, const EC_POINT*, BIGNUM*, BIGNUM*, BN_CTX*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 288 | if (EC_POINT_get_affine_coordinates_GFp(ecgroup, pub, X, Y, NULL)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:33, from /usr/include/openssl/pem.h:23, from authkeys-versal.h:31, from authkeys-versal.cpp:26: /usr/include/openssl/ec.h:659:27: note: declared here 659 | OSSL_DEPRECATEDIN_3_0 int EC_POINT_get_affine_coordinates_GFp | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ authkeys-versal.cpp:311:61: warning: ‘const EC_POINT* EC_KEY_get0_public_key(const EC_KEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 311 | const EC_POINT *pub = EC_KEY_get0_public_key(eckey); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ In file included from /usr/include/openssl/x509.h:33, from /usr/include/openssl/pem.h:23, from authkeys-versal.h:31, from authkeys-versal.cpp:26: /usr/include/openssl/ec.h:1062:39: note: declared here 1062 | OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~~~~ authkeys-versal.cpp:312:56: warning: ‘int EC_POINT_get_affine_coordinates_GFp(const EC_GROUP*, const EC_POINT*, BIGNUM*, BIGNUM*, BN_CTX*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 312 | if (EC_POINT_get_affine_coordinates_GFp(ecgroup, pub, X, Y, NULL)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:33, from /usr/include/openssl/pem.h:23, from authkeys-versal.h:31, from authkeys-versal.cpp:26: /usr/include/openssl/ec.h:659:27: note: declared here 659 | OSSL_DEPRECATEDIN_3_0 int EC_POINT_get_affine_coordinates_GFp | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ authkeys-versal.cpp:344:35: warning: ‘EC_KEY* PEM_read_EC_PUBKEY(FILE*, EC_KEY**, int (*)(char*, int, int, void*), void*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 344 | eckey = PEM_read_EC_PUBKEY(file, NULL, NULL, NULL); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from authkeys-versal.h:31, from authkeys-versal.cpp:26: /usr/include/openssl/pem.h:463:1: note: declared here 463 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, EC_PUBKEY, EC_KEY) | ^~~~~~~~~~~~~~~~~~~ authkeys-versal.cpp:345:30: warning: ‘int EC_KEY_check_key(const EC_KEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 345 | if (!EC_KEY_check_key(eckey)) | ~~~~~~~~~~~~~~~~^~~~~~~ In file included from /usr/include/openssl/x509.h:33, from /usr/include/openssl/pem.h:23, from authkeys-versal.h:31, from authkeys-versal.cpp:26: /usr/include/openssl/ec.h:1107:27: note: declared here 1107 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_check_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~ authkeys-versal.cpp:363:61: warning: ‘const EC_POINT* EC_KEY_get0_public_key(const EC_KEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 363 | const EC_POINT *pub = EC_KEY_get0_public_key(eckey); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ In file included from /usr/include/openssl/x509.h:33, from /usr/include/openssl/pem.h:23, from authkeys-versal.h:31, from authkeys-versal.cpp:26: /usr/include/openssl/ec.h:1062:39: note: declared here 1062 | OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~~~~ authkeys-versal.cpp:364:56: warning: ‘int EC_POINT_get_affine_coordinates_GFp(const EC_GROUP*, const EC_POINT*, BIGNUM*, BIGNUM*, BN_CTX*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 364 | if (EC_POINT_get_affine_coordinates_GFp(ecgroup, pub, X, Y, NULL)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:33, from /usr/include/openssl/pem.h:23, from authkeys-versal.h:31, from authkeys-versal.cpp:26: /usr/include/openssl/ec.h:659:27: note: declared here 659 | OSSL_DEPRECATEDIN_3_0 int EC_POINT_get_affine_coordinates_GFp | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ authkeys-versal.cpp:387:61: warning: ‘const EC_POINT* EC_KEY_get0_public_key(const EC_KEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 387 | const EC_POINT *pub = EC_KEY_get0_public_key(eckey); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ In file included from /usr/include/openssl/x509.h:33, from /usr/include/openssl/pem.h:23, from authkeys-versal.h:31, from authkeys-versal.cpp:26: /usr/include/openssl/ec.h:1062:39: note: declared here 1062 | OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~~~~ authkeys-versal.cpp:388:56: warning: ‘int EC_POINT_get_affine_coordinates_GFp(const EC_GROUP*, const EC_POINT*, BIGNUM*, BIGNUM*, BN_CTX*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 388 | if (EC_POINT_get_affine_coordinates_GFp(ecgroup, pub, X, Y, NULL)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:33, from /usr/include/openssl/pem.h:23, from authkeys-versal.h:31, from authkeys-versal.cpp:26: /usr/include/openssl/ec.h:659:27: note: declared here 659 | OSSL_DEPRECATEDIN_3_0 int EC_POINT_get_affine_coordinates_GFp | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ authkeys-versal.cpp: In member function ‘virtual void VersalKey::Parse(const string&, bool)’: authkeys-versal.cpp:442:39: warning: ‘RSA* PEM_read_RSA_PUBKEY(FILE*, RSA**, int (*)(char*, int, int, void*), void*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 442 | RSA* rsa = PEM_read_RSA_PUBKEY(f, NULL, NULL, NULL); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from authkeys-versal.h:31, from authkeys-versal.cpp:26: /usr/include/openssl/pem.h:449:1: note: declared here 449 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, RSA_PUBKEY, RSA) | ^~~~~~~~~~~~~~~~~~~ authkeys-versal.cpp:449:48: warning: ‘EC_KEY* PEM_read_EC_PUBKEY(FILE*, EC_KEY**, int (*)(char*, int, int, void*), void*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 449 | EC_KEY *eckeyLocal = PEM_read_EC_PUBKEY(f, NULL, NULL, NULL); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from authkeys-versal.h:31, from authkeys-versal.cpp:26: /usr/include/openssl/pem.h:463:1: note: declared here 463 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, EC_PUBKEY, EC_KEY) | ^~~~~~~~~~~~~~~~~~~ authkeys-versal.cpp:456:25: warning: ‘void RSA_free(RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 456 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authkeys-versal.h:29, from authkeys-versal.cpp:26: /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ authkeys.cpp: In member function ‘uint8_t Key::ParseOpenSSLKey(FILE*)’: authkeys.cpp:191:45: warning: ‘RSA* PEM_read_RSAPrivateKey(FILE*, RSA**, int (*)(char*, int, int, void*), void*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 191 | rsaInst.rsa = PEM_read_RSAPrivateKey(f, NULL, NULL, NULL); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from authkeys.h:32, from authkeys.cpp:25: /usr/include/openssl/pem.h:447:1: note: declared here 447 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, RSAPrivateKey, RSA) | ^~~~~~~~~~~~~~~~~~~~~~ In file included from authkeys.h:29, from authkeys.cpp:25: authkeys.cpp:198:42: warning: ‘const BIGNUM* RSA_get0_n(const RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 198 | keySzRd = BN_num_bytes(RSA_get0_n(rsaInst.rsa)); | ~~~~~~~~~~^~~~~~~~~~~~~ In file included from authkeys.h:30, from authkeys.cpp:25: /usr/include/openssl/rsa.h:232:37: note: declared here 232 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *RSA_get0_n(const RSA *d); | ^~~~~~~~~~ authkeys.cpp:207:29: warning: ‘const BIGNUM* RSA_get0_d(const RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 207 | memcpy(D, RSA_get0_d(rsaInst.rsa)->d, keySize); | ~~~~~~~~~~^~~~~~~~~~~~~ In file included from authkeys.h:30, from authkeys.cpp:25: /usr/include/openssl/rsa.h:234:37: note: declared here 234 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *RSA_get0_d(const RSA *d); | ^~~~~~~~~~ authkeys.cpp:214:42: warning: ‘RSA* PEM_read_RSA_PUBKEY(FILE*, RSA**, int (*)(char*, int, int, void*), void*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 214 | rsaInst.rsa = PEM_read_RSA_PUBKEY(f, NULL, NULL, NULL); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from authkeys.h:32, from authkeys.cpp:25: /usr/include/openssl/pem.h:449:1: note: declared here 449 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, RSA_PUBKEY, RSA) | ^~~~~~~~~~~~~~~~~~~ In file included from authkeys.h:29, from authkeys.cpp:25: authkeys.cpp:220:42: warning: ‘const BIGNUM* RSA_get0_n(const RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 220 | keySzRd = BN_num_bytes(RSA_get0_n(rsaInst.rsa)); | ~~~~~~~~~~^~~~~~~~~~~~~ In file included from authkeys.h:30, from authkeys.cpp:25: /usr/include/openssl/rsa.h:232:37: note: declared here 232 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *RSA_get0_n(const RSA *d); | ^~~~~~~~~~ authkeys.cpp:231:25: warning: ‘const BIGNUM* RSA_get0_n(const RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 231 | memcpy(N, RSA_get0_n(rsaInst.rsa)->d, keySize); | ~~~~~~~~~~^~~~~~~~~~~~~ In file included from authkeys.h:30, from authkeys.cpp:25: /usr/include/openssl/rsa.h:232:37: note: declared here 232 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *RSA_get0_n(const RSA *d); | ^~~~~~~~~~ authkeys.cpp:232:25: warning: ‘const BIGNUM* RSA_get0_e(const RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 232 | memcpy(E, RSA_get0_e(rsaInst.rsa)->d, sizeof(uint32_t)); | ~~~~~~~~~~^~~~~~~~~~~~~ In file included from authkeys.h:30, from authkeys.cpp:25: /usr/include/openssl/rsa.h:233:37: note: declared here 233 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *RSA_get0_e(const RSA *d); | ^~~~~~~~~~ authkeys.cpp: In static member function ‘static void Key::WriteRsaFile(std::string, const RSA*, bool, uint16_t)’: authkeys.cpp:404:32: warning: ‘const BIGNUM* RSA_get0_n(const RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 404 | memcpy(temp, RSA_get0_n(rsa)->d, keyLength); | ~~~~~~~~~~^~~~~ In file included from authkeys.h:30, from authkeys.cpp:25: /usr/include/openssl/rsa.h:232:37: note: declared here 232 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *RSA_get0_n(const RSA *d); | ^~~~~~~~~~ authkeys.cpp:415:49: warning: ‘const BIGNUM* RSA_get0_e(const RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 415 | uint32_t* temp_e = (uint32_t*)RSA_get0_e(rsa)->d; | ~~~~~~~~~~^~~~~ In file included from authkeys.h:30, from authkeys.cpp:25: /usr/include/openssl/rsa.h:233:37: note: declared here 233 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *RSA_get0_e(const RSA *d); | ^~~~~~~~~~ authkeys.cpp:424:36: warning: ‘const BIGNUM* RSA_get0_d(const RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 424 | memcpy(temp, RSA_get0_d(rsa)->d, keyLength); | ~~~~~~~~~~^~~~~ In file included from authkeys.h:30, from authkeys.cpp:25: /usr/include/openssl/rsa.h:234:37: note: declared here 234 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *RSA_get0_d(const RSA *d); | ^~~~~~~~~~ authkeys.cpp: In static member function ‘static void Key::WritePemFile(std::string, RSA*, EC_KEY*, bool)’: authkeys.cpp:459:40: warning: ‘int PEM_write_RSA_PUBKEY(FILE*, const RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 459 | if (PEM_write_RSA_PUBKEY(file, rsa)) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ In file included from authkeys.h:32, from authkeys.cpp:25: /usr/include/openssl/pem.h:449:1: note: declared here 449 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, RSA_PUBKEY, RSA) | ^~~~~~~~~~~~~~~~~~~ authkeys.cpp:466:43: warning: ‘int PEM_write_RSAPrivateKey(FILE*, const RSA*, const EVP_CIPHER*, const unsigned char*, int, int (*)(char*, int, int, void*), void*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 466 | if (PEM_write_RSAPrivateKey(file, rsa, NULL, NULL, 0, NULL, NULL)) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from authkeys.h:32, from authkeys.cpp:25: /usr/include/openssl/pem.h:447:1: note: declared here 447 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, RSAPrivateKey, RSA) | ^~~~~~~~~~~~~~~~~~~~~~ authkeys.cpp:477:40: warning: ‘int PEM_write_EC_PUBKEY(FILE*, const EC_KEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 477 | if (PEM_write_EC_PUBKEY(file, eckey)) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ In file included from authkeys.h:32, from authkeys.cpp:25: /usr/include/openssl/pem.h:463:1: note: declared here 463 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, EC_PUBKEY, EC_KEY) | ^~~~~~~~~~~~~~~~~~~ authkeys.cpp:484:43: warning: ‘int PEM_write_ECPrivateKey(FILE*, const EC_KEY*, const EVP_CIPHER*, const unsigned char*, int, int (*)(char*, int, int, void*), void*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 484 | if (PEM_write_ECPrivateKey(file, eckey, NULL, NULL, 0, NULL, NULL)) | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from authkeys.h:32, from authkeys.cpp:25: /usr/include/openssl/pem.h:462:1: note: declared here 462 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, ECPrivateKey, EC_KEY) | ^~~~~~~~~~~~~~~~~~~~~~ authkeys.cpp: In static member function ‘static void Key::GenerateRsaKeys(KeyGenerationStruct*)’: authkeys.cpp:516:36: warning: ‘RSA* RSA_generate_key(int, long unsigned int, void (*)(int, int, void*), void*)’ is deprecated: Since OpenSSL 0.9.8 [-Wdeprecated-declarations] 516 | if ((rsa = RSA_generate_key(keygen->keyLength * 8, RSA_F4, NULL, NULL)) == NULL) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from authkeys.h:30, from authkeys.cpp:25: /usr/include/openssl/rsa.h:253:30: note: declared here 253 | OSSL_DEPRECATEDIN_0_9_8 RSA *RSA_generate_key(int bits, unsigned long e, void | ^~~~~~~~~~~~~~~~ authkeys.cpp:552:36: warning: ‘RSA* RSA_generate_key(int, long unsigned int, void (*)(int, int, void*), void*)’ is deprecated: Since OpenSSL 0.9.8 [-Wdeprecated-declarations] 552 | if ((rsa = RSA_generate_key(keygen->keyLength * 8, RSA_F4, NULL, NULL)) == NULL) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from authkeys.h:30, from authkeys.cpp:25: /usr/include/openssl/rsa.h:253:30: note: declared here 253 | OSSL_DEPRECATEDIN_0_9_8 RSA *RSA_generate_key(int bits, unsigned long e, void | ^~~~~~~~~~~~~~~~ authkeys.cpp: In static member function ‘static void Key::GenerateEcdsaKeys(KeyGenerationStruct*)’: authkeys.cpp:601:41: warning: ‘EC_KEY* EC_KEY_new_by_curve_name(int)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 601 | eckey = EC_KEY_new_by_curve_name(NID_secp384r1); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:33, from /usr/include/openssl/pem.h:23, from authkeys.h:32, from authkeys.cpp:25: /usr/include/openssl/ec.h:998:31: note: declared here 998 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_by_curve_name(int nid); | ^~~~~~~~~~~~~~~~~~~~~~~~ authkeys.cpp:605:41: warning: ‘EC_KEY* EC_KEY_new_by_curve_name(int)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 605 | eckey = EC_KEY_new_by_curve_name(NID_secp521r1); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:33, from /usr/include/openssl/pem.h:23, from authkeys.h:32, from authkeys.cpp:25: /usr/include/openssl/ec.h:998:31: note: declared here 998 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_by_curve_name(int nid); | ^~~~~~~~~~~~~~~~~~~~~~~~ authkeys.cpp:615:32: warning: ‘int EC_KEY_generate_key(EC_KEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 615 | if((EC_KEY_generate_key(eckey)) == 0) | ~~~~~~~~~~~~~~~~~~~^~~~~~~ In file included from /usr/include/openssl/x509.h:33, from /usr/include/openssl/pem.h:23, from authkeys.h:32, from authkeys.cpp:25: /usr/include/openssl/ec.h:1101:27: note: declared here 1101 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_generate_key(EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~ authkeys.cpp:635:33: warning: ‘int EC_KEY_generate_key(EC_KEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 635 | if ((EC_KEY_generate_key(eckey)) == 0) | ~~~~~~~~~~~~~~~~~~~^~~~~~~ In file included from /usr/include/openssl/x509.h:33, from /usr/include/openssl/pem.h:23, from authkeys.h:32, from authkeys.cpp:25: /usr/include/openssl/ec.h:1101:27: note: declared here 1101 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_generate_key(EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~ In file included from authentication.h:43, from authentication-zynq.h:26, from authentication-zynq.cpp:27: hash.h: In member function ‘virtual void HashSha2::InitHash()’: hash.h:84:38: warning: ‘int SHA256_Init(SHA256_CTX*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | void InitHash(void) { SHA256_Init(&ctx); } | ~~~~~~~~~~~^~~~~~ In file included from /usr/include/openssl/x509.h:41, from /usr/include/openssl/pem.h:23, from authentication.h:35, from authentication-zynq.h:26, from authentication-zynq.cpp:27: /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ In file included from authentication-zynq.h:26, from authentication-zynq.cpp:27: authentication.h: In destructor ‘RSA_Class::~RSA_Class()’: authentication.h:94:21: warning: ‘void RSA_free(RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authentication.h:33, from authentication-zynq.h:26, from authentication-zynq.cpp:27: /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ In file included from authentication.h:43, from imageheadertable.h:28, from imageheadertable-versal.h:27, from bifoptions.h:28, from binary-versal.cpp:30: hash.h: In member function ‘virtual void HashSha2::InitHash()’: hash.h:84:38: warning: ‘int SHA256_Init(SHA256_CTX*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | void InitHash(void) { SHA256_Init(&ctx); } | ~~~~~~~~~~~^~~~~~ In file included from /usr/include/openssl/x509.h:41, from /usr/include/openssl/pem.h:23, from authentication.h:35, from imageheadertable.h:28, from imageheadertable-versal.h:27, from bifoptions.h:28, from binary-versal.cpp:30: /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ In file included from imageheadertable.h:28, from imageheadertable-versal.h:27, from bifoptions.h:28, from binary-versal.cpp:30: authentication.h: In destructor ‘RSA_Class::~RSA_Class()’: authentication.h:94:21: warning: ‘void RSA_free(RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authentication.h:33, from imageheadertable.h:28, from imageheadertable-versal.h:27, from bifoptions.h:28, from binary-versal.cpp:30: /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ In file included from authentication.h:43, from authentication.cpp:26: hash.h: In member function ‘virtual void HashSha2::InitHash()’: hash.h:84:38: warning: ‘int SHA256_Init(SHA256_CTX*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | void InitHash(void) { SHA256_Init(&ctx); } | ~~~~~~~~~~~^~~~~~ In file included from /usr/include/openssl/x509.h:41, from /usr/include/openssl/pem.h:23, from authentication.h:35, from authentication.cpp:26: /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ In file included from authentication.cpp:26: authentication.h: In destructor ‘RSA_Class::~RSA_Class()’: authentication.h:94:21: warning: ‘void RSA_free(RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authentication.h:33, from authentication.cpp:26: /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ g++ -c -g -O2 -ffile-prefix-map=/build/xilinx-bootgen-CVQlR6/xilinx-bootgen-2021.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. binary.cpp g++ -c -g -O2 -ffile-prefix-map=/build/xilinx-bootgen-CVQlR6/xilinx-bootgen-2021.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. binfile.cpp g++ -c -g -O2 -ffile-prefix-map=/build/xilinx-bootgen-CVQlR6/xilinx-bootgen-2021.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. bitutils-versal.cpp g++ -c -g -O2 -ffile-prefix-map=/build/xilinx-bootgen-CVQlR6/xilinx-bootgen-2021.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. bitutils.cpp g++ -c -g -O2 -ffile-prefix-map=/build/xilinx-bootgen-CVQlR6/xilinx-bootgen-2021.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. bootheader-versal.cpp In file included from authentication.h:43, from imageheadertable.h:28, from imageheadertable-versal.h:27, from bifoptions.h:28, from binary.cpp:30: hash.h: In member function ‘virtual void HashSha2::InitHash()’: hash.h:84:38: warning: ‘int SHA256_Init(SHA256_CTX*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | void InitHash(void) { SHA256_Init(&ctx); } | ~~~~~~~~~~~^~~~~~ In file included from /usr/include/openssl/x509.h:41, from /usr/include/openssl/pem.h:23, from authentication.h:35, from imageheadertable.h:28, from imageheadertable-versal.h:27, from bifoptions.h:28, from binary.cpp:30: /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ In file included from imageheadertable.h:28, from imageheadertable-versal.h:27, from bifoptions.h:28, from binary.cpp:30: authentication.h: In destructor ‘RSA_Class::~RSA_Class()’: authentication.h:94:21: warning: ‘void RSA_free(RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authentication.h:33, from imageheadertable.h:28, from imageheadertable-versal.h:27, from bifoptions.h:28, from binary.cpp:30: /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ g++ -c -g -O2 -ffile-prefix-map=/build/xilinx-bootgen-CVQlR6/xilinx-bootgen-2021.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. bootheader-zynq.cpp g++ -c -g -O2 -ffile-prefix-map=/build/xilinx-bootgen-CVQlR6/xilinx-bootgen-2021.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. bootheader-zynqmp.cpp g++ -c -g -O2 -ffile-prefix-map=/build/xilinx-bootgen-CVQlR6/xilinx-bootgen-2021.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. bootheader.cpp g++ -c -g -O2 -ffile-prefix-map=/build/xilinx-bootgen-CVQlR6/xilinx-bootgen-2021.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. bootimage-versal.cpp In file included from authentication.h:43, from imageheadertable.h:28, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from bitutils.h:32, from bitutils-versal.h:26, from bitutils-versal.cpp:26: hash.h: In member function ‘virtual void HashSha2::InitHash()’: hash.h:84:38: warning: ‘int SHA256_Init(SHA256_CTX*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | void InitHash(void) { SHA256_Init(&ctx); } | ~~~~~~~~~~~^~~~~~ In file included from /usr/include/openssl/x509.h:41, from /usr/include/openssl/pem.h:23, from authkeys.h:32, from bootimage.h:34, from bitutils.h:32, from bitutils-versal.h:26, from bitutils-versal.cpp:26: /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ In file included from imageheadertable.h:28, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from bitutils.h:32, from bitutils-versal.h:26, from bitutils-versal.cpp:26: authentication.h: In destructor ‘RSA_Class::~RSA_Class()’: authentication.h:94:21: warning: ‘void RSA_free(RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authkeys.h:30, from bootimage.h:34, from bitutils.h:32, from bitutils-versal.h:26, from bitutils-versal.cpp:26: /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ g++ -c -g -O2 -ffile-prefix-map=/build/xilinx-bootgen-CVQlR6/xilinx-bootgen-2021.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. bootimage-zynq.cpp In file included from authentication.h:43, from imageheadertable.h:28, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from bitutils.h:32, from bitutils.cpp:27: hash.h: In member function ‘virtual void HashSha2::InitHash()’: hash.h:84:38: warning: ‘int SHA256_Init(SHA256_CTX*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | void InitHash(void) { SHA256_Init(&ctx); } | ~~~~~~~~~~~^~~~~~ In file included from /usr/include/openssl/x509.h:41, from /usr/include/openssl/pem.h:23, from authkeys.h:32, from bootimage.h:34, from bitutils.h:32, from bitutils.cpp:27: /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ In file included from imageheadertable.h:28, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from bitutils.h:32, from bitutils.cpp:27: authentication.h: In destructor ‘RSA_Class::~RSA_Class()’: authentication.h:94:21: warning: ‘void RSA_free(RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authkeys.h:30, from bootimage.h:34, from bitutils.h:32, from bitutils.cpp:27: /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ In file included from authentication.h:43, from imageheadertable.h:28, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from bootimage-versal.h:27, from bootimage-versal.cpp:22: hash.h: In member function ‘virtual void HashSha2::InitHash()’: hash.h:84:38: warning: ‘int SHA256_Init(SHA256_CTX*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | void InitHash(void) { SHA256_Init(&ctx); } | ~~~~~~~~~~~^~~~~~ In file included from /usr/include/openssl/x509.h:41, from /usr/include/openssl/pem.h:23, from authkeys.h:32, from bootimage.h:34, from bootimage-versal.h:27, from bootimage-versal.cpp:22: /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ In file included from imageheadertable.h:28, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from bootimage-versal.h:27, from bootimage-versal.cpp:22: authentication.h: In destructor ‘RSA_Class::~RSA_Class()’: authentication.h:94:21: warning: ‘void RSA_free(RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authkeys.h:30, from bootimage.h:34, from bootimage-versal.h:27, from bootimage-versal.cpp:22: /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ bootimage-versal.cpp: In member function ‘virtual void VersalBootImage::Add(BifOptions*)’: bootimage-versal.cpp:1228:47: warning: ‘RSA* PEM_read_RSA_PUBKEY(FILE*, RSA**, int (*)(char*, int, int, void*), void*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1228 | RSA* rsa = PEM_read_RSA_PUBKEY(f, NULL, NULL, NULL); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from authkeys.h:32, from bootimage.h:34, from bootimage-versal.h:27, from bootimage-versal.cpp:22: /usr/include/openssl/pem.h:449:1: note: declared here 449 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, RSA_PUBKEY, RSA) | ^~~~~~~~~~~~~~~~~~~ bootimage-versal.cpp:1236:56: warning: ‘EC_KEY* PEM_read_EC_PUBKEY(FILE*, EC_KEY**, int (*)(char*, int, int, void*), void*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1236 | EC_KEY *eckeyLocal = PEM_read_EC_PUBKEY(f, NULL, NULL, NULL); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from authkeys.h:32, from bootimage.h:34, from bootimage-versal.h:27, from bootimage-versal.cpp:22: /usr/include/openssl/pem.h:463:1: note: declared here 463 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, EC_PUBKEY, EC_KEY) | ^~~~~~~~~~~~~~~~~~~ bootimage-versal.cpp: In member function ‘virtual void VersalBootImage::OutputOptionalEfuseHash()’: bootimage-versal.cpp:1639:47: warning: ‘RSA* PEM_read_RSA_PUBKEY(FILE*, RSA**, int (*)(char*, int, int, void*), void*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1639 | RSA* rsa = PEM_read_RSA_PUBKEY(f, NULL, NULL, NULL); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from authkeys.h:32, from bootimage.h:34, from bootimage-versal.h:27, from bootimage-versal.cpp:22: /usr/include/openssl/pem.h:449:1: note: declared here 449 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, RSA_PUBKEY, RSA) | ^~~~~~~~~~~~~~~~~~~ bootimage-versal.cpp:1647:56: warning: ‘EC_KEY* PEM_read_EC_PUBKEY(FILE*, EC_KEY**, int (*)(char*, int, int, void*), void*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1647 | EC_KEY *eckeyLocal = PEM_read_EC_PUBKEY(f, NULL, NULL, NULL); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from authkeys.h:32, from bootimage.h:34, from bootimage-versal.h:27, from bootimage-versal.cpp:22: /usr/include/openssl/pem.h:463:1: note: declared here 463 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, EC_PUBKEY, EC_KEY) | ^~~~~~~~~~~~~~~~~~~ bootimage-versal.cpp:1664:60: warning: ‘EC_KEY* PEM_read_EC_PUBKEY(FILE*, EC_KEY**, int (*)(char*, int, int, void*), void*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1664 | EC_KEY *eckeyLocal = PEM_read_EC_PUBKEY(f, NULL, NULL, NULL); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from authkeys.h:32, from bootimage.h:34, from bootimage-versal.h:27, from bootimage-versal.cpp:22: /usr/include/openssl/pem.h:463:1: note: declared here 463 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, EC_PUBKEY, EC_KEY) | ^~~~~~~~~~~~~~~~~~~ bootimage-versal.cpp:1665:64: warning: ‘const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1665 | const EC_GROUP* ecgroup = EC_KEY_get0_group(eckeyLocal); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:33, from /usr/include/openssl/pem.h:23, from authkeys.h:32, from bootimage.h:34, from bootimage-versal.h:27, from bootimage-versal.cpp:22: /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ bootimage-versal.cpp:1712:63: warning: ‘EC_KEY* PEM_read_ECPrivateKey(FILE*, EC_KEY**, int (*)(char*, int, int, void*), void*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1712 | EC_KEY *eckeyLocal = PEM_read_ECPrivateKey(f, NULL, NULL, NULL); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from authkeys.h:32, from bootimage.h:34, from bootimage-versal.h:27, from bootimage-versal.cpp:22: /usr/include/openssl/pem.h:462:1: note: declared here 462 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, ECPrivateKey, EC_KEY) | ^~~~~~~~~~~~~~~~~~~~~~ bootimage-versal.cpp:1713:64: warning: ‘const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1713 | const EC_GROUP* ecgroup = EC_KEY_get0_group(eckeyLocal); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:33, from /usr/include/openssl/pem.h:23, from authkeys.h:32, from bootimage.h:34, from bootimage-versal.h:27, from bootimage-versal.cpp:22: /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ g++ -c -g -O2 -ffile-prefix-map=/build/xilinx-bootgen-CVQlR6/xilinx-bootgen-2021.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. bootimage-zynqmp.cpp In file included from authentication.h:43, from imageheadertable.h:28, from bootheader.h:28, from bootheader-versal.h:28, from bootheader-versal.cpp:23: hash.h: In member function ‘virtual void HashSha2::InitHash()’: hash.h:84:38: warning: ‘int SHA256_Init(SHA256_CTX*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | void InitHash(void) { SHA256_Init(&ctx); } | ~~~~~~~~~~~^~~~~~ In file included from /usr/include/openssl/x509.h:41, from /usr/include/openssl/pem.h:23, from authentication.h:35, from imageheadertable.h:28, from bootheader.h:28, from bootheader-versal.h:28, from bootheader-versal.cpp:23: /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ In file included from imageheadertable.h:28, from bootheader.h:28, from bootheader-versal.h:28, from bootheader-versal.cpp:23: authentication.h: In destructor ‘RSA_Class::~RSA_Class()’: authentication.h:94:21: warning: ‘void RSA_free(RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authentication.h:33, from imageheadertable.h:28, from bootheader.h:28, from bootheader-versal.h:28, from bootheader-versal.cpp:23: /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ In file included from authentication.h:43, from imageheadertable.h:28, from bootheader.h:28, from bootheader-zynq.h:27, from bootheader-zynq.cpp:22: hash.h: In member function ‘virtual void HashSha2::InitHash()’: hash.h:84:38: warning: ‘int SHA256_Init(SHA256_CTX*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | void InitHash(void) { SHA256_Init(&ctx); } | ~~~~~~~~~~~^~~~~~ In file included from /usr/include/openssl/x509.h:41, from /usr/include/openssl/pem.h:23, from authentication.h:35, from imageheadertable.h:28, from bootheader.h:28, from bootheader-zynq.h:27, from bootheader-zynq.cpp:22: /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ In file included from imageheadertable.h:28, from bootheader.h:28, from bootheader-zynq.h:27, from bootheader-zynq.cpp:22: authentication.h: In destructor ‘RSA_Class::~RSA_Class()’: authentication.h:94:21: warning: ‘void RSA_free(RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authentication.h:33, from imageheadertable.h:28, from bootheader.h:28, from bootheader-zynq.h:27, from bootheader-zynq.cpp:22: /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ In file included from authentication.h:43, from imageheadertable.h:28, from bootheader.h:28, from bootheader-zynqmp.h:28, from bootheader-zynqmp.cpp:22: hash.h: In member function ‘virtual void HashSha2::InitHash()’: hash.h:84:38: warning: ‘int SHA256_Init(SHA256_CTX*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | void InitHash(void) { SHA256_Init(&ctx); } | ~~~~~~~~~~~^~~~~~ In file included from /usr/include/openssl/x509.h:41, from /usr/include/openssl/pem.h:23, from authentication.h:35, from imageheadertable.h:28, from bootheader.h:28, from bootheader-zynqmp.h:28, from bootheader-zynqmp.cpp:22: /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ In file included from imageheadertable.h:28, from bootheader.h:28, from bootheader-zynqmp.h:28, from bootheader-zynqmp.cpp:22: authentication.h: In destructor ‘RSA_Class::~RSA_Class()’: authentication.h:94:21: warning: ‘void RSA_free(RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authentication.h:33, from imageheadertable.h:28, from bootheader.h:28, from bootheader-zynqmp.h:28, from bootheader-zynqmp.cpp:22: /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ In file included from authentication.h:43, from imageheadertable.h:28, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from bootheader.cpp:22: hash.h: In member function ‘virtual void HashSha2::InitHash()’: hash.h:84:38: warning: ‘int SHA256_Init(SHA256_CTX*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | void InitHash(void) { SHA256_Init(&ctx); } | ~~~~~~~~~~~^~~~~~ In file included from /usr/include/openssl/x509.h:41, from /usr/include/openssl/pem.h:23, from authkeys.h:32, from bootimage.h:34, from bootheader.cpp:22: /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ In file included from imageheadertable.h:28, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from bootheader.cpp:22: authentication.h: In destructor ‘RSA_Class::~RSA_Class()’: authentication.h:94:21: warning: ‘void RSA_free(RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authkeys.h:30, from bootimage.h:34, from bootheader.cpp:22: /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ g++ -c -g -O2 -ffile-prefix-map=/build/xilinx-bootgen-CVQlR6/xilinx-bootgen-2021.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. bootimage.cpp g++ -c -g -O2 -ffile-prefix-map=/build/xilinx-bootgen-CVQlR6/xilinx-bootgen-2021.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. checksum-versal.cpp In file included from authentication.h:43, from imageheadertable.h:28, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from bootimage-zynq.h:28, from bootimage-zynq.cpp:22: hash.h: In member function ‘virtual void HashSha2::InitHash()’: hash.h:84:38: warning: ‘int SHA256_Init(SHA256_CTX*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | void InitHash(void) { SHA256_Init(&ctx); } | ~~~~~~~~~~~^~~~~~ In file included from /usr/include/openssl/x509.h:41, from /usr/include/openssl/pem.h:23, from authkeys.h:32, from bootimage.h:34, from bootimage-zynq.h:28, from bootimage-zynq.cpp:22: /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ In file included from imageheadertable.h:28, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from bootimage-zynq.h:28, from bootimage-zynq.cpp:22: authentication.h: In destructor ‘RSA_Class::~RSA_Class()’: authentication.h:94:21: warning: ‘void RSA_free(RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authkeys.h:30, from bootimage.h:34, from bootimage-zynq.h:28, from bootimage-zynq.cpp:22: /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ g++ -c -g -O2 -ffile-prefix-map=/build/xilinx-bootgen-CVQlR6/xilinx-bootgen-2021.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. checksum.cpp g++ -c -g -O2 -ffile-prefix-map=/build/xilinx-bootgen-CVQlR6/xilinx-bootgen-2021.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. cmdoptions.tab.cpp g++ -c -g -O2 -ffile-prefix-map=/build/xilinx-bootgen-CVQlR6/xilinx-bootgen-2021.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. cmdoptions.yy.cpp In file included from authentication.h:43, from imageheadertable.h:28, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from bootimage-zynqmp.h:28, from bootimage-zynqmp.cpp:22: hash.h: In member function ‘virtual void HashSha2::InitHash()’: hash.h:84:38: warning: ‘int SHA256_Init(SHA256_CTX*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | void InitHash(void) { SHA256_Init(&ctx); } | ~~~~~~~~~~~^~~~~~ In file included from /usr/include/openssl/x509.h:41, from /usr/include/openssl/pem.h:23, from authkeys.h:32, from bootimage.h:34, from bootimage-zynqmp.h:28, from bootimage-zynqmp.cpp:22: /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ In file included from imageheadertable.h:28, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from bootimage-zynqmp.h:28, from bootimage-zynqmp.cpp:22: authentication.h: In destructor ‘RSA_Class::~RSA_Class()’: authentication.h:94:21: warning: ‘void RSA_free(RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authkeys.h:30, from bootimage.h:34, from bootimage-zynqmp.h:28, from bootimage-zynqmp.cpp:22: /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ In file included from authentication.h:43, from imageheadertable.h:28, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from bootimage.cpp:26: hash.h: In member function ‘virtual void HashSha2::InitHash()’: hash.h:84:38: warning: ‘int SHA256_Init(SHA256_CTX*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | void InitHash(void) { SHA256_Init(&ctx); } | ~~~~~~~~~~~^~~~~~ In file included from /usr/include/openssl/x509.h:41, from /usr/include/openssl/pem.h:23, from authkeys.h:32, from bootimage.h:34, from bootimage.cpp:26: /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ In file included from imageheadertable.h:28, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from bootimage.cpp:26: authentication.h: In destructor ‘RSA_Class::~RSA_Class()’: authentication.h:94:21: warning: ‘void RSA_free(RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authkeys.h:30, from bootimage.h:34, from bootimage.cpp:26: /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ In file included from authentication.h:43, from imageheadertable.h:28, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from ../../s/cmdoptions.y:39, from cmdoptionsscanner.h:40, from ../../s/cmdoptions.y:51: hash.h: In member function ‘virtual void HashSha2::InitHash()’: hash.h:84:38: warning: ‘int SHA256_Init(SHA256_CTX*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | void InitHash(void) { SHA256_Init(&ctx); } | ~~~~~~~~~~~^~~~~~ In file included from /usr/include/openssl/x509.h:41, from /usr/include/openssl/pem.h:23, from authkeys.h:32, from bootimage.h:34, from ../../s/cmdoptions.y:39, from cmdoptionsscanner.h:40, from ../../s/cmdoptions.y:51: /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ In file included from imageheadertable.h:28, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from ../../s/cmdoptions.y:39, from cmdoptionsscanner.h:40, from ../../s/cmdoptions.y:51: authentication.h: In destructor ‘RSA_Class::~RSA_Class()’: authentication.h:94:21: warning: ‘void RSA_free(RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authkeys.h:30, from bootimage.h:34, from ../../s/cmdoptions.y:39, from cmdoptionsscanner.h:40, from ../../s/cmdoptions.y:51: /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ g++ -c -g -O2 -ffile-prefix-map=/build/xilinx-bootgen-CVQlR6/xilinx-bootgen-2021.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. elftools.cpp In file included from authentication.h:43, from imageheadertable.h:28, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from checksum.cpp:22: hash.h: In member function ‘virtual void HashSha2::InitHash()’: hash.h:84:38: warning: ‘int SHA256_Init(SHA256_CTX*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | void InitHash(void) { SHA256_Init(&ctx); } | ~~~~~~~~~~~^~~~~~ In file included from /usr/include/openssl/x509.h:41, from /usr/include/openssl/pem.h:23, from authkeys.h:32, from bootimage.h:34, from checksum.cpp:22: /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ In file included from imageheadertable.h:28, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from checksum.cpp:22: authentication.h: In destructor ‘RSA_Class::~RSA_Class()’: authentication.h:94:21: warning: ‘void RSA_free(RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authkeys.h:30, from bootimage.h:34, from checksum.cpp:22: /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ checksum.cpp: In member function ‘virtual void MD5ChecksumContext::Link(bool, const uint8_t*, Binary::Length_t, Section*)’: checksum.cpp:58:8: warning: ‘unsigned char* MD5(const unsigned char*, size_t, unsigned char*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 58 | MD5( data, length, cksum_data); | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from checksum.cpp:32: /usr/include/openssl/md5.h:52:38: note: declared here 52 | OSSL_DEPRECATEDIN_3_0 unsigned char *MD5(const unsigned char *d, size_t n, | ^~~ In file included from authentication.h:43, from imageheadertable.h:28, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from checksum-versal.h:26, from checksum-versal.cpp:17: hash.h: In member function ‘virtual void HashSha2::InitHash()’: hash.h:84:38: warning: ‘int SHA256_Init(SHA256_CTX*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | void InitHash(void) { SHA256_Init(&ctx); } | ~~~~~~~~~~~^~~~~~ In file included from /usr/include/openssl/x509.h:41, from /usr/include/openssl/pem.h:23, from authkeys.h:32, from bootimage.h:34, from checksum-versal.h:26, from checksum-versal.cpp:17: /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ In file included from imageheadertable.h:28, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from checksum-versal.h:26, from checksum-versal.cpp:17: authentication.h: In destructor ‘RSA_Class::~RSA_Class()’: authentication.h:94:21: warning: ‘void RSA_free(RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authkeys.h:30, from bootimage.h:34, from checksum-versal.h:26, from checksum-versal.cpp:17: /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ In file included from authentication.h:43, from imageheadertable.h:28, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from ../../s/cmdoptions.y:39, from cmdoptionsscanner.h:40, from ../s/cmdoptions.l:23: hash.h: In member function ‘virtual void HashSha2::InitHash()’: hash.h:84:38: warning: ‘int SHA256_Init(SHA256_CTX*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | void InitHash(void) { SHA256_Init(&ctx); } | ~~~~~~~~~~~^~~~~~ In file included from /usr/include/openssl/x509.h:41, from /usr/include/openssl/pem.h:23, from authkeys.h:32, from bootimage.h:34, from ../../s/cmdoptions.y:39, from cmdoptionsscanner.h:40, from ../s/cmdoptions.l:23: /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ In file included from imageheadertable.h:28, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from ../../s/cmdoptions.y:39, from cmdoptionsscanner.h:40, from ../s/cmdoptions.l:23: authentication.h: In destructor ‘RSA_Class::~RSA_Class()’: authentication.h:94:21: warning: ‘void RSA_free(RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authkeys.h:30, from bootimage.h:34, from ../../s/cmdoptions.y:39, from cmdoptionsscanner.h:40, from ../s/cmdoptions.l:23: /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ ../bisonflex/cmdoptions.yy.cpp: In member function ‘virtual int CO::FlexScanner::yylex()’: ../bisonflex/cmdoptions.yy.cpp:1309:25: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] ../bisonflex/cmdoptions.yy.cpp:1310:17: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] ../bisonflex/cmdoptions.yy.cpp:1310:25: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] ../bisonflex/cmdoptions.yy.cpp:1311:15: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] ../bisonflex/cmdoptions.yy.cpp:1377:21: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] ../bisonflex/cmdoptions.yy.cpp: In member function ‘int cmdoptionsFlexLexer::yy_get_next_buffer()’: ../bisonflex/cmdoptions.yy.cpp:2583:21: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] ../bisonflex/cmdoptions.yy.cpp:2584:17: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] ../bisonflex/cmdoptions.yy.cpp:2585:15: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] ../bisonflex/cmdoptions.yy.cpp:2585:31: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] ../bisonflex/cmdoptions.yy.cpp: In member function ‘yy_state_type cmdoptionsFlexLexer::yy_get_previous_state()’: ../bisonflex/cmdoptions.yy.cpp:2723:25: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] ../bisonflex/cmdoptions.yy.cpp:2724:17: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] ../bisonflex/cmdoptions.yy.cpp:2732:20: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] ../bisonflex/cmdoptions.yy.cpp: In member function ‘yy_state_type cmdoptionsFlexLexer::yy_try_NUL_trans(yy_state_type)’: ../bisonflex/cmdoptions.yy.cpp:2761:15: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] ../bisonflex/cmdoptions.yy.cpp:2763:17: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] ../bisonflex/cmdoptions.yy.cpp:2765:19: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] ../bisonflex/cmdoptions.yy.cpp: At global scope: ../bisonflex/cmdoptions.yy.cpp:2786:54: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] ../bisonflex/cmdoptions.yy.cpp: In member function ‘void cmdoptionsFlexLexer::yyunput(int, char*)’: ../bisonflex/cmdoptions.yy.cpp:2789:17: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] ../bisonflex/cmdoptions.yy.cpp:2799:16: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] ../bisonflex/cmdoptions.yy.cpp:2800:18: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] ../bisonflex/cmdoptions.yy.cpp:2802:18: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] g++ -c -g -O2 -ffile-prefix-map=/build/xilinx-bootgen-CVQlR6/xilinx-bootgen-2021.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. encryption-versal.cpp g++ -c -g -O2 -ffile-prefix-map=/build/xilinx-bootgen-CVQlR6/xilinx-bootgen-2021.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. encryption-zynq.cpp In file included from authentication.h:43, from imageheadertable.h:28, from elftools.cpp:25: hash.h: In member function ‘virtual void HashSha2::InitHash()’: hash.h:84:38: warning: ‘int SHA256_Init(SHA256_CTX*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | void InitHash(void) { SHA256_Init(&ctx); } | ~~~~~~~~~~~^~~~~~ In file included from /usr/include/openssl/x509.h:41, from /usr/include/openssl/pem.h:23, from authentication.h:35, from imageheadertable.h:28, from elftools.cpp:25: /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ In file included from imageheadertable.h:28, from elftools.cpp:25: authentication.h: In destructor ‘RSA_Class::~RSA_Class()’: authentication.h:94:21: warning: ‘void RSA_free(RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authentication.h:33, from imageheadertable.h:28, from elftools.cpp:25: /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ g++ -c -g -O2 -ffile-prefix-map=/build/xilinx-bootgen-CVQlR6/xilinx-bootgen-2021.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. encryption-zynqmp.cpp g++ -c -g -O2 -ffile-prefix-map=/build/xilinx-bootgen-CVQlR6/xilinx-bootgen-2021.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. encryption.cpp g++ -c -g -O2 -ffile-prefix-map=/build/xilinx-bootgen-CVQlR6/xilinx-bootgen-2021.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. encryptutils.cpp In file included from authentication.h:43, from imageheadertable.h:28, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from encryption-versal.cpp:23: hash.h: In member function ‘virtual void HashSha2::InitHash()’: hash.h:84:38: warning: ‘int SHA256_Init(SHA256_CTX*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | void InitHash(void) { SHA256_Init(&ctx); } | ~~~~~~~~~~~^~~~~~ In file included from /usr/include/openssl/x509.h:41, from /usr/include/openssl/pem.h:23, from authkeys.h:32, from bootimage.h:34, from encryption-versal.cpp:23: /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ In file included from imageheadertable.h:28, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from encryption-versal.cpp:23: authentication.h: In destructor ‘RSA_Class::~RSA_Class()’: authentication.h:94:21: warning: ‘void RSA_free(RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authkeys.h:30, from bootimage.h:34, from encryption-versal.cpp:23: /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ g++ -c -g -O2 -ffile-prefix-map=/build/xilinx-bootgen-CVQlR6/xilinx-bootgen-2021.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. hash.cpp In file included from hash.cpp:22: hash.h: In member function ‘virtual void HashSha2::InitHash()’: hash.h:84:38: warning: ‘int SHA256_Init(SHA256_CTX*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | void InitHash(void) { SHA256_Init(&ctx); } | ~~~~~~~~~~~^~~~~~ In file included from hash.h:27, from hash.cpp:22: /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ hash.cpp: In member function ‘virtual uint8_t HashSha2::UpdateHash(const void*, size_t)’: hash.cpp:39:38: warning: ‘int SHA256_Update(SHA256_CTX*, const void*, size_t)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 39 | uint8_t errorCode = SHA256_Update(&ctx, data, length); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ In file included from hash.h:27, from hash.cpp:22: /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ hash.cpp: In member function ‘virtual uint8_t HashSha2::FinalHash(uint8_t*)’: hash.cpp:48:37: warning: ‘int SHA256_Final(unsigned char*, SHA256_CTX*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 48 | uint8_t errorCode = SHA256_Final(hashout, &ctx); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~ In file included from hash.h:27, from hash.cpp:22: /usr/include/openssl/sha.h:76:27: note: declared here 76 | OSSL_DEPRECATEDIN_3_0 int SHA256_Final(unsigned char *md, SHA256_CTX *c); | ^~~~~~~~~~~~ g++ -c -g -O2 -ffile-prefix-map=/build/xilinx-bootgen-CVQlR6/xilinx-bootgen-2021.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. imageheadertable-versal.cpp g++ -c -g -O2 -ffile-prefix-map=/build/xilinx-bootgen-CVQlR6/xilinx-bootgen-2021.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. imageheadertable-zynq.cpp In file included from authentication.h:43, from imageheadertable.h:28, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from encryption-zynq.cpp:36: hash.h: In member function ‘virtual void HashSha2::InitHash()’: hash.h:84:38: warning: ‘int SHA256_Init(SHA256_CTX*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | void InitHash(void) { SHA256_Init(&ctx); } | ~~~~~~~~~~~^~~~~~ In file included from /usr/include/openssl/x509.h:41, from /usr/include/openssl/pem.h:23, from authkeys.h:32, from bootimage.h:34, from encryption-zynq.cpp:36: /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ In file included from imageheadertable.h:28, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from encryption-zynq.cpp:36: authentication.h: In destructor ‘RSA_Class::~RSA_Class()’: authentication.h:94:21: warning: ‘void RSA_free(RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authkeys.h:30, from bootimage.h:34, from encryption-zynq.cpp:36: /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ In file included from authentication.h:43, from imageheadertable.h:28, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from encryption-zynqmp.cpp:23: hash.h: In member function ‘virtual void HashSha2::InitHash()’: hash.h:84:38: warning: ‘int SHA256_Init(SHA256_CTX*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | void InitHash(void) { SHA256_Init(&ctx); } | ~~~~~~~~~~~^~~~~~ In file included from /usr/include/openssl/x509.h:41, from /usr/include/openssl/pem.h:23, from authkeys.h:32, from bootimage.h:34, from encryption-zynqmp.cpp:23: /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ In file included from imageheadertable.h:28, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from encryption-zynqmp.cpp:23: authentication.h: In destructor ‘RSA_Class::~RSA_Class()’: authentication.h:94:21: warning: ‘void RSA_free(RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authkeys.h:30, from bootimage.h:34, from encryption-zynqmp.cpp:23: /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ g++ -c -g -O2 -ffile-prefix-map=/build/xilinx-bootgen-CVQlR6/xilinx-bootgen-2021.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. imageheadertable-zynqmp.cpp In file included from authentication.h:43, from imageheadertable.h:28, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from encryption.cpp:23: hash.h: In member function ‘virtual void HashSha2::InitHash()’: hash.h:84:38: warning: ‘int SHA256_Init(SHA256_CTX*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | void InitHash(void) { SHA256_Init(&ctx); } | ~~~~~~~~~~~^~~~~~ In file included from /usr/include/openssl/x509.h:41, from /usr/include/openssl/pem.h:23, from authkeys.h:32, from bootimage.h:34, from encryption.cpp:23: /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ In file included from imageheadertable.h:28, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from encryption.cpp:23: authentication.h: In destructor ‘RSA_Class::~RSA_Class()’: authentication.h:94:21: warning: ‘void RSA_free(RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authkeys.h:30, from bootimage.h:34, from encryption.cpp:23: /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ In file included from authentication.h:43, from imageheadertable.h:28, from imageheadertable-versal.h:27, from imageheadertable-versal.cpp:22: hash.h: In member function ‘virtual void HashSha2::InitHash()’: hash.h:84:38: warning: ‘int SHA256_Init(SHA256_CTX*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | void InitHash(void) { SHA256_Init(&ctx); } | ~~~~~~~~~~~^~~~~~ In file included from /usr/include/openssl/x509.h:41, from /usr/include/openssl/pem.h:23, from authentication.h:35, from imageheadertable.h:28, from imageheadertable-versal.h:27, from imageheadertable-versal.cpp:22: /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ In file included from imageheadertable.h:28, from imageheadertable-versal.h:27, from imageheadertable-versal.cpp:22: authentication.h: In destructor ‘RSA_Class::~RSA_Class()’: authentication.h:94:21: warning: ‘void RSA_free(RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authentication.h:33, from imageheadertable.h:28, from imageheadertable-versal.h:27, from imageheadertable-versal.cpp:22: /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ g++ -c -g -O2 -ffile-prefix-map=/build/xilinx-bootgen-CVQlR6/xilinx-bootgen-2021.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. imageheadertable.cpp g++ -c -g -O2 -ffile-prefix-map=/build/xilinx-bootgen-CVQlR6/xilinx-bootgen-2021.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. kdf.cpp g++ -c -g -O2 -ffile-prefix-map=/build/xilinx-bootgen-CVQlR6/xilinx-bootgen-2021.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. logger.cpp In file included from authentication.h:43, from imageheadertable.h:28, from imageheadertable-zynqmp.h:27, from imageheadertable-zynqmp.cpp:22: hash.h: In member function ‘virtual void HashSha2::InitHash()’: hash.h:84:38: warning: ‘int SHA256_Init(SHA256_CTX*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | void InitHash(void) { SHA256_Init(&ctx); } | ~~~~~~~~~~~^~~~~~ In file included from /usr/include/openssl/x509.h:41, from /usr/include/openssl/pem.h:23, from authentication.h:35, from imageheadertable.h:28, from imageheadertable-zynqmp.h:27, from imageheadertable-zynqmp.cpp:22: /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ In file included from imageheadertable.h:28, from imageheadertable-zynqmp.h:27, from imageheadertable-zynqmp.cpp:22: authentication.h: In destructor ‘RSA_Class::~RSA_Class()’: authentication.h:94:21: warning: ‘void RSA_free(RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authentication.h:33, from imageheadertable.h:28, from imageheadertable-zynqmp.h:27, from imageheadertable-zynqmp.cpp:22: /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ In file included from authentication.h:43, from imageheadertable.h:28, from imageheadertable-zynq.h:27, from imageheadertable-zynq.cpp:22: hash.h: In member function ‘virtual void HashSha2::InitHash()’: hash.h:84:38: warning: ‘int SHA256_Init(SHA256_CTX*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | void InitHash(void) { SHA256_Init(&ctx); } | ~~~~~~~~~~~^~~~~~ In file included from /usr/include/openssl/x509.h:41, from /usr/include/openssl/pem.h:23, from authentication.h:35, from imageheadertable.h:28, from imageheadertable-zynq.h:27, from imageheadertable-zynq.cpp:22: /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ In file included from imageheadertable.h:28, from imageheadertable-zynq.h:27, from imageheadertable-zynq.cpp:22: authentication.h: In destructor ‘RSA_Class::~RSA_Class()’: authentication.h:94:21: warning: ‘void RSA_free(RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authentication.h:33, from imageheadertable.h:28, from imageheadertable-zynq.h:27, from imageheadertable-zynq.cpp:22: /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ g++ -c -g -O2 -ffile-prefix-map=/build/xilinx-bootgen-CVQlR6/xilinx-bootgen-2021.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. main.cpp g++ -c -g -O2 -ffile-prefix-map=/build/xilinx-bootgen-CVQlR6/xilinx-bootgen-2021.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. mcsfile.cpp g++ -c -g -O2 -ffile-prefix-map=/build/xilinx-bootgen-CVQlR6/xilinx-bootgen-2021.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. options.cpp In file included from authentication.h:43, from imageheadertable.h:28, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from imageheadertable.cpp:22: hash.h: In member function ‘virtual void HashSha2::InitHash()’: hash.h:84:38: warning: ‘int SHA256_Init(SHA256_CTX*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | void InitHash(void) { SHA256_Init(&ctx); } | ~~~~~~~~~~~^~~~~~ In file included from /usr/include/openssl/x509.h:41, from /usr/include/openssl/pem.h:23, from authkeys.h:32, from bootimage.h:34, from imageheadertable.cpp:22: /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ In file included from imageheadertable.h:28, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from imageheadertable.cpp:22: authentication.h: In destructor ‘RSA_Class::~RSA_Class()’: authentication.h:94:21: warning: ‘void RSA_free(RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authkeys.h:30, from bootimage.h:34, from imageheadertable.cpp:22: /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ g++ -c -g -O2 -ffile-prefix-map=/build/xilinx-bootgen-CVQlR6/xilinx-bootgen-2021.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. outputfile-versal.cpp g++ -c -g -O2 -ffile-prefix-map=/build/xilinx-bootgen-CVQlR6/xilinx-bootgen-2021.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. outputfile.cpp g++ -c -g -O2 -ffile-prefix-map=/build/xilinx-bootgen-CVQlR6/xilinx-bootgen-2021.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. parsing.cpp g++ -c -g -O2 -ffile-prefix-map=/build/xilinx-bootgen-CVQlR6/xilinx-bootgen-2021.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. partition-versal.cpp In file included from authentication.h:43, from imageheadertable.h:28, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from ../s/bif.y:42, from parsing.h:26, from parsing.cpp:23: hash.h: In member function ‘virtual void HashSha2::InitHash()’: hash.h:84:38: warning: ‘int SHA256_Init(SHA256_CTX*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | void InitHash(void) { SHA256_Init(&ctx); } | ~~~~~~~~~~~^~~~~~ In file included from /usr/include/openssl/x509.h:41, from /usr/include/openssl/pem.h:23, from authkeys.h:32, from bootimage.h:34, from ../s/bif.y:42, from parsing.h:26, from parsing.cpp:23: /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ In file included from imageheadertable.h:28, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from ../s/bif.y:42, from parsing.h:26, from parsing.cpp:23: authentication.h: In destructor ‘RSA_Class::~RSA_Class()’: authentication.h:94:21: warning: ‘void RSA_free(RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authkeys.h:30, from bootimage.h:34, from ../s/bif.y:42, from parsing.h:26, from parsing.cpp:23: /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ In file included from authentication.h:43, from imageheadertable.h:28, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from main.cpp:27: hash.h: In member function ‘virtual void HashSha2::InitHash()’: hash.h:84:38: warning: ‘int SHA256_Init(SHA256_CTX*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | void InitHash(void) { SHA256_Init(&ctx); } | ~~~~~~~~~~~^~~~~~ In file included from /usr/include/openssl/x509.h:41, from /usr/include/openssl/pem.h:23, from authkeys.h:32, from bootimage.h:34, from main.cpp:27: /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ In file included from imageheadertable.h:28, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from main.cpp:27: authentication.h: In destructor ‘RSA_Class::~RSA_Class()’: authentication.h:94:21: warning: ‘void RSA_free(RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authkeys.h:30, from bootimage.h:34, from main.cpp:27: /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ g++ -c -g -O2 -ffile-prefix-map=/build/xilinx-bootgen-CVQlR6/xilinx-bootgen-2021.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. partition.cpp In file included from authentication.h:43, from imageheadertable.h:28, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from outputfile.cpp:28: hash.h: In member function ‘virtual void HashSha2::InitHash()’: hash.h:84:38: warning: ‘int SHA256_Init(SHA256_CTX*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | void InitHash(void) { SHA256_Init(&ctx); } | ~~~~~~~~~~~^~~~~~ In file included from /usr/include/openssl/x509.h:41, from /usr/include/openssl/pem.h:23, from authkeys.h:32, from bootimage.h:34, from outputfile.cpp:28: /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ In file included from imageheadertable.h:28, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from outputfile.cpp:28: authentication.h: In destructor ‘RSA_Class::~RSA_Class()’: authentication.h:94:21: warning: ‘void RSA_free(RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authkeys.h:30, from bootimage.h:34, from outputfile.cpp:28: /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ In file included from authentication.h:43, from imageheadertable.h:28, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from ../../s/cmdoptions.y:39, from cmdoptionsscanner.h:40, from options.cpp:26: hash.h: In member function ‘virtual void HashSha2::InitHash()’: hash.h:84:38: warning: ‘int SHA256_Init(SHA256_CTX*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | void InitHash(void) { SHA256_Init(&ctx); } | ~~~~~~~~~~~^~~~~~ In file included from /usr/include/openssl/x509.h:41, from /usr/include/openssl/pem.h:23, from authkeys.h:32, from bootimage.h:34, from ../../s/cmdoptions.y:39, from cmdoptionsscanner.h:40, from options.cpp:26: /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ g++ -c -g -O2 -ffile-prefix-map=/build/xilinx-bootgen-CVQlR6/xilinx-bootgen-2021.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. partitionheadertable-versal.cpp In file included from imageheadertable.h:28, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from ../../s/cmdoptions.y:39, from cmdoptionsscanner.h:40, from options.cpp:26: authentication.h: In destructor ‘RSA_Class::~RSA_Class()’: authentication.h:94:21: warning: ‘void RSA_free(RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authkeys.h:30, from bootimage.h:34, from ../../s/cmdoptions.y:39, from cmdoptionsscanner.h:40, from options.cpp:26: /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ In file included from authentication.h:43, from imageheadertable.h:28, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from outputfile-versal.cpp:28: hash.h: In member function ‘virtual void HashSha2::InitHash()’: hash.h:84:38: warning: ‘int SHA256_Init(SHA256_CTX*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | void InitHash(void) { SHA256_Init(&ctx); } | ~~~~~~~~~~~^~~~~~ In file included from /usr/include/openssl/x509.h:41, from /usr/include/openssl/pem.h:23, from authkeys.h:32, from bootimage.h:34, from outputfile-versal.cpp:28: /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ In file included from imageheadertable.h:28, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from outputfile-versal.cpp:28: authentication.h: In destructor ‘RSA_Class::~RSA_Class()’: authentication.h:94:21: warning: ‘void RSA_free(RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authkeys.h:30, from bootimage.h:34, from outputfile-versal.cpp:28: /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ g++ -c -g -O2 -ffile-prefix-map=/build/xilinx-bootgen-CVQlR6/xilinx-bootgen-2021.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. partitionheadertable-zynq.cpp In file included from authentication.h:43, from imageheadertable.h:28, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from partition-versal.cpp:24: hash.h: In member function ‘virtual void HashSha2::InitHash()’: hash.h:84:38: warning: ‘int SHA256_Init(SHA256_CTX*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | void InitHash(void) { SHA256_Init(&ctx); } | ~~~~~~~~~~~^~~~~~ In file included from /usr/include/openssl/x509.h:41, from /usr/include/openssl/pem.h:23, from authkeys.h:32, from bootimage.h:34, from partition-versal.cpp:24: /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ In file included from imageheadertable.h:28, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from partition-versal.cpp:24: authentication.h: In destructor ‘RSA_Class::~RSA_Class()’: authentication.h:94:21: warning: ‘void RSA_free(RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authkeys.h:30, from bootimage.h:34, from partition-versal.cpp:24: /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ g++ -c -g -O2 -ffile-prefix-map=/build/xilinx-bootgen-CVQlR6/xilinx-bootgen-2021.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. partitionheadertable-zynqmp.cpp In file included from authentication.h:43, from imageheadertable.h:28, from bootheader.h:28, from partitionheadertable.h:27, from partitionheadertable-versal.h:27, from partitionheadertable-versal.cpp:21: hash.h: In member function ‘virtual void HashSha2::InitHash()’: hash.h:84:38: warning: ‘int SHA256_Init(SHA256_CTX*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | void InitHash(void) { SHA256_Init(&ctx); } | ~~~~~~~~~~~^~~~~~ In file included from /usr/include/openssl/x509.h:41, from /usr/include/openssl/pem.h:23, from authentication.h:35, from imageheadertable.h:28, from bootheader.h:28, from partitionheadertable.h:27, from partitionheadertable-versal.h:27, from partitionheadertable-versal.cpp:21: /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ In file included from imageheadertable.h:28, from bootheader.h:28, from partitionheadertable.h:27, from partitionheadertable-versal.h:27, from partitionheadertable-versal.cpp:21: authentication.h: In destructor ‘RSA_Class::~RSA_Class()’: authentication.h:94:21: warning: ‘void RSA_free(RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authentication.h:33, from imageheadertable.h:28, from bootheader.h:28, from partitionheadertable.h:27, from partitionheadertable-versal.h:27, from partitionheadertable-versal.cpp:21: /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ g++ -c -g -O2 -ffile-prefix-map=/build/xilinx-bootgen-CVQlR6/xilinx-bootgen-2021.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. partitionheadertable.cpp In file included from authentication.h:43, from imageheadertable.h:28, from bootheader.h:28, from partitionheadertable.h:27, from partitionheadertable-zynq.h:28, from partitionheadertable-zynq.cpp:22: hash.h: In member function ‘virtual void HashSha2::InitHash()’: hash.h:84:38: warning: ‘int SHA256_Init(SHA256_CTX*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | void InitHash(void) { SHA256_Init(&ctx); } | ~~~~~~~~~~~^~~~~~ In file included from /usr/include/openssl/x509.h:41, from /usr/include/openssl/pem.h:23, from authentication.h:35, from imageheadertable.h:28, from bootheader.h:28, from partitionheadertable.h:27, from partitionheadertable-zynq.h:28, from partitionheadertable-zynq.cpp:22: /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ In file included from imageheadertable.h:28, from bootheader.h:28, from partitionheadertable.h:27, from partitionheadertable-zynq.h:28, from partitionheadertable-zynq.cpp:22: authentication.h: In destructor ‘RSA_Class::~RSA_Class()’: authentication.h:94:21: warning: ‘void RSA_free(RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authentication.h:33, from imageheadertable.h:28, from bootheader.h:28, from partitionheadertable.h:27, from partitionheadertable-zynq.h:28, from partitionheadertable-zynq.cpp:22: /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ g++ -c -g -O2 -ffile-prefix-map=/build/xilinx-bootgen-CVQlR6/xilinx-bootgen-2021.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. postprocess.cpp In file included from authentication.h:43, from imageheadertable.h:28, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from partition.cpp:24: hash.h: In member function ‘virtual void HashSha2::InitHash()’: hash.h:84:38: warning: ‘int SHA256_Init(SHA256_CTX*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | void InitHash(void) { SHA256_Init(&ctx); } | ~~~~~~~~~~~^~~~~~ In file included from /usr/include/openssl/x509.h:41, from /usr/include/openssl/pem.h:23, from authkeys.h:32, from bootimage.h:34, from partition.cpp:24: /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ In file included from imageheadertable.h:28, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from partition.cpp:24: authentication.h: In destructor ‘RSA_Class::~RSA_Class()’: authentication.h:94:21: warning: ‘void RSA_free(RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authkeys.h:30, from bootimage.h:34, from partition.cpp:24: /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ g++ -c -g -O2 -ffile-prefix-map=/build/xilinx-bootgen-CVQlR6/xilinx-bootgen-2021.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. readimage-versal.cpp g++ -c -g -O2 -ffile-prefix-map=/build/xilinx-bootgen-CVQlR6/xilinx-bootgen-2021.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. readimage-zynq.cpp In file included from authentication.h:43, from imageheadertable.h:28, from bootheader.h:28, from partitionheadertable.h:27, from partitionheadertable-zynqmp.h:27, from partitionheadertable-zynqmp.cpp:22: hash.h: In member function ‘virtual void HashSha2::InitHash()’: hash.h:84:38: warning: ‘int SHA256_Init(SHA256_CTX*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | void InitHash(void) { SHA256_Init(&ctx); } | ~~~~~~~~~~~^~~~~~ In file included from /usr/include/openssl/x509.h:41, from /usr/include/openssl/pem.h:23, from authentication.h:35, from imageheadertable.h:28, from bootheader.h:28, from partitionheadertable.h:27, from partitionheadertable-zynqmp.h:27, from partitionheadertable-zynqmp.cpp:22: /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ In file included from imageheadertable.h:28, from bootheader.h:28, from partitionheadertable.h:27, from partitionheadertable-zynqmp.h:27, from partitionheadertable-zynqmp.cpp:22: authentication.h: In destructor ‘RSA_Class::~RSA_Class()’: authentication.h:94:21: warning: ‘void RSA_free(RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authentication.h:33, from imageheadertable.h:28, from bootheader.h:28, from partitionheadertable.h:27, from partitionheadertable-zynqmp.h:27, from partitionheadertable-zynqmp.cpp:22: /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ g++ -c -g -O2 -ffile-prefix-map=/build/xilinx-bootgen-CVQlR6/xilinx-bootgen-2021.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. readimage-zynqmp.cpp g++ -c -g -O2 -ffile-prefix-map=/build/xilinx-bootgen-CVQlR6/xilinx-bootgen-2021.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. readimage.cpp g++ -c -g -O2 -ffile-prefix-map=/build/xilinx-bootgen-CVQlR6/xilinx-bootgen-2021.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. reginit.cpp In file included from authentication.h:43, from imageheadertable.h:28, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from partitionheadertable.cpp:22: hash.h: In member function ‘virtual void HashSha2::InitHash()’: hash.h:84:38: warning: ‘int SHA256_Init(SHA256_CTX*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | void InitHash(void) { SHA256_Init(&ctx); } | ~~~~~~~~~~~^~~~~~ In file included from /usr/include/openssl/x509.h:41, from /usr/include/openssl/pem.h:23, from authkeys.h:32, from bootimage.h:34, from partitionheadertable.cpp:22: /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ In file included from imageheadertable.h:28, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from partitionheadertable.cpp:22: authentication.h: In destructor ‘RSA_Class::~RSA_Class()’: authentication.h:94:21: warning: ‘void RSA_free(RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authkeys.h:30, from bootimage.h:34, from partitionheadertable.cpp:22: /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ In file included from authentication.h:43, from readimage.h:32, from readimage-zynq.h:29, from readimage-zynq.cpp:23: hash.h: In member function ‘virtual void HashSha2::InitHash()’: hash.h:84:38: warning: ‘int SHA256_Init(SHA256_CTX*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | void InitHash(void) { SHA256_Init(&ctx); } | ~~~~~~~~~~~^~~~~~ In file included from /usr/include/openssl/x509.h:41, from /usr/include/openssl/pem.h:23, from authentication.h:35, from readimage.h:32, from readimage-zynq.h:29, from readimage-zynq.cpp:23: /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ In file included from readimage.h:32, from readimage-zynq.h:29, from readimage-zynq.cpp:23: authentication.h: In destructor ‘RSA_Class::~RSA_Class()’: authentication.h:94:21: warning: ‘void RSA_free(RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authentication.h:33, from readimage.h:32, from readimage-zynq.h:29, from readimage-zynq.cpp:23: /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ In file included from authentication.h:43, from imageheadertable.h:28, from imageheadertable-versal.h:27, from postprocess.cpp:17: hash.h: In member function ‘virtual void HashSha2::InitHash()’: hash.h:84:38: warning: ‘int SHA256_Init(SHA256_CTX*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | void InitHash(void) { SHA256_Init(&ctx); } | ~~~~~~~~~~~^~~~~~ In file included from /usr/include/openssl/x509.h:41, from /usr/include/openssl/pem.h:23, from authentication.h:35, from imageheadertable.h:28, from imageheadertable-versal.h:27, from postprocess.cpp:17: /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ In file included from imageheadertable.h:28, from imageheadertable-versal.h:27, from postprocess.cpp:17: authentication.h: In destructor ‘RSA_Class::~RSA_Class()’: authentication.h:94:21: warning: ‘void RSA_free(RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authentication.h:33, from imageheadertable.h:28, from imageheadertable-versal.h:27, from postprocess.cpp:17: /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ g++ -c -g -O2 -ffile-prefix-map=/build/xilinx-bootgen-CVQlR6/xilinx-bootgen-2021.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. reginit.tab.cpp In file included from authentication.h:43, from readimage.h:32, from readimage-versal.h:29, from readimage-versal.cpp:30: hash.h: In member function ‘virtual void HashSha2::InitHash()’: hash.h:84:38: warning: ‘int SHA256_Init(SHA256_CTX*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | void InitHash(void) { SHA256_Init(&ctx); } | ~~~~~~~~~~~^~~~~~ In file included from /usr/include/openssl/x509.h:41, from /usr/include/openssl/pem.h:23, from authentication.h:35, from readimage.h:32, from readimage-versal.h:29, from readimage-versal.cpp:30: /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ In file included from readimage.h:32, from readimage-versal.h:29, from readimage-versal.cpp:30: authentication.h: In destructor ‘RSA_Class::~RSA_Class()’: authentication.h:94:21: warning: ‘void RSA_free(RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authentication.h:33, from readimage.h:32, from readimage-versal.h:29, from readimage-versal.cpp:30: /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ In file included from authentication.h:43, from readimage.h:32, from readimage.cpp:30: hash.h: In member function ‘virtual void HashSha2::InitHash()’: hash.h:84:38: warning: ‘int SHA256_Init(SHA256_CTX*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | void InitHash(void) { SHA256_Init(&ctx); } | ~~~~~~~~~~~^~~~~~ In file included from /usr/include/openssl/x509.h:41, from /usr/include/openssl/pem.h:23, from authentication.h:35, from readimage.h:32, from readimage.cpp:30: /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ In file included from readimage.h:32, from readimage.cpp:30: authentication.h: In destructor ‘RSA_Class::~RSA_Class()’: authentication.h:94:21: warning: ‘void RSA_free(RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authentication.h:33, from readimage.h:32, from readimage.cpp:30: /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ In file included from authentication.h:43, from readimage.h:32, from readimage-zynqmp.h:32, from readimage-zynqmp.cpp:23: hash.h: In member function ‘virtual void HashSha2::InitHash()’: hash.h:84:38: warning: ‘int SHA256_Init(SHA256_CTX*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | void InitHash(void) { SHA256_Init(&ctx); } | ~~~~~~~~~~~^~~~~~ In file included from /usr/include/openssl/x509.h:41, from /usr/include/openssl/pem.h:23, from authentication.h:35, from readimage.h:32, from readimage-zynqmp.h:32, from readimage-zynqmp.cpp:23: /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ In file included from readimage.h:32, from readimage-zynqmp.h:32, from readimage-zynqmp.cpp:23: authentication.h: In destructor ‘RSA_Class::~RSA_Class()’: authentication.h:94:21: warning: ‘void RSA_free(RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authentication.h:33, from readimage.h:32, from readimage-zynqmp.h:32, from readimage-zynqmp.cpp:23: /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ g++ -c -g -O2 -ffile-prefix-map=/build/xilinx-bootgen-CVQlR6/xilinx-bootgen-2021.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. reginit.yy.cpp g++ -c -g -O2 -ffile-prefix-map=/build/xilinx-bootgen-CVQlR6/xilinx-bootgen-2021.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. verifyimage-versal.cpp g++ -c -g -O2 -ffile-prefix-map=/build/xilinx-bootgen-CVQlR6/xilinx-bootgen-2021.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. verifyimage-zynqmp.cpp In file included from authentication.h:43, from imageheadertable.h:28, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from ../../s/reginit.y:44, from reginitscanner.h:40, from ../../s/reginit.y:54: hash.h: In member function ‘virtual void HashSha2::InitHash()’: hash.h:84:38: warning: ‘int SHA256_Init(SHA256_CTX*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | void InitHash(void) { SHA256_Init(&ctx); } | ~~~~~~~~~~~^~~~~~ In file included from /usr/include/openssl/x509.h:41, from /usr/include/openssl/pem.h:23, from authkeys.h:32, from bootimage.h:34, from ../../s/reginit.y:44, from reginitscanner.h:40, from ../../s/reginit.y:54: /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ In file included from imageheadertable.h:28, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from ../../s/reginit.y:44, from reginitscanner.h:40, from ../../s/reginit.y:54: authentication.h: In destructor ‘RSA_Class::~RSA_Class()’: authentication.h:94:21: warning: ‘void RSA_free(RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authkeys.h:30, from bootimage.h:34, from ../../s/reginit.y:44, from reginitscanner.h:40, from ../../s/reginit.y:54: /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ gcc -c -g -O2 -ffile-prefix-map=/build/xilinx-bootgen-CVQlR6/xilinx-bootgen-2021.2=. -fstack-protector-strong -Wformat -Werror=format-security -I. cJSON.c gcc -c -g -O2 -ffile-prefix-map=/build/xilinx-bootgen-CVQlR6/xilinx-bootgen-2021.2=. -fstack-protector-strong -Wformat -Werror=format-security -I. cdo-alloc.c gcc -c -g -O2 -ffile-prefix-map=/build/xilinx-bootgen-CVQlR6/xilinx-bootgen-2021.2=. -fstack-protector-strong -Wformat -Werror=format-security -I. cdo-binary.c In file included from authentication.h:43, from readimage.h:32, from readimage-versal.h:29, from verifyimage-versal.cpp:24: hash.h: In member function ‘virtual void HashSha2::InitHash()’: hash.h:84:38: warning: ‘int SHA256_Init(SHA256_CTX*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | void InitHash(void) { SHA256_Init(&ctx); } | ~~~~~~~~~~~^~~~~~ In file included from /usr/include/openssl/x509.h:41, from /usr/include/openssl/pem.h:23, from authentication.h:35, from readimage.h:32, from readimage-versal.h:29, from verifyimage-versal.cpp:24: /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ In file included from readimage.h:32, from readimage-versal.h:29, from verifyimage-versal.cpp:24: authentication.h: In destructor ‘RSA_Class::~RSA_Class()’: authentication.h:94:21: warning: ‘void RSA_free(RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authentication.h:33, from readimage.h:32, from readimage-versal.h:29, from verifyimage-versal.cpp:24: /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ In file included from authentication.h:43, from imageheadertable.h:28, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from reginit.cpp:24: hash.h: In member function ‘virtual void HashSha2::InitHash()’: hash.h:84:38: warning: ‘int SHA256_Init(SHA256_CTX*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | void InitHash(void) { SHA256_Init(&ctx); } | ~~~~~~~~~~~^~~~~~ In file included from /usr/include/openssl/x509.h:41, from /usr/include/openssl/pem.h:23, from authkeys.h:32, from bootimage.h:34, from reginit.cpp:24: /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ In file included from imageheadertable.h:28, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from reginit.cpp:24: authentication.h: In destructor ‘RSA_Class::~RSA_Class()’: authentication.h:94:21: warning: ‘void RSA_free(RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authkeys.h:30, from bootimage.h:34, from reginit.cpp:24: /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ In file included from authentication.h:43, from imageheadertable.h:28, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from ../../s/reginit.y:44, from reginitscanner.h:40, from ../s/reginit.l:23: hash.h: In member function ‘virtual void HashSha2::InitHash()’: hash.h:84:38: warning: ‘int SHA256_Init(SHA256_CTX*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | void InitHash(void) { SHA256_Init(&ctx); } | ~~~~~~~~~~~^~~~~~ In file included from /usr/include/openssl/x509.h:41, from /usr/include/openssl/pem.h:23, from authkeys.h:32, from bootimage.h:34, from ../../s/reginit.y:44, from reginitscanner.h:40, from ../s/reginit.l:23: /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ In file included from imageheadertable.h:28, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from ../../s/reginit.y:44, from reginitscanner.h:40, from ../s/reginit.l:23: authentication.h: In destructor ‘RSA_Class::~RSA_Class()’: authentication.h:94:21: warning: ‘void RSA_free(RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authkeys.h:30, from bootimage.h:34, from ../../s/reginit.y:44, from reginitscanner.h:40, from ../s/reginit.l:23: /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ In file included from authentication.h:43, from readimage.h:32, from readimage-zynqmp.h:32, from verifyimage-zynqmp.cpp:22: hash.h: In member function ‘virtual void HashSha2::InitHash()’: hash.h:84:38: warning: ‘int SHA256_Init(SHA256_CTX*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | void InitHash(void) { SHA256_Init(&ctx); } | ~~~~~~~~~~~^~~~~~ In file included from /usr/include/openssl/x509.h:41, from /usr/include/openssl/pem.h:23, from authentication.h:35, from readimage.h:32, from readimage-zynqmp.h:32, from verifyimage-zynqmp.cpp:22: /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ In file included from readimage.h:32, from readimage-zynqmp.h:32, from verifyimage-zynqmp.cpp:22: authentication.h: In destructor ‘RSA_Class::~RSA_Class()’: authentication.h:94:21: warning: ‘void RSA_free(RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authentication.h:33, from readimage.h:32, from readimage-zynqmp.h:32, from verifyimage-zynqmp.cpp:22: /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ verifyimage-versal.cpp: In member function ‘bool VersalReadImage::VerifyECDSASignature(bool, uint8_t*, size_t, ACKeyECDSA*, uint8_t*)’: verifyimage-versal.cpp:71:42: warning: ‘EC_KEY* EC_KEY_new_by_curve_name(int)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 71 | eckeyLocal = EC_KEY_new_by_curve_name(NID_secp384r1); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:33, from /usr/include/openssl/pem.h:23, from authentication.h:35, from readimage.h:32, from readimage-versal.h:29, from verifyimage-versal.cpp:24: /usr/include/openssl/ec.h:998:31: note: declared here 998 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_by_curve_name(int nid); | ^~~~~~~~~~~~~~~~~~~~~~~~ verifyimage-versal.cpp:72:45: warning: ‘int EC_KEY_set_public_key_affine_coordinates(EC_KEY*, BIGNUM*, BIGNUM*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 72 | EC_KEY_set_public_key_affine_coordinates(eckeyLocal, qx, qy); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:33, from /usr/include/openssl/pem.h:23, from authentication.h:35, from readimage.h:32, from readimage-versal.h:29, from verifyimage-versal.cpp:24: /usr/include/openssl/ec.h:1122:27: note: declared here 1122 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_public_key_affine_coordinates(EC_KEY *key, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ verifyimage-versal.cpp:73:25: warning: ‘void EC_KEY_set_asn1_flag(EC_KEY*, int)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 73 | EC_KEY_set_asn1_flag(eckeyLocal, OPENSSL_EC_NAMED_CURVE); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:33, from /usr/include/openssl/pem.h:23, from authentication.h:35, from readimage.h:32, from readimage-versal.h:29, from verifyimage-versal.cpp:24: /usr/include/openssl/ec.h:1087:28: note: declared here 1087 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_set_asn1_flag(EC_KEY *eckey, int asn1_flag); | ^~~~~~~~~~~~~~~~~~~~ verifyimage-versal.cpp:75:26: warning: ‘int EC_KEY_check_key(const EC_KEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 75 | if (!EC_KEY_check_key(eckeyLocal)) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:33, from /usr/include/openssl/pem.h:23, from authentication.h:35, from readimage.h:32, from readimage-versal.h:29, from verifyimage-versal.cpp:24: /usr/include/openssl/ec.h:1107:27: note: declared here 1107 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_check_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~ verifyimage-versal.cpp:91:29: warning: ‘int ECDSA_do_verify(const unsigned char*, int, const ECDSA_SIG*, EC_KEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 91 | if (1 != ECDSA_do_verify(shaHash, SHA3_LENGTH_BYTES, ec_signature, eckeyLocal)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:33, from /usr/include/openssl/pem.h:23, from authentication.h:35, from readimage.h:32, from readimage-versal.h:29, from verifyimage-versal.cpp:24: /usr/include/openssl/ec.h:1391:27: note: declared here 1391 | OSSL_DEPRECATEDIN_3_0 int ECDSA_do_verify(const unsigned char *dgst, int dgst_len, | ^~~~~~~~~~~~~~~ verifyimage-versal.cpp:104:16: warning: ‘void EC_KEY_free(EC_KEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 104 | EC_KEY_free(eckeyLocal); | ~~~~~~~~~~~^~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:33, from /usr/include/openssl/pem.h:23, from authentication.h:35, from readimage.h:32, from readimage-versal.h:29, from verifyimage-versal.cpp:24: /usr/include/openssl/ec.h:1003:28: note: declared here 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ verifyimage-versal.cpp: In member function ‘bool VersalReadImage::VerifyECDSAP521Signature(bool, uint8_t*, size_t, ACKeyECDSAP521*, uint8_t*)’: verifyimage-versal.cpp:121:42: warning: ‘EC_KEY* EC_KEY_new_by_curve_name(int)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 121 | eckeyLocal = EC_KEY_new_by_curve_name(NID_secp521r1); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:33, from /usr/include/openssl/pem.h:23, from authentication.h:35, from readimage.h:32, from readimage-versal.h:29, from verifyimage-versal.cpp:24: /usr/include/openssl/ec.h:998:31: note: declared here 998 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_by_curve_name(int nid); | ^~~~~~~~~~~~~~~~~~~~~~~~ verifyimage-versal.cpp:122:45: warning: ‘int EC_KEY_set_public_key_affine_coordinates(EC_KEY*, BIGNUM*, BIGNUM*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 122 | EC_KEY_set_public_key_affine_coordinates(eckeyLocal, qx, qy); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:33, from /usr/include/openssl/pem.h:23, from authentication.h:35, from readimage.h:32, from readimage-versal.h:29, from verifyimage-versal.cpp:24: /usr/include/openssl/ec.h:1122:27: note: declared here 1122 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_public_key_affine_coordinates(EC_KEY *key, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ verifyimage-versal.cpp:123:25: warning: ‘void EC_KEY_set_asn1_flag(EC_KEY*, int)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 123 | EC_KEY_set_asn1_flag(eckeyLocal, OPENSSL_EC_NAMED_CURVE); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:33, from /usr/include/openssl/pem.h:23, from authentication.h:35, from readimage.h:32, from readimage-versal.h:29, from verifyimage-versal.cpp:24: /usr/include/openssl/ec.h:1087:28: note: declared here 1087 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_set_asn1_flag(EC_KEY *eckey, int asn1_flag); | ^~~~~~~~~~~~~~~~~~~~ verifyimage-versal.cpp:125:26: warning: ‘int EC_KEY_check_key(const EC_KEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 125 | if (!EC_KEY_check_key(eckeyLocal)) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:33, from /usr/include/openssl/pem.h:23, from authentication.h:35, from readimage.h:32, from readimage-versal.h:29, from verifyimage-versal.cpp:24: /usr/include/openssl/ec.h:1107:27: note: declared here 1107 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_check_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~ verifyimage-versal.cpp:142:29: warning: ‘int ECDSA_do_verify(const unsigned char*, int, const ECDSA_SIG*, EC_KEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 142 | if (1 != ECDSA_do_verify(shaHash, 48, ec_signature, eckeyLocal)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:33, from /usr/include/openssl/pem.h:23, from authentication.h:35, from readimage.h:32, from readimage-versal.h:29, from verifyimage-versal.cpp:24: /usr/include/openssl/ec.h:1391:27: note: declared here 1391 | OSSL_DEPRECATEDIN_3_0 int ECDSA_do_verify(const unsigned char *dgst, int dgst_len, | ^~~~~~~~~~~~~~~ verifyimage-versal.cpp:155:16: warning: ‘void EC_KEY_free(EC_KEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 155 | EC_KEY_free(eckeyLocal); | ~~~~~~~~~~~^~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:33, from /usr/include/openssl/pem.h:23, from authentication.h:35, from readimage.h:32, from readimage-versal.h:29, from verifyimage-versal.cpp:24: /usr/include/openssl/ec.h:1003:28: note: declared here 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ verifyimage-versal.cpp: In member function ‘bool VersalReadImage::VerifySignature(bool, uint8_t*, size_t, ACKey4096Sha3Padding*, uint8_t*)’: verifyimage-versal.cpp:166:18: warning: ‘RSA* RSA_new()’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 166 | rsa = RSA_new(); | ~~~~~~~^~ In file included from authentication.h:33, from readimage.h:32, from readimage-versal.h:29, from verifyimage-versal.cpp:24: /usr/include/openssl/rsa.h:201:28: note: declared here 201 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); | ^~~~~~~ verifyimage-versal.cpp:172:17: warning: ‘int RSA_set0_key(RSA*, BIGNUM*, BIGNUM*, BIGNUM*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 172 | RSA_set0_key(rsa, n, e, d); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from authentication.h:33, from readimage.h:32, from readimage-versal.h:29, from verifyimage-versal.cpp:24: /usr/include/openssl/rsa.h:207:27: note: declared here 207 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d); | ^~~~~~~~~~~~ verifyimage-versal.cpp:181:33: warning: ‘int RSA_public_encrypt(int, const unsigned char*, unsigned char*, RSA*, int)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 181 | int ret = RSA_public_encrypt(SIGN_LENGTH_VERSAL, (const unsigned char*)signature, (unsigned char*)opensslHashPadded, rsa, RSA_NO_PADDING); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from authentication.h:33, from readimage.h:32, from readimage-versal.h:29, from verifyimage-versal.cpp:24: /usr/include/openssl/rsa.h:282:5: note: declared here 282 | int RSA_public_encrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~ gcc -c -g -O2 -ffile-prefix-map=/build/xilinx-bootgen-CVQlR6/xilinx-bootgen-2021.2=. -fstack-protector-strong -Wformat -Werror=format-security -I. cdo-command.c verifyimage-zynqmp.cpp: In member function ‘bool ZynqMpReadImage::VerifySignature(bool, uint8_t*, size_t, ACKey4096*, uint8_t*)’: verifyimage-zynqmp.cpp:93:18: warning: ‘RSA* RSA_new()’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 93 | rsa = RSA_new(); | ~~~~~~~^~ In file included from authentication.h:33, from readimage.h:32, from readimage-zynqmp.h:32, from verifyimage-zynqmp.cpp:22: /usr/include/openssl/rsa.h:201:28: note: declared here 201 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); | ^~~~~~~ verifyimage-zynqmp.cpp:111:17: warning: ‘int RSA_set0_key(RSA*, BIGNUM*, BIGNUM*, BIGNUM*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 111 | RSA_set0_key(rsa, n, e, d); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from authentication.h:33, from readimage.h:32, from readimage-zynqmp.h:32, from verifyimage-zynqmp.cpp:22: /usr/include/openssl/rsa.h:207:27: note: declared here 207 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d); | ^~~~~~~~~~~~ verifyimage-zynqmp.cpp:112:44: warning: ‘const BIGNUM* RSA_get0_e(const RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 112 | RearrangeEndianess((uint8_t*)RSA_get0_e(rsa)->d, sizeof(uint32_t)); | ~~~~~~~~~~^~~~~ In file included from authentication.h:33, from readimage.h:32, from readimage-zynqmp.h:32, from verifyimage-zynqmp.cpp:22: /usr/include/openssl/rsa.h:233:37: note: declared here 233 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *RSA_get0_e(const RSA *d); | ^~~~~~~~~~ verifyimage-zynqmp.cpp:113:44: warning: ‘const BIGNUM* RSA_get0_n(const RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | RearrangeEndianess((uint8_t*)RSA_get0_n(rsa)->d, RSA_4096_KEY_LENGTH); | ~~~~~~~~~~^~~~~ In file included from authentication.h:33, from readimage.h:32, from readimage-zynqmp.h:32, from verifyimage-zynqmp.cpp:22: /usr/include/openssl/rsa.h:232:37: note: declared here 232 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *RSA_get0_n(const RSA *d); | ^~~~~~~~~~ verifyimage-zynqmp.cpp:124:27: warning: ‘int RSA_public_encrypt(int, const unsigned char*, unsigned char*, RSA*, int)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 124 | if (RSA_public_encrypt(RSA_4096_KEY_LENGTH, signature, (unsigned char*)opensslHashPadded, rsa, RSA_NO_PADDING) < 0) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from authentication.h:33, from readimage.h:32, from readimage-zynqmp.h:32, from verifyimage-zynqmp.cpp:22: /usr/include/openssl/rsa.h:282:5: note: declared here 282 | int RSA_public_encrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~ verifyimage-zynqmp.cpp:130:44: warning: ‘const BIGNUM* RSA_get0_n(const RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 130 | RearrangeEndianess((uint8_t*)RSA_get0_n(rsa)->d, RSA_4096_KEY_LENGTH); | ~~~~~~~~~~^~~~~ In file included from authentication.h:33, from readimage.h:32, from readimage-zynqmp.h:32, from verifyimage-zynqmp.cpp:22: /usr/include/openssl/rsa.h:232:37: note: declared here 232 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *RSA_get0_n(const RSA *d); | ^~~~~~~~~~ verifyimage-zynqmp.cpp:131:44: warning: ‘const BIGNUM* RSA_get0_e(const RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 131 | RearrangeEndianess((uint8_t*)RSA_get0_e(rsa)->d, sizeof(uint32_t)); | ~~~~~~~~~~^~~~~ In file included from authentication.h:33, from readimage.h:32, from readimage-zynqmp.h:32, from verifyimage-zynqmp.cpp:22: /usr/include/openssl/rsa.h:233:37: note: declared here 233 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *RSA_get0_e(const RSA *d); | ^~~~~~~~~~ gcc -c -g -O2 -ffile-prefix-map=/build/xilinx-bootgen-CVQlR6/xilinx-bootgen-2021.2=. -fstack-protector-strong -Wformat -Werror=format-security -I. cdo-load.c gcc -c -g -O2 -ffile-prefix-map=/build/xilinx-bootgen-CVQlR6/xilinx-bootgen-2021.2=. -fstack-protector-strong -Wformat -Werror=format-security -I. cdo-npi.c ../bisonflex/reginit.yy.cpp: In member function ‘virtual int RE::FlexScanner::yylex()’: ../bisonflex/reginit.yy.cpp:719:25: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] ../bisonflex/reginit.yy.cpp:720:17: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] ../bisonflex/reginit.yy.cpp:720:25: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] ../bisonflex/reginit.yy.cpp:721:15: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] ../bisonflex/reginit.yy.cpp:785:21: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] ../bisonflex/reginit.yy.cpp: In member function ‘int reginitFlexLexer::yy_get_next_buffer()’: ../bisonflex/reginit.yy.cpp:1221:21: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] ../bisonflex/reginit.yy.cpp:1222:17: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] ../bisonflex/reginit.yy.cpp:1223:15: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] ../bisonflex/reginit.yy.cpp:1223:31: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] gcc -c -g -O2 -ffile-prefix-map=/build/xilinx-bootgen-CVQlR6/xilinx-bootgen-2021.2=. -fstack-protector-strong -Wformat -Werror=format-security -I. cdo-overlay.c ../bisonflex/reginit.yy.cpp: In member function ‘yy_state_type reginitFlexLexer::yy_get_previous_state()’: ../bisonflex/reginit.yy.cpp:1361:25: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] ../bisonflex/reginit.yy.cpp:1362:17: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] ../bisonflex/reginit.yy.cpp:1370:20: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] ../bisonflex/reginit.yy.cpp: In member function ‘yy_state_type reginitFlexLexer::yy_try_NUL_trans(yy_state_type)’: ../bisonflex/reginit.yy.cpp:1399:15: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] ../bisonflex/reginit.yy.cpp:1401:17: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] ../bisonflex/reginit.yy.cpp:1403:19: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] ../bisonflex/reginit.yy.cpp: At global scope: ../bisonflex/reginit.yy.cpp:1424:54: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] ../bisonflex/reginit.yy.cpp: In member function ‘void reginitFlexLexer::yyunput(int, char*)’: ../bisonflex/reginit.yy.cpp:1427:17: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] ../bisonflex/reginit.yy.cpp:1437:16: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] ../bisonflex/reginit.yy.cpp:1438:18: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] ../bisonflex/reginit.yy.cpp:1440:18: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] verifyimage-versal.cpp:198:34: warning: ‘this’ pointer is null [-Wnonnull] 198 | if (s->MaskGenerationFunction(masK, maskedDBLen, Buffer, 48, EVP_sha384()) == -1) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from readimage-versal.h:34, from verifyimage-versal.cpp:24: authentication-versal.h:248:9: note: in a call to non-static member function ‘int RSA4096Sha3PaddingAuthenticationAlgorithm::MaskGenerationFunction(unsigned char*, long int, const unsigned char*, long int, const EVP_MD*)’ 248 | int MaskGenerationFunction(unsigned char *mask, long len, const unsigned char *seed, long seedlen, const EVP_MD *dgst); | ^~~~~~~~~~~~~~~~~~~~~~ verifyimage-versal.cpp:227:32: warning: ‘this’ pointer is null [-Wnonnull] 227 | m1 = s -> AttachSHA3Padding(mPad, 104); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ In file included from readimage-versal.h:34, from verifyimage-versal.cpp:24: authentication-versal.h:247:14: note: in a call to non-static member function ‘uint8_t* RSA4096Sha3PaddingAuthenticationAlgorithm::AttachSHA3Padding(uint8_t*, Binary::Length_t)’ 247 | uint8_t* AttachSHA3Padding(uint8_t * data, const Binary::Length_t datalength); | ^~~~~~~~~~~~~~~~~ gcc -c -g -O2 -ffile-prefix-map=/build/xilinx-bootgen-CVQlR6/xilinx-bootgen-2021.2=. -fstack-protector-strong -Wformat -Werror=format-security -I. cdo-raw.c gcc -c -g -O2 -ffile-prefix-map=/build/xilinx-bootgen-CVQlR6/xilinx-bootgen-2021.2=. -fstack-protector-strong -Wformat -Werror=format-security -I. cdo-source.c echo Building executable file: bootgen... Building executable file: bootgen... g++ -g -O2 -ffile-prefix-map=/build/xilinx-bootgen-CVQlR6/xilinx-bootgen-2021.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -Wl,-z,relro -Wl,-z,now -o bootgen Keccak-compact-versal.o Keccak-compact.o authentication-versal.o authentication-zynq.o authentication-zynqmp.o authentication.o authkeys-versal.o authkeys.o bif.tab.o bif.yy.o bifoptions.o binary-versal.o binary.o binfile.o bitutils-versal.o bitutils.o bootheader-versal.o bootheader-zynq.o bootheader-zynqmp.o bootheader.o bootimage-versal.o bootimage-zynq.o bootimage-zynqmp.o bootimage.o checksum-versal.o checksum.o cmdoptions.tab.o cmdoptions.yy.o elftools.o encryption-versal.o encryption-zynq.o encryption-zynqmp.o encryption.o encryptutils.o hash.o imageheadertable-versal.o imageheadertable-zynq.o imageheadertable-zynqmp.o imageheadertable.o kdf.o logger.o main.o mcsfile.o options.o outputfile-versal.o outputfile.o parsing.o partition-versal.o partition.o partitionheadertable-versal.o partitionheadertable-zynq.o partitionheadertable-zynqmp.o partitionheadertable.o postprocess.o readimage-versal.o readimage-zynq.o readimage-zynqmp.o readimage.o reginit.o reginit.tab.o reginit.yy.o verifyimage-versal.o verifyimage-zynqmp.o cJSON.o cdo-alloc.o cdo-binary.o cdo-command.o cdo-load.o cdo-npi.o cdo-overlay.o cdo-raw.o cdo-source.o -lssl -lcrypto make[1]: Leaving directory '/build/xilinx-bootgen-CVQlR6/xilinx-bootgen-2021.2' dh: command-omitted: The call to "debian/rules override_dh_auto_test" was omitted due to "DEB_BUILD_OPTIONS=nocheck" create-stamp debian/debhelper-build-stamp dh_testroot -a -O--exclude=.la dh_prep -a -O--exclude=.la dh_auto_install --destdir=debian/xilinx-bootgen/ -a -O--exclude=.la dh_install -a -O--exclude=.la dh_installdocs -a -O--exclude=.la dh_installchangelogs -a -O--exclude=.la dh_installsystemduser -a -O--exclude=.la dh_perl -a -O--exclude=.la dh_link -a -O--exclude=.la dh_strip_nondeterminism -a -O--exclude=.la dh_compress -a -O--exclude=.la dh_fixperms -a -O--exclude=.la dh_missing -a -O--exclude=.la dh_dwz -a -O--exclude=.la dh_strip -a -O--exclude=.la dh_makeshlibs -a -O--exclude=.la dh_shlibdeps -a -O--exclude=.la dh_installdeb -a -O--exclude=.la dh_gencontrol -a -O--exclude=.la dh_md5sums -a -O--exclude=.la dh_builddeb -a -O--exclude=.la dpkg-deb: building package 'xilinx-bootgen' in '../xilinx-bootgen_2021.2-1+b1_amd64.deb'. dpkg-deb: building package 'xilinx-bootgen-dbgsym' in '../xilinx-bootgen-dbgsym_2021.2-1+b1_amd64.deb'. dpkg-genbuildinfo --build=any -O../xilinx-bootgen_2021.2-1+b1_amd64.buildinfo dpkg-genchanges --build=any -O../xilinx-bootgen_2021.2-1+b1_amd64.changes dpkg-genchanges: info: binary-only arch-specific upload (source code and arch-indep packages not included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) I: running special hook: sync-out /build/xilinx-bootgen-CVQlR6 /tmp/xilinx-bootgen-2021.2-1+b1zwv1vf6t I: cleaning package lists and apt cache... I: removing tempdir /tmp/mmdebstrap.IAR77rMETB... I: success in 325.5893 seconds md5: xilinx-bootgen-dbgsym_2021.2-1+b1_amd64.deb: OK md5: xilinx-bootgen_2021.2-1+b1_amd64.deb: OK sha1: xilinx-bootgen-dbgsym_2021.2-1+b1_amd64.deb: OK sha1: xilinx-bootgen_2021.2-1+b1_amd64.deb: OK sha256: xilinx-bootgen-dbgsym_2021.2-1+b1_amd64.deb: OK sha256: xilinx-bootgen_2021.2-1+b1_amd64.deb: OK Checksums: OK