Lines Matching refs:identity
2408 * This implementation uses NUL-terminated C strings for identities and identity
2410 * specify the format of an identity.) */
2412 /* PSK_MAX_IDENTITY_LEN is the maximum supported length of a PSK identity,
2423 * The callback is passed the identity hint in |hint| or NULL if none was
2424 * provided. It should select a PSK identity and write the identity and the
2425 * corresponding PSK to |identity| and |psk|, respectively. The identity is
2428 * The callback returns the length of the PSK or 0 if no suitable identity was
2433 SSL *ssl, const char *hint, char *identity,
2441 char *identity,
2450 * The callback is passed the identity in |identity|. It should write a PSK of
2452 * or zero if the PSK identity is unknown. */
2455 unsigned (*psk_server_callback)(SSL *ssl, const char *identity,
2464 unsigned (*psk_server_callback)(SSL *ssl, const char *identity,
2469 * identity hint of |identity_hint|. It returns one on success and zero on
2475 * identity hint of |identity_hint|. It returns one on success and zero on
2480 /* SSL_get_psk_identity_hint returns the PSK identity hint advertised for |ssl|
2484 /* SSL_get_psk_identity, after the handshake completes, returns the PSK identity
3617 /* Server-only: psk_identity_hint is the default identity hint to send in
3622 char *identity,
3625 unsigned int (*psk_server_callback)(SSL *ssl, const char *identity,
3805 /* Server-only: psk_identity_hint is the identity hint to send in
3810 char *identity,
3813 unsigned int (*psk_server_callback)(SSL *ssl, const char *identity,