According to https://lists.yoctoproject.org/g/yocto/message/47921: OpenSSL has changed its naming convention for engines, the library must be named tpm2tss.so for OpenSSL 1.1 The change itself, on the other hand, adds tpm2tss.so to tpm2-tss-engine-dev package only. So on the target system tpm2tss.so will not be installed unless I install *-dev package. I believe this is wrong, dev packages are for development, not for production. Moreover, installing tpm2-tss-engine-dev on the target also pulls in lots of other dev packages (libc6-dev, kernel-headers, etc.) and this adds about +30MB to the target image. The openssl engine -t -c tpm2tss command also doesn't work uness tpm2-tss-engine-dev is installed.
Closing. The issue is already fixed.
The issue was already fixed