Home
last modified time | relevance | path

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

/freebsd/contrib/libder/libder/
H A Dlibder_obj.c20 libder_obj_alloc_copy_payload(struct libder_ctx *ctx, const uint8_t *payload_in, in libder_obj_alloc_copy_payload() argument
25 if ((length == 0 && payload_in != NULL) || in libder_obj_alloc_copy_payload()
26 (length != 0 && payload_in == NULL)) { in libder_obj_alloc_copy_payload()
38 memcpy(payload, payload_in, length); in libder_obj_alloc_copy_payload()
48 const uint8_t *payload_in, size_t length) in libder_obj_alloc_check() argument
54 if (!libder_is_valid_obj(ctx, type, payload_in, length, false) || in libder_obj_alloc_check()
65 const uint8_t *payload_in, size_t length) in libder_obj_alloc() argument
70 if (!libder_obj_alloc_check(ctx, type, payload_in, length)) in libder_obj_alloc()
73 payload = libder_obj_alloc_copy_payload(ctx, payload_in, length); in libder_obj_alloc()
90 const uint8_t *payload_in, size_t length) in libder_obj_alloc_simple() argument
[all …]