Home
last modified time | relevance | path

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

/openbsd/src/lib/libfido2/src/
Dlargeblob.c60 return fido_blob_set(aad, buf, sizeof(buf)); in largeblob_aad()
104 if (fido_blob_set(&blob->nonce, buf, sizeof(buf)) < 0) { in largeblob_get_nonce()
489 return fido_blob_set(hmac, buf, sizeof(buf)); in prepare_hmac()
737 if (fido_blob_set(&key, key_ptr, key_len) < 0) { in fido_dev_largeblob_get()
782 if (fido_blob_set(&key, key_ptr, key_len) < 0 || in fido_dev_largeblob_set()
783 fido_blob_set(&body, blob_ptr, blob_len) < 0) { in fido_dev_largeblob_set()
819 if (fido_blob_set(&key, key_ptr, key_len) < 0) { in fido_dev_largeblob_remove()
Dcred.c638 if (fido_blob_set(&cred->authdata_raw, ptr, len) < 0) { in fido_cred_set_authdata_raw()
670 if (fido_blob_set(&cred->attcred.id, ptr, len) < 0) in fido_cred_set_id()
679 if (fido_blob_set(&cred->attstmt.x5c, ptr, len) < 0) in fido_cred_set_x509()
688 if (fido_blob_set(&cred->attstmt.sig, ptr, len) < 0) in fido_cred_set_sig()
735 if (fido_blob_set(&id_blob, id_ptr, id_len) < 0) in fido_cred_exclude()
760 fido_blob_set(&cred->cd, data, data_len) < 0) { in fido_cred_set_clientdata()
776 fido_blob_set(&cred->cdh, hash, hash_len) < 0) in fido_cred_set_clientdata_hash()
836 if (user_id != NULL && fido_blob_set(&up->id, user_id, user_id_len) < 0) in fido_cred_set_user()
938 if (fido_blob_set(&cred->blob, ptr, len) < 0) in fido_cred_set_blob()
Dblob.h31 int fido_blob_set(fido_blob_t *, const u_char *, size_t);
Dassert.c512 fido_blob_set(&assert->cd, data, data_len) < 0) { in fido_assert_set_clientdata()
528 fido_blob_set(&assert->cdh, hash, hash_len) < 0) in fido_assert_set_clientdata_hash()
539 fido_blob_set(&assert->ext.hmac_salt, salt, salt_len) < 0) in fido_assert_set_hmac_salt()
550 fido_blob_set(&assert->stmt[idx].hmac_secret, secret, in fido_assert_set_hmac_secret()
589 if (fido_blob_set(&id, ptr, len) < 0 || (list_ptr = in fido_assert_allow_cred()
995 if (fido_blob_set(&a->stmt[idx].sig, ptr, len) < 0) in fido_assert_set_sig()
Dtouch.c43 if (fido_blob_set(&user.id, &user_id, sizeof(user_id)) < 0) { in fido_dev_get_touch_begin()
Dblob.c23 fido_blob_set(fido_blob_t *b, const u_char *ptr, size_t len) in fido_blob_set() function
Dpin.c166 if ((p = fido_blob_new()) == NULL || fido_blob_set(p, in ctap20_uv_token_tx()
219 if ((p = fido_blob_new()) == NULL || fido_blob_set(p, in ctap21_uv_token_tx()
365 if ((opin = fido_blob_new()) == NULL || fido_blob_set(opin, in fido_dev_change_pin_tx()
Dcredman.c65 return (fido_blob_set(hmac_data, &cmd, sizeof(cmd))); in credman_prepare_hmac()
443 if (fido_blob_set(&cred, cred_id, cred_id_len) < 0) in credman_del_rk_wait()
Dbio.c30 return (fido_blob_set(hmac_data, prefix, sizeof(prefix))); in bio_prepare_hmac()
781 if (ptr && fido_blob_set(&t->id, ptr, len) < 0) in fido_bio_template_set_id()
Du2f.c751 if (fido_blob_set(&fa->stmt[idx].id, key_id->ptr, key_id->len) < 0) { in u2f_authenticate_single()