Need Replacement for Deprecated function.

Jeremy Harris jgh at wizmail.org
Sat Dec 4 12:55:00 UTC 2021


Following along with my tidying out of now-deprecated interface uses...


The reference example in
   https://www.openssl.org/docs/manmaster/man3/SSL_CTX_set_tlsext_ticket_key_cb.html

uses OSSL_MAC_PARAM_KEY and OSSL_MAC_PARAM_DIGEST.

So does the code in master as of 6d770c5ba3.  But I don't see definitions
for them.  What am I missing about how these should be used?
-- 
Cheers,
   Jeremy


C symbol: OSSL_MAC_PARAM_.*

   File            Function         Line
0 speed.c         speed_main       1989 OSSL_PARAM_construct_utf8_string(OSSL_MAC_PARAM_DIGEST,
1 speed.c         speed_main       1992 OSSL_PARAM_construct_octet_string(OSSL_MAC_PARAM_KEY,
2 speed.c         speed_main       2149 params[1] = OSSL_PARAM_construct_octet_string(OSSL_MAC_PARAM_IV,
3 speed.c         speed_main       2295 params[1] = OSSL_PARAM_construct_octet_string(OSSL_MAC_PARAM_KEY,
4 ssl3_record.c   tls1_mac         1448 *p++ = OSSL_PARAM_construct_size_t(OSSL_MAC_PARAM_TLS_DATA_SIZE,
5 t1_lib.c        ssl_hmac_init    3480 *p++ = OSSL_PARAM_construct_utf8_string(OSSL_MAC_PARAM_DIGEST, md, 0);
6 bad_dtls_test.c send_record       312 params[0] = OSSL_PARAM_construct_utf8_string(OSSL_MAC_PARAM_DIGEST,
7 evp_test.c      mac_test_run_mac 1412 OSSL_MAC_PARAM_CIPHER) != NULL) {
8 evp_test.c      mac_test_run_mac 1414 OSSL_PARAM_construct_utf8_string(OSSL_MAC_PARAM_CIPHER,
9 evp_test.c      mac_test_run_mac 1417 OSSL_MAC_PARAM_DIGEST) != NULL) {
a evp_test.c      mac_test_run_mac 1419 OSSL_PARAM_construct_utf8_string(OSSL_MAC_PARAM_DIGEST,
b evp_test.c      mac_test_run_mac 1428 OSSL_PARAM_construct_octet_string(OSSL_MAC_PARAM_CUSTOM,
c evp_test.c      mac_test_run_mac 1433 OSSL_PARAM_construct_octet_string(OSSL_MAC_PARAM_SALT,
d evp_test.c      mac_test_run_mac 1438 OSSL_PARAM_construct_octet_string(OSSL_MAC_PARAM_IV,
e evp_test.c      mac_test_run_mac 1486 *psizes++ = OSSL_PARAM_construct_int(OSSL_MAC_PARAM_SIZE,
f evp_test.c      mac_test_run_mac 1489 *psizes++ = OSSL_PARAM_construct_int(OSSL_MAC_PARAM_BLOCK_SIZE,
g sslapitest.c    tick_key_evp_cb  7555 params[0] = OSSL_PARAM_construct_utf8_string(OSSL_MAC_PARAM_DIGEST,


More information about the openssl-users mailing list