Searched refs:cbor_build_bytestring (Results 1 - 16 of 16) sorted by relevance

/netbsd-current/external/mit/libcbor/dist/src/cbor/
H A Dbytestrings.h123 cbor_item_t *cbor_build_bytestring(cbor_data handle, size_t length);
H A Dbytestrings.c60 cbor_item_t *cbor_build_bytestring(cbor_data handle, size_t length) { function
/netbsd-current/external/mit/libcbor/dist/test/
H A Dmemory_allocation_test.c127 WITH_FAILING_MALLOC({ assert_null(cbor_build_bytestring(bytes, 4)); });
128 WITH_MOCK_MALLOC({ assert_null(cbor_build_bytestring(bytes, 4)); }, 2, MALLOC,
188 cbor_item_t *chunk = cbor_build_bytestring(bytes, 4);
H A Dcopy_test.c64 item = cbor_build_bytestring((cbor_data) "abc", 3);
74 item, cbor_move(cbor_build_bytestring((cbor_data) "abc", 3)));
H A Dtype_2_test.c307 bs = cbor_build_bytestring((cbor_data) "Hello!", 6);
/netbsd-current/external/bsd/libfido2/dist/src/
H A Dtouch.c49 if ((argv[0] = cbor_build_bytestring(cdh, sizeof(cdh))) == NULL ||
H A Dblob.c106 return cbor_build_bytestring(b->ptr, b->len);
H A Des256.c114 (argv[3].value = cbor_build_bytestring(pk->x,
120 (argv[4].value = cbor_build_bytestring(pk->y,
H A Dcbor.c236 (pair.value = cbor_build_bytestring(value, value_len)) == NULL) {
719 return (cbor_build_bytestring(dgst, outlen));
772 if ((item = cbor_build_bytestring(dgst, outlen)) == NULL) {
773 fido_log_debug("%s: cbor_build_bytestring", __func__);
H A Du2f.c124 if ((item = cbor_build_bytestring((const unsigned char *)&ad,
126 fido_log_debug("%s: cbor_build_bytestring", __func__);
H A Dlargeblob.c515 if ((argv[1] = cbor_build_bytestring(chunk, chunk_len)) == NULL ||
H A Dassert.c1045 if ((item = cbor_build_bytestring(ptr, len)) == NULL) {
1046 fido_log_debug("%s: cbor_build_bytestring", __func__);
H A Dcred.c656 if ((item = cbor_build_bytestring(ptr, len)) == NULL) {
657 fido_log_debug("%s: cbor_build_bytestring", __func__);
/netbsd-current/external/bsd/libfido2/dist/fuzz/
H A Dmutator_aux.c119 return cbor_build_bytestring((const unsigned char *)v, strlen(v));
131 return cbor_build_bytestring(v->body, v->len);
H A Dwrap.c502 cbor_build_bytestring,
/netbsd-current/external/mit/libcbor/dist/src/
H A Dcbor.c168 return cbor_build_bytestring(cbor_bytestring_handle(item),

Completed in 214 milliseconds