Home
last modified time | relevance | path

Searched refs:nb (Results 1 – 5 of 5) sorted by relevance

/hal_espressif-3.6.0/components/bt/esp_ble_mesh/mesh_common/tinycrypt/src/
Decc.c738 uECC_word_t nb; in EccPoint_mult() local
747 nb = !uECC_vli_testBit(scalar, i); in EccPoint_mult()
748 XYcZ_addC(Rx[1 - nb], Ry[1 - nb], Rx[nb], Ry[nb], curve); in EccPoint_mult()
749 XYcZ_add(Rx[nb], Ry[nb], Rx[1 - nb], Ry[1 - nb], curve); in EccPoint_mult()
752 nb = !uECC_vli_testBit(scalar, 0); in EccPoint_mult()
753 XYcZ_addC(Rx[1 - nb], Ry[1 - nb], Rx[nb], Ry[nb], curve); in EccPoint_mult()
757 uECC_vli_modMult_fast(z, z, Ry[1 - nb], curve); /* Yb * (X1 - X0) */ in EccPoint_mult()
763 uECC_vli_modMult_fast(z, z, Rx[1 - nb], curve); in EccPoint_mult()
766 XYcZ_add(Rx[nb], Ry[nb], Rx[1 - nb], Ry[1 - nb], curve); in EccPoint_mult()
/hal_espressif-3.6.0/components/bootloader/subproject/components/micro-ecc/micro-ecc/
DuECC.c868 uECC_word_t nb; in EccPoint_mult() local
877 nb = !uECC_vli_testBit(scalar, i); in EccPoint_mult()
878 XYcZ_addC(Rx[1 - nb], Ry[1 - nb], Rx[nb], Ry[nb], curve); in EccPoint_mult()
879 XYcZ_add(Rx[nb], Ry[nb], Rx[1 - nb], Ry[1 - nb], curve); in EccPoint_mult()
882 nb = !uECC_vli_testBit(scalar, 0); in EccPoint_mult()
883 XYcZ_addC(Rx[1 - nb], Ry[1 - nb], Rx[nb], Ry[nb], curve); in EccPoint_mult()
887 uECC_vli_modMult_fast(z, z, Ry[1 - nb], curve); /* Yb * (X1 - X0) */ in EccPoint_mult()
892 uECC_vli_modMult_fast(z, z, Rx[1 - nb], curve); /* Xb * yP / (xP * Yb * (X1 - X0)) */ in EccPoint_mult()
895 XYcZ_add(Rx[nb], Ry[nb], Rx[1 - nb], Ry[1 - nb], curve); in EccPoint_mult()
/hal_espressif-3.6.0/components/bt/host/bluedroid/btc/profile/std/smp/include/
Desp_sec_api.h39 UINT8 nb[RAND_NB_LEN]; member
/hal_espressif-3.6.0/components/bt/host/bluedroid/btc/profile/std/smp/
Desp_app_sec.c60 app_sec_env.rand_nb.nb[i] = random() % 256; in app_ble_sec_gen_ltk()
/hal_espressif-3.6.0/components/fatfs/src/
Dff.c5630 DWORD szb_bit, szb_case, sum, nb, cl; local
5697 nb = tbl[0] + tbl[1] + tbl[2]; /* Number of clusters in-use by system */
5700 for (i = 0; nb >= 8 && i < szb_buf; buf[i++] = 0xFF, nb -= 8) ;
5701 for (b = 1; nb != 0 && i < szb_buf; buf[i] |= b, b <<= 1, nb--) ;
5709 j = nb = cl = 0;
5717 while (nb != 0 && i < szb_buf) { /* Create a chain */
5718 st_dword(buf + i, (nb > 1) ? cl + 1 : 0xFFFFFFFF);
5719 i += 4; cl++; nb--;
5721 if (nb == 0 && j < 3) nb = tbl[j++]; /* Next chain */
5722 } while (nb != 0 && i < szb_buf);