summaryrefslogtreecommitdiff
path: root/src/crypto_openssl.c
AgeCommit message (Collapse)AuthorFilesLines
2021-11-03db, audit: support sha256-160 hashes for v3 pkg compatTimo Teräs1-5/+7
2021-06-21openssl: explicitly ignore BIO_reset() return valueTimo Teräs1-1/+1
This caused some -Wall errors on certain gcc versions due to BIO_reset() being a macro with explicit cast.
2021-06-19reduce misuse of error codes from errno.hTimo Teräs1-6/+6
2021-06-19crypto: improve compatibilityTimo Teräs1-5/+7
EVP_MD_CTX_set_pkey_ctx() is fairly new openssl function, and not existing in many alternative. Use EVP_MD_CTX_reset() which is slightly more heavy but more portable. Add also signature buffer lengths to work with RSA.
2021-06-11extract: new applet to extract v2 packagesTimo Teräs1-0/+34
2021-06-11add basic abstraction for cryptographic operationsTimo Teräs1-0/+112
- basic digesting and signing apis (subject still to fine tuning) - update digest code, and adb signing for the thin wrapping layer - old v1 package and database handling not updated - default mkpkg file hash to sha256 ref #10744