Lines Matching refs:lock_with
548 Fido2EnrollFlags lock_with, in fido2_generate_hmac_hash() argument
589 assert((lock_with & ~(FIDO2ENROLL_PIN|FIDO2ENROLL_UP|FIDO2ENROLL_UV)) == 0); in fido2_generate_hmac_hash()
617 if (!has_client_pin && FLAGS_SET(lock_with, FIDO2ENROLL_PIN)) { in fido2_generate_hmac_hash()
619 lock_with &= ~FIDO2ENROLL_PIN; in fido2_generate_hmac_hash()
622 if (!has_up && FLAGS_SET(lock_with, FIDO2ENROLL_UP)) { in fido2_generate_hmac_hash()
624 lock_with &= ~FIDO2ENROLL_UP; in fido2_generate_hmac_hash()
627 if (!has_uv && FLAGS_SET(lock_with, FIDO2ENROLL_UV)) { in fido2_generate_hmac_hash()
629 lock_with &= ~FIDO2ENROLL_UV; in fido2_generate_hmac_hash()
784 …r = sym_fido_assert_set_up(a, FLAGS_SET(lock_with, FIDO2ENROLL_UP) ? FIDO_OPT_TRUE : FIDO_OPT_FALS… in fido2_generate_hmac_hash()
788 enable_disable(FLAGS_SET(lock_with, FIDO2ENROLL_UP)), in fido2_generate_hmac_hash()
791 if (FLAGS_SET(lock_with, FIDO2ENROLL_UP)) in fido2_generate_hmac_hash()
798 …r = sym_fido_assert_set_uv(a, FLAGS_SET(lock_with, FIDO2ENROLL_UV) ? FIDO_OPT_TRUE : FIDO_OPT_FALS… in fido2_generate_hmac_hash()
802 enable_disable(FLAGS_SET(lock_with, FIDO2ENROLL_UV)), in fido2_generate_hmac_hash()
805 if (FLAGS_SET(lock_with, FIDO2ENROLL_UV)) in fido2_generate_hmac_hash()
814 … r = sym_fido_dev_get_assert(d, a, FLAGS_SET(lock_with, FIDO2ENROLL_PIN) ? used_pin : NULL); in fido2_generate_hmac_hash()
826 if (FLAGS_SET(lock_with, FIDO2ENROLL_UP)) in fido2_generate_hmac_hash()
845 if (has_up && !FLAGS_SET(lock_with, FIDO2ENROLL_UP)) { in fido2_generate_hmac_hash()
859 if (FLAGS_SET(lock_with, FIDO2ENROLL_PIN)) in fido2_generate_hmac_hash()
879 lock_with |= FIDO2ENROLL_UP; in fido2_generate_hmac_hash()
883 lock_with |= FIDO2ENROLL_PIN; in fido2_generate_hmac_hash()
918 *ret_locked_with = lock_with; in fido2_generate_hmac_hash()