@@ -16,7 +16,7 @@ struct bt_pub_key_cb {
1616 *
1717 * @param key The local public key, or NULL in case of no key.
1818 */
19- void (* func )(const u8_t key [64 ]);
19+ void (* func )(const uint8_t key [64 ]);
2020
2121 struct bt_pub_key_cb * _next ;
2222};
@@ -40,7 +40,7 @@ int bt_pub_key_gen(struct bt_pub_key_cb *cb);
4040 *
4141 * @return Current key, or NULL if not available.
4242 */
43- const u8_t * bt_pub_key_get (void );
43+ const uint8_t * bt_pub_key_get (void );
4444
4545/* @typedef bt_dh_key_cb_t
4646 * @brief Callback type for DH Key calculation.
@@ -49,7 +49,7 @@ const u8_t *bt_pub_key_get(void);
4949 *
5050 * @param key The DH Key, or NULL in case of failure.
5151 */
52- typedef void (* bt_dh_key_cb_t )(const u8_t key [32 ]);
52+ typedef void (* bt_dh_key_cb_t )(const uint8_t key [32 ]);
5353
5454/* @brief Calculate a DH Key from a remote Public Key.
5555 *
@@ -60,4 +60,4 @@ typedef void (*bt_dh_key_cb_t)(const u8_t key[32]);
6060 *
6161 * @return Zero on success or negative error code otherwise
6262 */
63- int bt_dh_key_gen (const u8_t remote_pk [64 ], bt_dh_key_cb_t cb );
63+ int bt_dh_key_gen (const uint8_t remote_pk [64 ], bt_dh_key_cb_t cb );
0 commit comments