Home
last modified time | relevance | path

Searched refs:psk_identity_hint (Results 1 – 5 of 5) sorted by relevance

/external/boringssl/src/ssl/
Dssl_lib.c338 s->psk_identity_hint = NULL; in SSL_new()
339 if (ctx->psk_identity_hint) { in SSL_new()
340 s->psk_identity_hint = BUF_strdup(ctx->psk_identity_hint); in SSL_new()
341 if (s->psk_identity_hint == NULL) { in SSL_new()
563 OPENSSL_free(ssl->psk_identity_hint); in SSL_free()
1730 ret->psk_identity_hint = NULL; in SSL_CTX_new()
1782 OPENSSL_free(ctx->psk_identity_hint); in SSL_CTX_free()
2435 OPENSSL_free(ctx->psk_identity_hint); in SSL_CTX_use_psk_identity_hint()
2438 ctx->psk_identity_hint = BUF_strdup(identity_hint); in SSL_CTX_use_psk_identity_hint()
2439 if (ctx->psk_identity_hint == NULL) { in SSL_CTX_use_psk_identity_hint()
[all …]
Ds3_srvr.c325 ((alg_a & SSL_aPSK) && s->psk_identity_hint)) { in ssl3_accept()
1247 const char *psk_identity_hint = NULL; in ssl3_send_server_key_exchange() local
1273 psk_identity_hint = s->psk_identity_hint; in ssl3_send_server_key_exchange()
1274 if (psk_identity_hint) { in ssl3_send_server_key_exchange()
1275 psk_identity_hint_len = strlen(psk_identity_hint); in ssl3_send_server_key_exchange()
1440 memcpy(p, psk_identity_hint, psk_identity_hint_len); in ssl3_send_server_key_exchange()
Dd1_srvr.c260 ((alg_a & SSL_aPSK) && s->psk_identity_hint)) { in dtls1_accept()
Ds3_clnt.c1129 CBS psk_identity_hint; in ssl3_get_server_key_exchange() local
1133 &psk_identity_hint)) { in ssl3_get_server_key_exchange()
1146 if (CBS_len(&psk_identity_hint) > PSK_MAX_IDENTITY_LEN || in ssl3_get_server_key_exchange()
1147 CBS_contains_zero_byte(&psk_identity_hint)) { in ssl3_get_server_key_exchange()
1155 if (!CBS_strdup(&psk_identity_hint, &s->s3->tmp.peer_psk_identity_hint)) { in ssl3_get_server_key_exchange()
/external/boringssl/src/include/openssl/
Dssl.h1014 char *psk_identity_hint; member
1398 char *psk_identity_hint; member