Home
last modified time | relevance | path

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

/freebsd/contrib/libder/libder/
H A Dlibder_obj.c495 const uint8_t *payload, size_t payloadsz, bool varlen) in libder_is_valid_obj() argument
499 assert(payloadsz > 0); in libder_is_valid_obj()
502 assert(payloadsz == 0); in libder_is_valid_obj()
536 if (ctx->strict && payloadsz != 1) { in libder_is_valid_obj()
542 if (ctx->strict && (payloadsz != 0 || varlen)) { in libder_is_valid_obj()
553 if (payloadsz == 1 && payload[0] != 0) in libder_is_valid_obj()
557 return (payloadsz < 2 || payload[0] < 8); in libder_is_valid_obj()
559 if (payloadsz != 0) { in libder_is_valid_obj()
H A Dlibder_read.c614 size_t payloadsz; in libder_read_object() local
628 payload_data = payload_move(&payload, &payloadsz); in libder_read_object()
635 payloadsz, 0); in libder_read_object()