Lines Matching full:key
1 /* keys.h - Bluetooth key handling */
97 * @brief Get a call through the callback for each key with the same type
99 * @param type Key type.
107 * @brief Get the key slot reference for an ID and address pair.
115 * the function will try to find the oldest key that isn't in use with a connection.
116 * If a key with matched criteria is found, it will be overwritten with the new one.
118 * @param id Key identifier.
121 * @return A valid reference pointer to the key slot if process succeeded.
127 * @brief Get the key slot reference for an ID and address pair with a certain type.
134 * @param type Key type.
135 * @param id Key identifier.
138 * @return A valid reference pointer to the key slot if process succeeded.
144 * @brief Find key identified by type, ID and address
146 * @param type Key type.
147 * @param id Key identifier.
150 * @return A valid reference pointer to the key slot if it exists.
156 * @brief Find key reference by trying to resolve an RPA using IRK
158 * @param id Key identifier.
160 * @return A valid reference pointer to the key slot on success.
166 * @brief Find a key by ID and address
168 * @param id Key identifier.
170 * @return A valid reference pointer to the key slot if it exists.
176 * @brief Add a type to a key
178 * @param keys Key reference.
179 * @param type Key type to be added.
184 * @brief Clear a key contents
186 * @param keys Key reference to be cleared.
193 * @brief Store key to persistent memory
195 * @param keys Key reference.
232 /* This function is used to signal that the key has been used for paring */