diff options
author | eric <> | 2022-01-25 21:51:24 +0000 |
---|---|---|
committer | eric <> | 2022-01-25 21:51:24 +0000 |
commit | 5bc45eb57d3df492a992eb97f4f9efadef0b060c (patch) | |
tree | f7e1f8bcb82bc7a21b3720f212d7fbf3f1d02872 /src/lib/libtls/Symbols.list | |
parent | c8578f33457bc1465ca08176ebca6e8aac53fcd3 (diff) | |
download | openbsd-5bc45eb57d3df492a992eb97f4f9efadef0b060c.tar.gz openbsd-5bc45eb57d3df492a992eb97f4f9efadef0b060c.tar.bz2 openbsd-5bc45eb57d3df492a992eb97f4f9efadef0b060c.zip |
Introduce a signer interface intented to make TLS privsep simpler
to implement.
Add a tls_config_set_sign_cb() function that allows to register
a callback for the signing operation on a tls_config. When used,
the context installs fake pivate keys internally, and the callback
receives the hash of the public key.
Add a tls_signer_*() set of functions to manage tls_signer objects.
A tls_signer is an opaque structure on which keys are added.
It is used to compute signatures with private keys identified by
their associated public key hash.
Discussed with and ok jsing@ tb@
Diffstat (limited to 'src/lib/libtls/Symbols.list')
-rw-r--r-- | src/lib/libtls/Symbols.list | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lib/libtls/Symbols.list b/src/lib/libtls/Symbols.list index 42c039d294..d00e5e0ce6 100644 --- a/src/lib/libtls/Symbols.list +++ b/src/lib/libtls/Symbols.list | |||
@@ -43,6 +43,7 @@ tls_config_set_protocols | |||
43 | tls_config_set_session_id | 43 | tls_config_set_session_id |
44 | tls_config_set_session_lifetime | 44 | tls_config_set_session_lifetime |
45 | tls_config_set_session_fd | 45 | tls_config_set_session_fd |
46 | tls_config_set_sign_cb | ||
46 | tls_config_set_verify_depth | 47 | tls_config_set_verify_depth |
47 | tls_config_skip_private_key_check | 48 | tls_config_skip_private_key_check |
48 | tls_config_use_fake_private_key | 49 | tls_config_use_fake_private_key |
@@ -87,5 +88,10 @@ tls_peer_ocsp_url | |||
87 | tls_read | 88 | tls_read |
88 | tls_reset | 89 | tls_reset |
89 | tls_server | 90 | tls_server |
91 | tls_signer_add_keypair_file | ||
92 | tls_signer_add_keypair_mem | ||
93 | tls_signer_free | ||
94 | tls_signer_new | ||
95 | tls_signer_sign | ||
90 | tls_unload_file | 96 | tls_unload_file |
91 | tls_write | 97 | tls_write |