Home
last modified time | relevance | path

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

/Zephyr-latest/subsys/bluetooth/audio/
Dcsip_crypto.h16 #define BT_CSIP_CRYPTO_HASH_SIZE 3 macro
32 uint8_t out[BT_CSIP_CRYPTO_HASH_SIZE]);
Dcsip_crypto.c37 uint8_t out[BT_CSIP_CRYPTO_HASH_SIZE]) in bt_csip_sih() argument
72 memcpy(out, res, BT_CSIP_CRYPTO_HASH_SIZE); in bt_csip_sih()
74 LOG_DBG("sih %s", bt_hex(out, BT_CSIP_CRYPTO_HASH_SIZE)); in bt_csip_sih()
Dcsip_set_coordinator.c840 uint8_t hash[BT_CSIP_CRYPTO_HASH_SIZE]; in bt_csip_set_coordinator_is_set_member()
842 uint8_t calculated_hash[BT_CSIP_CRYPTO_HASH_SIZE]; in bt_csip_set_coordinator_is_set_member()
844 memcpy(hash, data->data, BT_CSIP_CRYPTO_HASH_SIZE); in bt_csip_set_coordinator_is_set_member()
845 memcpy(prand, data->data + BT_CSIP_CRYPTO_HASH_SIZE, BT_CSIP_CRYPTO_PRAND_SIZE); in bt_csip_set_coordinator_is_set_member()
847 LOG_DBG("hash: %s", bt_hex(hash, BT_CSIP_CRYPTO_HASH_SIZE)); in bt_csip_set_coordinator_is_set_member()
854 LOG_DBG("calculated_hash: %s", bt_hex(calculated_hash, BT_CSIP_CRYPTO_HASH_SIZE)); in bt_csip_set_coordinator_is_set_member()
855 LOG_DBG("hash: %s", bt_hex(hash, BT_CSIP_CRYPTO_HASH_SIZE)); in bt_csip_set_coordinator_is_set_member()
857 return memcmp(calculated_hash, hash, BT_CSIP_CRYPTO_HASH_SIZE) == 0; in bt_csip_set_coordinator_is_set_member()
Dcsip_set_member.c210 uint8_t hash[BT_CSIP_CRYPTO_HASH_SIZE]; in bt_csip_set_member_generate_rsi()
230 (void)memcpy(rsi, hash, BT_CSIP_CRYPTO_HASH_SIZE); in bt_csip_set_member_generate_rsi()
231 (void)memcpy(rsi + BT_CSIP_CRYPTO_HASH_SIZE, prand, BT_CSIP_CRYPTO_PRAND_SIZE); in bt_csip_set_member_generate_rsi()