HomeSort by: relevance | last modified time | path
    Searched refs:attstmt (Results 1 - 4 of 4) sorted by relevancy

  /src/external/bsd/libfido2/dist/src/
cred.c 41 return (cbor_decode_attstmt(val, &cred->attstmt));
291 verify_attstmt(const fido_blob_t *dgst, const fido_attstmt_t *attstmt)
298 if (!attstmt->x5c.len) {
299 fido_log_debug("%s: x5c.len=%zu", __func__, attstmt->x5c.len);
304 if (attstmt->x5c.ptr[0].len > INT_MAX) {
306 attstmt->x5c.ptr[0].len);
311 if ((rawcert = BIO_new_mem_buf(attstmt->x5c.ptr[0].ptr,
312 (int)attstmt->x5c.ptr[0].len)) == NULL ||
319 switch (attstmt->alg) {
322 ok = es256_verify_sig(dgst, pkey, &attstmt->sig)
    [all...]
tpm.c 346 const fido_blob_t *authdata_raw, const fido_attstmt_t *attstmt,
349 const fido_blob_t *pubarea = &attstmt->pubarea;
350 const fido_blob_t *certinfo = &attstmt->certinfo;
352 if (attstmt->alg != COSE_RS1) {
354 attstmt->alg);
cbor.c 1153 } else if (!strcmp(name, "attStmt")) {
1154 if (cbor_decode_attstmt(val, &cred->attstmt) < 0) {
1493 fido_attstmt_t *attstmt = arg; local
1509 attstmt->alg = -(int)cbor_get_int(val) - 1;
1510 if (attstmt->alg != COSE_ES256 && attstmt->alg != COSE_ES384 &&
1511 attstmt->alg != COSE_RS256 && attstmt->alg != COSE_EDDSA &&
1512 attstmt->alg != COSE_RS1) {
1513 fido_log_debug("%s: unsupported attstmt->alg=%d"
    [all...]
  /src/external/bsd/libfido2/dist/src/fido/
types.h 190 fido_attstmt_t attstmt; /* attestation statement (x509 + sig) */ member in struct:fido_cred

Completed in 31 milliseconds