Searched refs:payloadsz (Results 1 – 2 of 2) sorted by relevance
495 const uint8_t *payload, size_t payloadsz, bool varlen) in libder_is_valid_obj() argument499 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()
614 size_t payloadsz; in libder_read_object() local628 payload_data = payload_move(&payload, &payloadsz); in libder_read_object()635 payloadsz, 0); in libder_read_object()