Home
last modified time | relevance | path

Searched refs:zero (Results 1 – 25 of 31) sorted by relevance

12

/hal_espressif-3.7.0/components/wpa_supplicant/src/tls/
Dpkcs8.c23 struct bignum *zero; in pkcs8_key_import() local
44 zero = bignum_init(); in pkcs8_key_import()
45 if (zero == NULL) in pkcs8_key_import()
48 if (bignum_set_unsigned_bin(zero, hdr.payload, hdr.length) < 0) { in pkcs8_key_import()
50 bignum_deinit(zero); in pkcs8_key_import()
55 if (bignum_cmp_d(zero, 0) != 0) { in pkcs8_key_import()
59 bignum_deinit(zero); in pkcs8_key_import()
62 bignum_deinit(zero); in pkcs8_key_import()
Drsa.c147 struct bignum *zero; in crypto_rsa_import_private_key() local
196 zero = bignum_init(); in crypto_rsa_import_private_key()
197 if (zero == NULL) in crypto_rsa_import_private_key()
199 pos = crypto_rsa_parse_integer(pos, end, zero); in crypto_rsa_import_private_key()
200 if (pos == NULL || bignum_cmp_d(zero, 0) != 0) { in crypto_rsa_import_private_key()
203 bignum_deinit(zero); in crypto_rsa_import_private_key()
206 bignum_deinit(zero); in crypto_rsa_import_private_key()
/hal_espressif-3.7.0/components/wpa_supplicant/src/crypto/
Daes-siv.c17 static const u8 zero[AES_BLOCK_SIZE]; variable
75 os_memcpy(tmp, zero, sizeof(zero)); in aes_s2v()
82 data[0] = zero; in aes_s2v()
83 data_len[0] = sizeof(zero); in aes_s2v()
/hal_espressif-3.7.0/components/bt/host/bluedroid/device/
Dbdaddr.c39 uint8_t zero[sizeof(bt_bdaddr_t)] = { 0 }; in bdaddr_is_empty() local
40 return memcmp(addr, &zero, sizeof(bt_bdaddr_t)) == 0; in bdaddr_is_empty()
/hal_espressif-3.7.0/components/spi_flash/test_apps/flash_encryption/
Dencrypt_flash.sh9 dd if=/dev/zero of=key.bin bs=1 count=32
/hal_espressif-3.7.0/tools/esptool_py/flasher_stub/include/
Dstub_flasher.h70 uint8_t zero; member
/hal_espressif-3.7.0/components/bt/esp_ble_mesh/mesh_core/
Dcrypto.h38 const uint8_t zero[16] = { 0 }; in bt_mesh_s1() local
40 return bt_mesh_aes_cmac_one(zero, m, strlen(m), salt); in bt_mesh_s1()
Dprovisioner_prov.c705 uint8_t zero[16] = {0}; local
714 if (!memcmp(add_dev->uuid, zero, 16)) {
738 if (memcmp(add_dev->addr, zero, BLE_MESH_ADDR_LEN)) {
944 uint8_t zero[16] = {0}; local
952 if (!memcmp(del_dev->uuid, zero, 16)) {
/hal_espressif-3.7.0/components/hal/test_apps/ecc/main/
Dtest_ecc.c197 uint8_t zero[32] = {0}; in ecc_point_inv_mul() local
198 ecc_hal_write_mul_param(zero, num_le, deno_le, len); in ecc_point_inv_mul()
208 ecc_hal_read_mul_result(zero, res_le, len); in ecc_point_inv_mul()
/hal_espressif-3.7.0/components/esp_hw_support/test_apps/esp_hw_support_unity_tests/main/
Dtest_ds.c402 const uint8_t zero[DS_MAX_BITS / 8] = { 0 }; variable
418 TEST_ASSERT_EQUAL_HEX8_ARRAY(zero, signature, DS_MAX_BITS / 8);
438 TEST_ASSERT_EQUAL_HEX8_ARRAY(zero, signature, DS_MAX_BITS / 8);
/hal_espressif-3.7.0/components/esp_hw_support/test_apps/security_support/esp_hw_support_unity_tests/main/
Dtest_ds.c402 const uint8_t zero[DS_MAX_BITS / 8] = { 0 }; variable
418 TEST_ASSERT_EQUAL_HEX8_ARRAY(zero, signature, DS_MAX_BITS / 8);
438 TEST_ASSERT_EQUAL_HEX8_ARRAY(zero, signature, DS_MAX_BITS / 8);
/hal_espressif-3.7.0/components/esp_hw_support/
Dsleep_cpu_asm.S124 sw zero, 0x0(t2) /* clear EXTMEM_CACHE_SYNC_ADDR_REG */
126 sw zero, 0x0(t0) /* clear EXTMEM_CACHE_SYNC_SIZE_REG */
/hal_espressif-3.7.0/components/bt/esp_ble_mesh/mesh_models/server/
Dtime_scene_server.c53 uint8_t zero[5] = {0}; in send_time_status() local
80 if (memcmp(srv->state->time.tai_seconds, zero, TAI_SECONDS_LEN)) { in send_time_status()
97 if (memcmp(srv->state->time.tai_seconds, zero, TAI_SECONDS_LEN)) { in send_time_status()
159 uint8_t zero[5] = {0}; in time_get() local
222 if (memcmp(status.time_status.tai_seconds, zero, TAI_SECONDS_LEN)) { in time_get()
245 if (memcmp(srv->state->time.tai_seconds, zero, TAI_SECONDS_LEN)) { in time_get()
/hal_espressif-3.7.0/tools/esptool_py/docs/en/espefuse/
Dread-write-protections-cmd.rst15 …use fields, only hardware can access such eFuses. Such eFuses are read as zero and the data is mar…
Ddump-cmd.rst88 …hip. Note that some blocks may be read-protected, in which case the data in the block will be zero.
Dburn-efuse-cmd.rst85 On {IDF_TARGET_NAME} chips without integrated SPI flash, these eFuses are left zero at the factory.…
/hal_espressif-3.7.0/components/spi_flash/
DKconfig23 bool "Log warning if writing zero bits to ones"
27 … If this option is enabled, any SPI flash write which tries to set zero bits in the flash to
30 After erasing, individual bits can only be written from one to zero.
/hal_espressif-3.7.0/components/wpa_supplicant/src/common/
Dsae.c578 struct crypto_bignum *a, *u2, *t1, *t2, *z, *t, *zero, *one, *two, *three, in sswu() local
605 zero = crypto_bignum_init_uint(0); in sswu()
615 if (!u2 || !t1 || !t2 || !z || !t || !zero || !one || !two || !three || in sswu()
765 crypto_bignum_deinit(zero, 0); in sswu()
1464 u8 zero[SAE_MAX_HASH_LEN], val[SAE_MAX_PRIME_LEN]; in sae_derive_keys() local
1522 os_memset(zero, 0, hash_len); in sae_derive_keys()
1523 salt = zero; in sae_derive_keys()
/hal_espressif-3.7.0/components/heap/include/
Dheap_trace.inc140 /* realloc with zero size is a free */
/hal_espressif-3.7.0/components/log/
DREADME.rst11 …asis. Modules are identified by their tags, which are human-readable ASCII zero-terminated strings.
/hal_espressif-3.7.0/components/esp_psram/
DKconfig.spiram.common99 Note that the variables placed in SPIRAM using EXT_RAM_BSS_ATTR will be zero initialized.
/hal_espressif-3.7.0/components/bt/esp_ble_mesh/btc/
Dbtc_ble_mesh_prov.c2001 const uint8_t zero[16] = {0}; in btc_ble_mesh_prov_call_handler() local
2002 if (memcmp(arg->add_local_app_key.app_key, zero, 16)) { in btc_ble_mesh_prov_call_handler()
2035 const uint8_t zero[16] = {0}; in btc_ble_mesh_prov_call_handler() local
2036 if (memcmp(arg->add_local_net_key.net_key, zero, 16)) { in btc_ble_mesh_prov_call_handler()
/hal_espressif-3.7.0/tools/esptool_py/docs/en/esptool/
Dadvanced-commands.rst132 …r bytes long, the lower three bytes are the final bytes of the MAC address. The upper byte is zero.
/hal_espressif-3.7.0/tools/esptool_py/docs/en/advanced-topics/
Dserial-protocol.rst282 The checksum field is ignored (can be zero) for all commands except for MEM_DATA, FLASH_DATA, and F…
416 …red via the ``SPI_PAD_CONFIG_xxx`` efuses (if unset, these efuses are all zero and the default SPI…
426 …s an additional 4 bytes in the data payload of this command. These bytes should all be set to zero.
/hal_espressif-3.7.0/components/bt/esp_ble_mesh/mesh_core/nimble_host/
Dmesh_bearer_adapt.c1375 uint8_t zero[6] = {0}; in bt_mesh_gattc_conn_create() local
1378 if (!addr || !memcmp(addr->val, zero, BLE_MESH_ADDR_LEN) || in bt_mesh_gattc_conn_create()

12