Home
last modified time | relevance | path

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

/external/openssl/apps/
Ddgst.c493 EVP_MD_CTX *tctx; in MAIN() local
494 BIO_get_md_ctx(bmd, &tctx); in MAIN()
495 md = EVP_MD_CTX_md(tctx); in MAIN()
/external/openssl/ssl/
Dd1_srvr.c1611 SSL_CTX *tctx = s->initial_ctx; in dtls1_send_newsession_ticket() local
1646 if (tctx->tlsext_ticket_key_cb) in dtls1_send_newsession_ticket()
1648 if (tctx->tlsext_ticket_key_cb(s, key_name, iv, &ctx, in dtls1_send_newsession_ticket()
1659 tctx->tlsext_tick_aes_key, iv); in dtls1_send_newsession_ticket()
1660 HMAC_Init_ex(&hctx, tctx->tlsext_tick_hmac_key, 16, in dtls1_send_newsession_ticket()
1662 memcpy(key_name, tctx->tlsext_tick_key_name, 16); in dtls1_send_newsession_ticket()
Dt1_lib.c2149 SSL_CTX *tctx = s->initial_ctx; in tls_decrypt_ticket() local
2156 if (tctx->tlsext_ticket_key_cb) in tls_decrypt_ticket()
2159 int rv = tctx->tlsext_ticket_key_cb(s, nctick, nctick + 16, in tls_decrypt_ticket()
2171 if (memcmp(etick, tctx->tlsext_tick_key_name, 16)) in tls_decrypt_ticket()
2173 HMAC_Init_ex(&hctx, tctx->tlsext_tick_hmac_key, 16, in tls_decrypt_ticket()
2176 tctx->tlsext_tick_aes_key, etick + 16); in tls_decrypt_ticket()
Ds3_srvr.c3371 SSL_CTX *tctx = s->initial_ctx; in ssl3_send_newsession_ticket() local
3431 if (tctx->tlsext_ticket_key_cb) in ssl3_send_newsession_ticket()
3433 if (tctx->tlsext_ticket_key_cb(s, key_name, iv, &ctx, in ssl3_send_newsession_ticket()
3444 tctx->tlsext_tick_aes_key, iv); in ssl3_send_newsession_ticket()
3445 HMAC_Init_ex(&hctx, tctx->tlsext_tick_hmac_key, 16, in ssl3_send_newsession_ticket()
3447 memcpy(key_name, tctx->tlsext_tick_key_name, 16); in ssl3_send_newsession_ticket()