summaryrefslogtreecommitdiff
path: root/src/shared/openssl-util.c
Commit message (Collapse)AuthorAgeFilesLines
* openssl-util: Add x509_fingerprint()Daan De Meyer2022-09-231-0/+19
|
* openssl-util: use assert() if no side effectYu Watanabe2022-09-131-4/+4
|
* openssl-util: drop meaningless assertionYu Watanabe2022-09-131-1/+0
| | | | | | As the type of 'msz' is int. Fixes CID#1497842.
* openssl-util: add helper for calculating fingerprint of a DER public keyLennart Poettering2022-09-081-0/+58
|
* port string_hashsum from libgcrypt to openssl^gcryptZbigniew Jędrzejewski-Szmek2021-12-011-0/+30
| | | | | | | | This allows resolved and importd to be built without libgcrypt. Note that we now say either 'cryptographic library' or 'cryptolib'. Co-authored-by: Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
* basic/openssl-util: Add sha256 hash wrapperKevin Kuehler2021-12-011-0/+37
|
* openssl-util: use EVP API to get RSA bitsLennart Poettering2021-09-291-6/+1
|
* openssl: make RSA struct constLennart Poettering2021-04-101-1/+1
| | | | | | | OpenSSL 3.0 broke API there, but it doesn't hurt to add the "const", hence add it. Fixes: #19267
* tree-wide: add spdx header on source filesZbigniew Jędrzejewski-Szmek2021-01-281-0/+2
| | | | version.h is tiny, but the other two certainly deserve a license header.
* homed: split out code that determines suitable LUKS passphrase size from RSA keyLennart Poettering2020-12-171-0/+35
| | | | We can use this in cryptenroll later on, hence let's make this generic.
* homed: move helper calls for RSA encryption to shared codeLennart Poettering2020-12-171-0/+41