add rpId to RK's, fix counting of unique RP's

This commit is contained in:
Conor Patrick
2020-03-24 20:30:16 -04:00
parent b3712b57fc
commit 3b42289cce
2 changed files with 78 additions and 24 deletions

View File

@@ -171,11 +171,18 @@ typedef struct {
uint32_t count;
}__attribute__((packed)) CredentialId;
struct Credential {
struct __attribute__((packed)) Credential {
CredentialId id;
CTAP_userEntity user;
};
typedef struct Credential CTAP_residentKey;
typedef struct {
CredentialId id;
CTAP_userEntity user;
// Maximum amount of "extra" space in resident key.
uint8_t rpId[48];
uint8_t rpIdSize;
} __attribute__((packed)) CTAP_residentKey;
typedef struct
{