Home
last modified time | relevance | path

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

/freebsd/contrib/libfido2/src/
H A Dcredman.c58 cbor_item_t *param_cbor[3]; in credman_prepare_hmac() local
63 memset(&param_cbor, 0, sizeof(param_cbor)); in credman_prepare_hmac()
71 if ((param_cbor[0] = fido_blob_encode(body)) == NULL) { in credman_prepare_hmac()
78 if ((param_cbor[1] = cbor_encode_pubkey(body)) == NULL) { in credman_prepare_hmac()
86 param_cbor[1] = cbor_encode_pubkey(&cred->attcred.id); in credman_prepare_hmac()
87 param_cbor[2] = cbor_encode_user_entity(&cred->user); in credman_prepare_hmac()
88 if (param_cbor[1] == NULL || param_cbor[2] == NULL) { in credman_prepare_hmac()
98 if ((*param = cbor_flatten_vector(param_cbor, n)) == NULL) { in credman_prepare_hmac()
102 if (cbor_build_frame(cmd, param_cbor, n, hmac_data) < 0) { in credman_prepare_hmac()
109 cbor_vector_free(param_cbor, nitems(param_cbor)); in credman_prepare_hmac()