Home
last modified time | relevance | path

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

/ohos5.0/foundation/communication/dsoftbus/core/authentication/include/
H A Dauth_common.h80 #define BYTES_BIT_NUM 8 macro
/ohos5.0/foundation/communication/dsoftbus/adapter/common/mbedtls/
H A Dsoftbus_adapter_crypto.c61 #define BYTES_BIT_NUM 8 macro
378 if (mbedtls_cipher_setkey(&ctx, key->key, key->keyLen * BYTES_BIT_NUM, MBEDTLS_ENCRYPT) != 0) { in SoftBusEncryptDataByCtr()
/ohos5.0/foundation/communication/dsoftbus/core/authentication/src/
H A Dauth_common.c215 for (uint32_t i = 0; i < SEQ_NETWORK_ID_BITS / BYTES_BIT_NUM; i++) { in UpdateUniqueId()
216 g_uniqueId = (g_uniqueId << BYTES_BIT_NUM) | hashId[i]; in UpdateUniqueId()