Lines Matching defs:identity
159 * that the pre-shared-key identity matches that of a ticket or an externally-
184 const unsigned char *identity,
216 memcpy(ticket_buffer, identity, identity_len);
249 * The identity matches that of a ticket. Now check that it has suitable
292 * the ticket age for the selected PSK identity (computed by subtracting
331 const unsigned char *identity,
343 MBEDTLS_SSL_DEBUG_BUF(4, "identity", identity, identity_len);
347 ssl, identity, identity_len, obfuscated_ticket_age, session);
369 /* Check identity with external configured function */
372 ssl->conf->p_psk, ssl, identity, identity_len) == 0) {
378 MBEDTLS_SSL_DEBUG_BUF(5, "identity", identity, identity_len);
379 /* Check identity with pre-configured psk */
383 identity, identity_len) == 0) {
498 * opaque identity<1..2^16-1>;
569 const unsigned char *identity;
585 identity = p_identity_len + 2;
586 MBEDTLS_SSL_CHK_BUF_READ_PTR(identity, identities_end, identity_len + 4);
587 obfuscated_ticket_age = MBEDTLS_GET_UINT32_BE(identity, identity_len);
602 ssl, identity, identity_len, obfuscated_ticket_age,
608 MBEDTLS_SSL_DEBUG_MSG(4, ("found matched identity"));
1614 /* Delay processing of the PSK identity once we have