Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/libcbor/examples/
H A Dsort.c18 uint8_t av = cbor_get_uint8(*(cbor_item_t **)a), in compareUint()
19 bv = cbor_get_uint8(*(cbor_item_t **)b); in compareUint()
/freebsd-14.2/contrib/libcbor/test/
H A Dnegint_test.c28 assert_true(cbor_get_uint8(number) == 2); in test_very_short_int()
42 assert_true(cbor_get_uint8(number) == 255); in test_short_int()
H A Duint_test.c29 assert_true(cbor_get_uint8(number) == 2); in test_very_short_int()
49 assert_true(cbor_get_uint8(number) == 255); in test_short_int()
H A Dassertions.c14 assert_true(cbor_get_uint8(item) == num); in assert_uint8()
H A Dcopy_test.c38 assert_true(cbor_get_uint8(copy = cbor_copy(item)) == 10); in test_negints()
/freebsd-14.2/contrib/libfido2/src/
H A Dcredman.c190 switch (cbor_get_uint8(key)) { in credman_parse_metadata()
269 switch (cbor_get_uint8(key)) { in credman_parse_rk()
316 cbor_get_uint8(key) != 9) { in credman_parse_rk_count()
507 switch (cbor_get_uint8(key)) { in credman_parse_rp()
544 cbor_get_uint8(key) != 5) { in credman_parse_rp_count()
H A Dbio.c160 switch (cbor_get_uint8(key)) { in decode_template()
204 cbor_get_uint8(key) != 7) { in bio_parse_template_array()
356 switch (cbor_get_uint8(key)) { in bio_parse_enroll_status()
386 cbor_get_uint8(key) != 4) { in bio_parse_template_id()
661 switch (cbor_get_uint8(key)) { in bio_parse_info()
H A Dinfo.c123 p->ptr[i] = cbor_get_uint8(item); in decode_protocol()
294 switch (cbor_get_uint8(key)) { in parse_reply_element()
341 fido_log_debug("%s: cbor type: 0x%02x", __func__, cbor_get_uint8(key)); in parse_reply_element()
H A Dauthkey.c17 cbor_get_uint8(key) != 1) { in parse_authkey()
H A Deddsa.c84 switch (cbor_get_uint8(key)) { in decode_pubkey_point()
H A Dcbor.c943 switch (cbor_get_uint8(key)) { in find_cose_alg()
967 if (cbor_get_uint8(key) == 0) { in find_cose_alg()
1162 authdata_ext->prot = cbor_get_uint8(val); in decode_cred_extension()
1177 authdata_ext->minpinlen = cbor_get_uint8(val); in decode_cred_extension()
H A Drs256.c94 switch (cbor_get_uint8(key)) { in decode_rsa_pubkey()
H A Des384.c45 switch (cbor_get_uint8(key)) { in decode_pubkey_point()
H A Dpin.c276 cbor_get_uint8(key) != 2) { in parse_uv_token()
528 cbor_get_uint8(key) != keyval) { in parse_retry_count()
H A Dlargeblob.c193 cbor_get_uint8(key) != 1) { in parse_largeblob_reply()
288 switch (cbor_get_uint8(key)) { in largeblob_do_decode()
H A Dassert.c24 cbor_get_uint8(key) != 5) { in adjust_assert_count()
62 switch (cbor_get_uint8(key)) { in parse_assert_reply()
H A Des256.c47 switch (cbor_get_uint8(key)) { in decode_pubkey_point()
H A Dcred.c29 switch (cbor_get_uint8(key)) { in parse_makecred_reply()
/freebsd-14.2/contrib/libcbor/src/cbor/
H A Dints.c15 uint8_t cbor_get_uint8(const cbor_item_t *item) { in cbor_get_uint8() function
44 return cbor_get_uint8(item); in cbor_get_int()
H A Dserialization.c68 if (cbor_get_uint8(item) <= kMaxEmbeddedInt) return 1; in cbor_serialized_size()
180 return cbor_encode_uint8(cbor_get_uint8(item), buffer, buffer_size); in cbor_serialize_uint()
196 return cbor_encode_negint8(cbor_get_uint8(item), buffer, buffer_size); in cbor_serialize_negint()
H A Dints.h29 _CBOR_NODISCARD CBOR_EXPORT uint8_t cbor_get_uint8(const cbor_item_t *item);
/freebsd-14.2/contrib/libcbor/doc/source/api/
H A Dtype_0_1.rst62 .. doxygenfunction:: cbor_get_uint8
/freebsd-14.2/contrib/libfido2/fuzz/
H A Dmutator_aux.c87 *v = cbor_get_uint8(item); in unpack_byte()
/freebsd-14.2/contrib/libcbor/src/
H A Dcbor.c122 res = cbor_build_uint8(cbor_get_uint8(item)); in _cbor_copy_int()
/freebsd-14.2/contrib/libfido2/tools/
H A Dlargeblob.c464 switch (cbor_get_uint8(v[i].key)) { in decode_blob_entry()