Home
last modified time | relevance | path

Searched refs:tctx (Results 1 – 4 of 4) sorted by relevance

/external/openssl/apps/
Ddgst.c481 EVP_MD_CTX *tctx; in MAIN() local
482 BIO_get_md_ctx(bmd, &tctx); in MAIN()
483 md = EVP_MD_CTX_md(tctx); in MAIN()
/external/openssl/ssl/
Dd1_srvr.c1451 SSL_CTX *tctx = s->initial_ctx; in dtls1_send_newsession_ticket() local
1486 if (tctx->tlsext_ticket_key_cb) in dtls1_send_newsession_ticket()
1488 if (tctx->tlsext_ticket_key_cb(s, key_name, iv, &ctx, in dtls1_send_newsession_ticket()
1499 tctx->tlsext_tick_aes_key, iv); in dtls1_send_newsession_ticket()
1500 HMAC_Init_ex(&hctx, tctx->tlsext_tick_hmac_key, 16, in dtls1_send_newsession_ticket()
1502 memcpy(key_name, tctx->tlsext_tick_key_name, 16); in dtls1_send_newsession_ticket()
Dt1_lib.c1653 SSL_CTX *tctx = s->initial_ctx; in tls_decrypt_ticket() local
1660 if (tctx->tlsext_ticket_key_cb) in tls_decrypt_ticket()
1663 int rv = tctx->tlsext_ticket_key_cb(s, nctick, nctick + 16, in tls_decrypt_ticket()
1675 if (memcmp(etick, tctx->tlsext_tick_key_name, 16)) in tls_decrypt_ticket()
1677 HMAC_Init_ex(&hctx, tctx->tlsext_tick_hmac_key, 16, in tls_decrypt_ticket()
1680 tctx->tlsext_tick_aes_key, etick + 16); in tls_decrypt_ticket()
Ds3_srvr.c3060 SSL_CTX *tctx = s->initial_ctx; in ssl3_send_newsession_ticket() local
3099 if (tctx->tlsext_ticket_key_cb) in ssl3_send_newsession_ticket()
3101 if (tctx->tlsext_ticket_key_cb(s, key_name, iv, &ctx, in ssl3_send_newsession_ticket()
3112 tctx->tlsext_tick_aes_key, iv); in ssl3_send_newsession_ticket()
3113 HMAC_Init_ex(&hctx, tctx->tlsext_tick_hmac_key, 16, in ssl3_send_newsession_ticket()
3115 memcpy(key_name, tctx->tlsext_tick_key_name, 16); in ssl3_send_newsession_ticket()