Searched refs:clen (Results 1 – 2 of 2) sorted by relevance
289 uint8 *cookie, int *clen) { in dtls_create_cookie() argument336 if (len < *clen) { in dtls_create_cookie()337 memset(cookie + len, 0, *clen - len); in dtls_create_cookie()338 *clen = len; in dtls_create_cookie()341 memcpy(cookie, buf, *clen); in dtls_create_cookie()2882 int clen; in decrypt_verify() local2885 clen = length - sizeof(dtls_record_header_t); in decrypt_verify()2894 return clen; in decrypt_verify()2904 if (clen < 16) /* need at least IV and MAC */ in decrypt_verify()2914 clen -= 8; in decrypt_verify()[all …]
1316 const unsigned char *cookie, size_t clen,