Lines Matching defs:identity
706 const unsigned char **identity,
716 *identity = session->ticket;
745 const unsigned char **identity,
754 *identity = ssl->conf->psk_identity;
796 const unsigned char *identity,
806 * - identity (psk_identity_len bytes)
812 memcpy(buf + 2, identity, identity_len);
815 MBEDTLS_SSL_DEBUG_BUF(4, "write identity", buf, 6 + identity_len);
875 * opaque identity<1..2^16-1>;
902 const unsigned char *identity;
930 ssl, &hash_alg, &identity, &identity_len) == 0) {
943 identity, identity_len,
947 ret = ssl_tls13_write_identity(ssl, p, end, identity, identity_len,
960 ssl, &hash_alg, &identity, &identity_len) == 0) {
962 ret = ssl_tls13_write_identity(ssl, p, end, identity, identity_len, 0,
1057 * opaque identity<1..2^16-1>;
1091 MBEDTLS_SSL_DEBUG_MSG(1, ("Invalid PSK identity."));