Searched refs:min_key_size (Results 1 – 1 of 1) sorted by relevance
88 uint16_t min_key_size; in gatts_check_attr_readability() local91 min_key_size = (((perm & GATT_ENCRYPT_KEY_SIZE_MASK) >> 12)); in gatts_check_attr_readability()92 if (min_key_size != 0) { in gatts_check_attr_readability()93 min_key_size += 6; in gatts_check_attr_readability()121 (sec_flag & GATT_SEC_FLAG_ENCRYPTED) && (key_size < min_key_size)) { in gatts_check_attr_readability()550 uint16_t min_key_size = (((perm & GATT_ENCRYPT_KEY_SIZE_MASK) >> 12)); in gatts_write_attr_perm_check() local551 if (min_key_size != 0) { in gatts_write_attr_perm_check()552 min_key_size += 6; in gatts_write_attr_perm_check()555 __func__, p_attr->permission, min_key_size); in gatts_write_attr_perm_check()605 (key_size < min_key_size)) { in gatts_write_attr_perm_check()