diff options
author | Lennart Poettering <lennart@poettering.net> | 2023-12-21 22:45:40 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-21 22:45:40 +0100 |
commit | dc6522b18ff0c8218132a2d33fcabcc1867f3e19 (patch) | |
tree | 1a2345c0237632cae61a4d63228b5faa8567cb7b /src/shared/openssl-util.h | |
parent | Merge pull request #30547 from poettering/uid0 (diff) | |
parent | TEST-24-CRYPTSETUP: add test for PKCS#11 tokens (diff) | |
download | systemd-dc6522b18ff0c8218132a2d33fcabcc1867f3e19.tar.xz systemd-dc6522b18ff0c8218132a2d33fcabcc1867f3e19.zip |
Merge pull request #28658 from H5117/enroll_with_ec
cryptsetup: Add support for EC keys in PKCS#11 tokens
Diffstat (limited to 'src/shared/openssl-util.h')
-rw-r--r-- | src/shared/openssl-util.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/shared/openssl-util.h b/src/shared/openssl-util.h index e3f34a8576..2ca3e8c1ce 100644 --- a/src/shared/openssl-util.h +++ b/src/shared/openssl-util.h @@ -108,6 +108,8 @@ int ecc_pkey_new(int curve_id, EVP_PKEY **ret); int ecc_ecdh(const EVP_PKEY *private_pkey, const EVP_PKEY *peer_pkey, void **ret_shared_secret, size_t *ret_shared_secret_size); +int x509_generate_volume_keys(X509 *cert, void **ret_decrypted_key, size_t *ret_decrypted_key_size, void **ret_saved_key, size_t *ret_saved_key_size); + int pubkey_fingerprint(EVP_PKEY *pk, const EVP_MD *md, void **ret, size_t *ret_size); int digest_and_sign(const EVP_MD *md, EVP_PKEY *privkey, const void *data, size_t size, void **ret, size_t *ret_size); |