fido_cred_set_prot
fido_cred_set_prot(cred, (int)prot) != FIDO_OK)
int fido_cred_set_prot(fido_cred_t *, int);
if ((r = fido_cred_set_prot(cred, credprot)) != FIDO_OK) {