Home
last modified time | relevance | path

Searched refs:min_key_size (Results 1 – 1 of 1) sorted by relevance

/system/bt/stack/gatt/
Dgatt_db.cc86 uint16_t min_key_size; in gatts_check_attr_readability() local
89 min_key_size = (((perm & GATT_ENCRYPT_KEY_SIZE_MASK) >> 12)); in gatts_check_attr_readability()
90 if (min_key_size != 0) { in gatts_check_attr_readability()
91 min_key_size += 6; in gatts_check_attr_readability()
119 (sec_flag & GATT_SEC_FLAG_ENCRYPTED) && (key_size < min_key_size)) { in gatts_check_attr_readability()
522 uint16_t min_key_size = (((perm & GATT_ENCRYPT_KEY_SIZE_MASK) >> 12)); in gatts_write_attr_perm_check() local
523 if (min_key_size != 0) { in gatts_write_attr_perm_check()
524 min_key_size += 6; in gatts_write_attr_perm_check()
527 __func__, p_attr->permission, min_key_size); in gatts_write_attr_perm_check()
577 (key_size < min_key_size)) { in gatts_write_attr_perm_check()