Searched refs:authdata_cbor (Results 1 – 6 of 6) sorted by relevance
/freebsd/contrib/libfido2/src/ |
H A D | assert.c | 70 return (cbor_decode_assert_authdata(val, &stmt->authdata_cbor, in parse_assert_reply() 457 const fido_blob_t *clientdata, const fido_blob_t *authdata_cbor) in fido_get_signed_hash() 466 if ((item = cbor_load(authdata_cbor->ptr, authdata_cbor->len, in fido_get_signed_hash() 519 stmt->authdata_cbor.ptr == NULL || stmt->sig.ptr == NULL) { in fido_assert_verify() 522 (void *)stmt->authdata_cbor.ptr, (void *)stmt->sig.ptr); in fido_assert_verify() 547 &stmt->authdata_cbor) < 0) { in fido_assert_verify() 810 fido_blob_reset(&assert->stmt[i].authdata_cbor); in fido_assert_rp_id() 872 return (assert->stmt[idx].authdata_cbor.ptr); in fido_assert_id_ptr() 881 return (assert->stmt[idx].authdata_cbor in fido_assert_id_len() 453 fido_get_signed_hash(int cose_alg,fido_blob_t * dgst,const fido_blob_t * clientdata,const fido_blob_t * authdata_cbor) fido_get_signed_hash() argument [all...] |
H A D | cred.c | 38 &cred->authdata_cbor, &cred->authdata, &cred->attcred, in parse_makecred_reply() 166 if (cred->fmt == NULL || fido_blob_is_empty(&cred->authdata_cbor) || in fido_dev_make_cred_rx() 344 if (cred->cdh.ptr == NULL || cred->authdata_cbor.ptr == NULL || in fido_cred_verify() 350 (void *)cred->authdata_cbor.ptr, in fido_cred_verify() 382 &cred->authdata_cbor) < 0) { in fido_cred_verify() 433 if (cred->cdh.ptr == NULL || cred->authdata_cbor.ptr == NULL || in fido_cred_verify_self() 439 (void *)cred->authdata_cbor.ptr, in fido_cred_verify_self() 468 &cred->authdata_cbor) < 0) { in fido_cred_verify_self() 531 fido_blob_reset(&cred->authdata_cbor); in fido_cred_clean_authdata() 621 if (cbor_decode_cred_authdata(item, cred->type, &cred->authdata_cbor, in fido_cred_set_authdata() [all …]
|
H A D | cbor.c | 1292 fido_blob_t *authdata_cbor, fido_authdata_t *authdata, in cbor_decode_cred_authdata() argument 1305 if (authdata_cbor->ptr != NULL || in cbor_decode_cred_authdata() 1306 (authdata_cbor->len = cbor_serialize_alloc(item, in cbor_decode_cred_authdata() 1307 &authdata_cbor->ptr, &alloc_len)) == 0) { in cbor_decode_cred_authdata() 1341 cbor_decode_assert_authdata(const cbor_item_t *item, fido_blob_t *authdata_cbor, in cbor_decode_assert_authdata() argument 1354 if (authdata_cbor->ptr != NULL || in cbor_decode_assert_authdata() 1355 (authdata_cbor->len = cbor_serialize_alloc(item, in cbor_decode_assert_authdata() 1356 &authdata_cbor->ptr, &alloc_len)) == 0) { in cbor_decode_assert_authdata()
|
H A D | u2f.c | 510 cbor_item_t *authdata_cbor = NULL; in encode_cred_authdata() local 560 if ((authdata_cbor = fido_blob_encode(&authdata_blob)) == NULL) { in encode_cred_authdata() 565 if ((out->len = cbor_serialize_alloc(authdata_cbor, &out->ptr, in encode_cred_authdata() 573 if (authdata_cbor) in encode_cred_authdata() 574 cbor_decref(&authdata_cbor); in encode_cred_authdata()
|
H A D | winhello.c | 771 &cred->authdata_cbor, &cred->authdata, &cred->attcred, in winhello_get_assert()
|
/freebsd/contrib/libfido2/src/fido/ |
H A D | types.h | 181 fido_blob_t authdata_cbor; /* cbor-encoded payload */ member 201 fido_blob_t authdata_cbor; /* raw cbor payload */ member
|