Lines Matching defs:identity
744 char identity[PSK_MAX_IDENTITY_LEN + 1];
769 memset(identity, 0, sizeof(identity));
770 psklen = s->psk_client_callback(s, NULL, identity, sizeof(identity) - 1,
780 idlen = strlen(identity);
785 id = (unsigned char *)identity;
899 * 2 bytes for identity length
903 * The above excludes the number of bytes for the identity itself and the
940 * Add the fixed PSK overhead, the identity length and the binder
1941 * using the first identity, or the SNI/ALPN is not consistent so the
1957 unsigned int identity;
1959 if (!PACKET_get_net_2(pkt, &identity) || PACKET_remaining(pkt) != 0) {
1964 if (identity >= (unsigned int)s->ext.tick_identity) {
1974 if (identity == 0 && (s->psksession == NULL || s->ext.tick_identity == 2)) {
2003 if (identity != 0)