Searched refs:cbor_add_string (Results 1 – 2 of 2) sorted by relevance
/openbsd-src/lib/libfido2/src/ |
H A D | cbor.c | 256 cbor_add_string(cbor_item_t *item, const char *key, const char *value) in cbor_add_string() function 440 if ((rp->id && cbor_add_string(item, "id", rp->id) < 0) || in cbor_encode_rp_entity() 441 (rp->name && cbor_add_string(item, "name", rp->name) < 0)) { in cbor_encode_rp_entity() 460 (user->icon && cbor_add_string(item, "icon", user->icon) < 0) || in cbor_encode_user_entity() 461 (user->name && cbor_add_string(item, "name", user->name) < 0) || in cbor_encode_user_entity() 462 (display && cbor_add_string(item, "displayName", display) < 0)) { in cbor_encode_user_entity() 498 cbor_add_string(body, "type", "public-key") < 0 || in cbor_encode_pubkey_param() 528 cbor_add_string(cbor_key, "type", "public-key") < 0) { in cbor_encode_pubkey()
|
H A D | extern.h | 78 int cbor_add_string(cbor_item_t *, const char *, const char *);
|