Skip to content

Commit 957cee3

Browse files
2 parents 0f1fd58 + 0b0d614 commit 957cee3

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

features/FEATURE_BLE/ble/generic/GenericSecurityManager.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -361,8 +361,8 @@ class GenericSecurityManager : public SecurityManager,
361361
* @return true if cryptography functioned worked
362362
*/
363363
static bool crypto_toolbox_f4(
364-
const public_key_coord_t &U,
365-
const public_key_coord_t &V,
364+
const public_key_t &U,
365+
const public_key_t &V,
366366
const oob_lesc_value_t &X,
367367
oob_confirm_t &confirm
368368
);

features/FEATURE_BLE/ble/pal/PalSecurityManager.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -974,9 +974,9 @@ class SecurityManager : private mbed::NonCopyable<SecurityManager> {
974974
* If the verification failed this will not be called and cancel_pairing will be called instead.
975975
*
976976
* @param[in] connection connection handle
977-
* @param[in] oob_rand_t random number sent from the local device to be used in further
977+
* @param[in] local_random random number sent from the local device to be used in further
978978
* calculations by the stack, set to 0 if peer reported no OOB present
979-
* @param[in] oob_rand_t random number from the peer to be used in further
979+
* @param[in] peer_random random number from the peer to be used in further
980980
* calculations by the stack, set to 0 if no OOB data received
981981
* @retval BLE_ERROR_NONE On success, else an error code indicating reason for failure
982982
*/

features/FEATURE_BLE/tests/generic/SecurityManager/mock/MockPalSecurityManager.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ class MockPalSecurityManager : public ble::pal::SecurityManager {
170170

171171
MOCK_METHOD3(
172172
oob_data_verified,
173-
ble_error_t(connection_handle_t, const oob_rand_t &, const oob_rand_t &)
173+
ble_error_t(connection_handle_t, const oob_lesc_value_t &, const oob_lesc_value_t &)
174174
);
175175

176176
// get the event handler present in the mock object.

features/FEATURE_BLE/tests/generic/SecurityManager/mock/MockSecurityManagerEventHandler.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ class MockSecurityManagerEventHandler :
5959

6060
MOCK_METHOD2(legacyPairingOobGenerated, void(const address_t *, const oob_tk_t *));
6161

62-
MOCK_METHOD3(oobGenerated, void(const address_t *, const oob_rand_t *, const oob_confirm_t *));
62+
MOCK_METHOD3(oobGenerated, void(const address_t *, const oob_lesc_value_t *, const oob_confirm_t *));
6363

6464
MOCK_METHOD3(signingKey, void(connection_handle_t, const csrk_t *, bool));
6565
};

0 commit comments

Comments
 (0)