Home
last modified time | relevance | path

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

/freebsd/contrib/libfido2/src/
H A Dlargeblob.c844 fido_dev_largeblob_get_array(fido_dev_t *dev, unsigned char **cbor_ptr, in fido_dev_largeblob_get_array() argument
854 if (cbor_ptr == NULL || cbor_len == NULL) { in fido_dev_largeblob_get_array()
856 (const void *)cbor_ptr, (const void *)cbor_len); in fido_dev_largeblob_get_array()
859 *cbor_ptr = NULL; in fido_dev_largeblob_get_array()
869 *cbor_ptr = cbor.ptr; in fido_dev_largeblob_get_array()
879 fido_dev_largeblob_set_array(fido_dev_t *dev, const unsigned char *cbor_ptr, in fido_dev_largeblob_set_array() argument
887 if (cbor_ptr == NULL || cbor_len == 0) { in fido_dev_largeblob_set_array()
889 (const void *)cbor_ptr, cbor_len); in fido_dev_largeblob_set_array()
892 if ((item = cbor_load(cbor_ptr, cbor_len, &cbor_result)) == NULL) { in fido_dev_largeblob_set_array()
/freebsd/contrib/libfido2/tools/
H A Dlargeblob.c537 u_char *cbor_ptr = NULL; in get_cbor_array() local
541 if ((r = fido_dev_largeblob_get_array(dev, &cbor_ptr, in get_cbor_array()
547 if ((item = cbor_load(cbor_ptr, cbor_len, &cbor_result)) == NULL) { in get_cbor_array()
578 free(cbor_ptr); in get_cbor_array()