Searched refs:cbor_get_uint8 (Results 1 - 24 of 24) sorted by relevance

/netbsd-current/external/mit/libcbor/dist/examples/
H A Dsort.c18 uint8_t av = cbor_get_uint8(*(cbor_item_t **)a),
19 bv = cbor_get_uint8(*(cbor_item_t **)b);
/netbsd-current/external/mit/libcbor/dist/src/cbor/
H A Dints.h28 uint8_t cbor_get_uint8(const cbor_item_t *item);
H A Dints.c15 uint8_t cbor_get_uint8(const cbor_item_t *item) { function
43 return cbor_get_uint8(item);
H A Dserialization.c79 return cbor_encode_uint8(cbor_get_uint8(item), buffer, buffer_size);
96 return cbor_encode_negint8(cbor_get_uint8(item), buffer, buffer_size);
/netbsd-current/external/mit/libcbor/dist/test/
H A Dassertions.c13 assert_true(cbor_get_uint8(item) == num);
H A Dtype_1_test.c32 assert_true(cbor_get_uint8(number) == 2);
46 assert_true(cbor_get_uint8(number) == 255);
H A Dtype_0_test.c32 assert_true(cbor_get_uint8(number) == 2);
52 assert_true(cbor_get_uint8(number) == 255);
H A Dcopy_test.c43 assert_true(cbor_get_uint8(copy = cbor_copy(item)) == 10);
/netbsd-current/external/bsd/libfido2/dist/src/
H A Dauthkey.c17 cbor_get_uint8(key) != 1) {
H A Dcredman.c190 switch (cbor_get_uint8(key)) {
269 switch (cbor_get_uint8(key)) {
316 cbor_get_uint8(key) != 9) {
507 switch (cbor_get_uint8(key)) {
544 cbor_get_uint8(key) != 5) {
H A Dinfo.c123 p->ptr[i] = cbor_get_uint8(item);
294 switch (cbor_get_uint8(key)) {
341 fido_log_debug("%s: cbor type: 0x%02x", __func__, cbor_get_uint8(key));
H A Deddsa.c84 switch (cbor_get_uint8(key)) {
H A Dbio.c160 switch (cbor_get_uint8(key)) {
204 cbor_get_uint8(key) != 7) {
356 switch (cbor_get_uint8(key)) {
386 cbor_get_uint8(key) != 4) {
661 switch (cbor_get_uint8(key)) {
H A Drs256.c94 switch (cbor_get_uint8(key)) {
H A Des384.c45 switch (cbor_get_uint8(key)) {
H A Dpin.c276 cbor_get_uint8(key) != 2) {
528 cbor_get_uint8(key) != keyval) {
H A Dcbor.c943 switch (cbor_get_uint8(key)) {
967 if (cbor_get_uint8(key) == 0) {
1162 authdata_ext->prot = cbor_get_uint8(val);
1177 authdata_ext->minpinlen = cbor_get_uint8(val);
H A Des256.c47 switch (cbor_get_uint8(key)) {
H A Dlargeblob.c193 cbor_get_uint8(key) != 1) {
288 switch (cbor_get_uint8(key)) {
H A Dassert.c24 cbor_get_uint8(key) != 5) {
62 switch (cbor_get_uint8(key)) {
H A Dcred.c29 switch (cbor_get_uint8(key)) {
/netbsd-current/external/bsd/libfido2/dist/fuzz/
H A Dmutator_aux.c87 *v = cbor_get_uint8(item);
/netbsd-current/external/mit/libcbor/dist/src/
H A Dcbor.c125 res = cbor_build_uint8(cbor_get_uint8(item));
/netbsd-current/external/bsd/libfido2/dist/tools/
H A Dlargeblob.c464 switch (cbor_get_uint8(v[i].key)) {

Completed in 123 milliseconds