Home
last modified time | relevance | path

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

/external/chromium_org/third_party/usrsctp/usrsctplib/netinet/
Dsctp_auth.c358 uint32_t key1len, key2len; in sctp_compare_key() local
364 key2len = sctp_get_keylen(key2); in sctp_compare_key()
365 if ((key1len == 0) && (key2len == 0)) in sctp_compare_key()
369 else if (key2len == 0) in sctp_compare_key()
372 if (key1len < key2len) { in sctp_compare_key()
373 maxlen = key2len; in sctp_compare_key()
383 val2 = (i < (maxlen - key2len)) ? 0 : *(key_2++); in sctp_compare_key()
391 if (key1len == key2len) in sctp_compare_key()
393 else if (key1len < key2len) in sctp_compare_key()