fix: add libraries required by 390x

Signed-off-by: Marcelo Cerri <mhcerri@linux.vnet.ibm.com>
fix: properly return the length needed when signing with private keys

Signed-off-by: Marcelo Cerri <mhcerri@linux.vnet.ibm.com>