/Zephyr-Core-2.7.6/subsys/bluetooth/mesh/ |
D | crypto.h | 12 int bt_mesh_aes_cmac(const uint8_t key[16], struct bt_mesh_sg *sg, 13 size_t sg_len, uint8_t mac[16]); 15 static inline int bt_mesh_aes_cmac_one(const uint8_t key[16], const void *m, in bt_mesh_aes_cmac_one() argument 16 size_t len, uint8_t mac[16]) in bt_mesh_aes_cmac_one() argument 23 static inline bool bt_mesh_s1(const char *m, uint8_t salt[16]) in bt_mesh_s1() argument 25 const uint8_t zero[16] = { 0 }; in bt_mesh_s1() 30 int bt_mesh_k1(const uint8_t *ikm, size_t ikm_len, const uint8_t salt[16], 31 const char *info, uint8_t okm[16]); 35 const uint8_t salt[16] = salt_str; \ 39 int bt_mesh_k2(const uint8_t n[16], const uint8_t *p, size_t p_len, [all …]
|
D | crypto.c | 34 int bt_mesh_aes_cmac(const uint8_t key[16], struct bt_mesh_sg *sg, in bt_mesh_aes_cmac() argument 35 size_t sg_len, uint8_t mac[16]) in bt_mesh_aes_cmac() argument 58 int bt_mesh_k1(const uint8_t *ikm, size_t ikm_len, const uint8_t salt[16], in bt_mesh_k1() argument 59 const char *info, uint8_t okm[16]) in bt_mesh_k1() argument 71 int bt_mesh_k2(const uint8_t n[16], const uint8_t *p, size_t p_len, in bt_mesh_k2() argument 72 uint8_t net_id[1], uint8_t enc_key[16], uint8_t priv_key[16]) in bt_mesh_k2() argument 75 uint8_t salt[16]; in bt_mesh_k2() 76 uint8_t out[16]; in bt_mesh_k2() 77 uint8_t t[16]; in bt_mesh_k2() 81 BT_DBG("n %s", bt_hex(n, 16)); in bt_mesh_k2() [all …]
|
/Zephyr-Core-2.7.6/arch/arm64/core/ |
D | fpu.S | 16 stp q0, q1, [x0, #(16 * 0)] 17 stp q2, q3, [x0, #(16 * 2)] 18 stp q4, q5, [x0, #(16 * 4)] 19 stp q6, q7, [x0, #(16 * 6)] 20 stp q8, q9, [x0, #(16 * 8)] 21 stp q10, q11, [x0, #(16 * 10)] 22 stp q12, q13, [x0, #(16 * 12)] 23 stp q14, q15, [x0, #(16 * 14)] 24 stp q16, q17, [x0, #(16 * 16)] 25 stp q18, q19, [x0, #(16 * 18)] [all …]
|
/Zephyr-Core-2.7.6/tests/kernel/fpu_sharing/generic/src/ |
D | float_regs_arm64_gcc.h | 38 "ldp q0, q1, [x0, #(16 * 0)]\n\t" in _load_all_float_registers() 39 "ldp q2, q3, [x0, #(16 * 2)]\n\t" in _load_all_float_registers() 40 "ldp q4, q5, [x0, #(16 * 4)]\n\t" in _load_all_float_registers() 41 "ldp q6, q7, [x0, #(16 * 6)]\n\t" in _load_all_float_registers() 42 "ldp q8, q9, [x0, #(16 * 8)]\n\t" in _load_all_float_registers() 43 "ldp q10, q11, [x0, #(16 * 10)]\n\t" in _load_all_float_registers() 44 "ldp q12, q13, [x0, #(16 * 12)]\n\t" in _load_all_float_registers() 45 "ldp q14, q15, [x0, #(16 * 14)]\n\t" in _load_all_float_registers() 46 "ldp q16, q17, [x0, #(16 * 16)]\n\t" in _load_all_float_registers() 47 "ldp q18, q19, [x0, #(16 * 18)]\n\t" in _load_all_float_registers() [all …]
|
/Zephyr-Core-2.7.6/subsys/bluetooth/controller/crypto/ |
D | crypto.c | 21 int bt_encrypt_le(const uint8_t key[16], const uint8_t plaintext[16], in bt_encrypt_le() argument 22 uint8_t enc_data[16]) in bt_encrypt_le() argument 24 BT_DBG("key %s", bt_hex(key, 16)); in bt_encrypt_le() 25 BT_DBG("plaintext %s", bt_hex(plaintext, 16)); in bt_encrypt_le() 29 BT_DBG("enc_data %s", bt_hex(enc_data, 16)); in bt_encrypt_le() 34 int bt_encrypt_be(const uint8_t key[16], const uint8_t plaintext[16], in bt_encrypt_be() argument 35 uint8_t enc_data[16]) in bt_encrypt_be() argument 37 BT_DBG("key %s", bt_hex(key, 16)); in bt_encrypt_be() 38 BT_DBG("plaintext %s", bt_hex(plaintext, 16)); in bt_encrypt_be() 42 BT_DBG("enc_data %s", bt_hex(enc_data, 16)); in bt_encrypt_be()
|
/Zephyr-Core-2.7.6/samples/tfm_integration/psa_crypto/src/ |
D | util_sformat.c | 46 printf("%08X ", fmt->addr - (fmt->addr % 16)); in sf_hex_tabulate_16() 50 cpos = fmt->addr % 16; in sf_hex_tabulate_16() 67 if (cpos == 16 || ca == ea) { in sf_hex_tabulate_16() 72 if (ca % 16) { in sf_hex_tabulate_16() 73 /* PARTIAL row (< 16 vals). */ in sf_hex_tabulate_16() 75 (16 - ca % 16) * 3, in sf_hex_tabulate_16() 80 &data[idx - (ca % 16)], in sf_hex_tabulate_16() 81 ca - fmt->addr < 16 ? in sf_hex_tabulate_16() 82 idx % 16 : ca % 16, in sf_hex_tabulate_16() 87 &data[idx - 16], in sf_hex_tabulate_16() [all …]
|
/Zephyr-Core-2.7.6/subsys/mgmt/osdp/src/ |
D | osdp_sc.c | 18 static const uint8_t osdp_scbk_default[16] = { 29 for (i = 8; i < 16; i++) { in osdp_compute_scbk() 32 osdp_encrypt(ctx->sc_master_key, NULL, scbk, 16); in osdp_compute_scbk() 41 memcpy(pd->sc.scbk, osdp_scbk_default, 16); in osdp_compute_session_keys() 52 memset(pd->sc.s_enc, 0, 16); in osdp_compute_session_keys() 53 memset(pd->sc.s_mac1, 0, 16); in osdp_compute_session_keys() 54 memset(pd->sc.s_mac2, 0, 16); in osdp_compute_session_keys() 66 osdp_encrypt(pd->sc.scbk, NULL, pd->sc.s_enc, 16); in osdp_compute_session_keys() 67 osdp_encrypt(pd->sc.scbk, NULL, pd->sc.s_mac1, 16); in osdp_compute_session_keys() 68 osdp_encrypt(pd->sc.scbk, NULL, pd->sc.s_mac2, 16); in osdp_compute_session_keys() [all …]
|
/Zephyr-Core-2.7.6/subsys/bluetooth/host/ |
D | aes_ccm.c | 39 static int ccm_calculate_X0(const uint8_t key[16], const uint8_t *aad, uint8_t aad_len, in ccm_calculate_X0() argument 40 size_t mic_size, uint8_t msg_len, uint8_t b[16], in ccm_calculate_X0() argument 41 uint8_t X0[16]) in ccm_calculate_X0() argument 65 while (aad_len > 16) { in ccm_calculate_X0() 69 } while (i < 16); in ccm_calculate_X0() 71 aad_len -= 16; in ccm_calculate_X0() 84 for (i = aad_len; i < 16; i++) { in ccm_calculate_X0() 97 static int ccm_auth(const uint8_t key[16], uint8_t nonce[13], in ccm_auth() argument 101 uint8_t b[16], Xn[16], s0[16]; in ccm_auth() 105 last_blk = msg_len % 16; in ccm_auth() [all …]
|
D | crypto.c | 118 int bt_encrypt_le(const uint8_t key[16], const uint8_t plaintext[16], in bt_encrypt_le() argument 119 uint8_t enc_data[16]) in bt_encrypt_le() argument 122 uint8_t tmp[16]; in bt_encrypt_le() 124 BT_DBG("key %s", bt_hex(key, 16)); in bt_encrypt_le() 125 BT_DBG("plaintext %s", bt_hex(plaintext, 16)); in bt_encrypt_le() 127 sys_memcpy_swap(tmp, key, 16); in bt_encrypt_le() 133 sys_memcpy_swap(tmp, plaintext, 16); in bt_encrypt_le() 139 sys_mem_swap(enc_data, 16); in bt_encrypt_le() 141 BT_DBG("enc_data %s", bt_hex(enc_data, 16)); in bt_encrypt_le() 146 int bt_encrypt_be(const uint8_t key[16], const uint8_t plaintext[16], in bt_encrypt_be() argument [all …]
|
/Zephyr-Core-2.7.6/samples/boards/nrf/mesh/onoff_level_lighting_vnd_app/src/mesh/ |
D | publisher.c | 106 bt_mesh_model_msg_init(root_models[16].pub->msg, in publish() 109 net_buf_simple_add_le16(root_models[16].pub->msg, LEVEL_U25); in publish() 112 net_buf_simple_add_le16(root_models[16].pub->msg, 0x0320); in publish() 114 net_buf_simple_add_le16(root_models[16].pub->msg, 0x0000); in publish() 115 net_buf_simple_add_u8(root_models[16].pub->msg, tid++); in publish() 116 err = bt_mesh_model_publish(&root_models[16]); in publish() 118 bt_mesh_model_msg_init(root_models[16].pub->msg, in publish() 121 net_buf_simple_add_le16(root_models[16].pub->msg, LEVEL_U25); in publish() 124 net_buf_simple_add_le16(root_models[16].pub->msg, 0x0320); in publish() 126 net_buf_simple_add_le16(root_models[16].pub->msg, 0x0000); in publish() [all …]
|
/Zephyr-Core-2.7.6/dts/arm/ti/ |
D | cc32xx.dtsi | 18 /* which are offset by 16: */ 19 #define EXP_UARTA0 (INT_UARTA0 - 16) 20 #define EXP_UARTA1 (INT_UARTA1 - 16) 21 #define EXP_I2CA0 (INT_I2CA0 - 16) 22 #define EXP_ADCCH0 (INT_ADCCH0 - 16) 23 #define EXP_ADCCH1 (INT_ADCCH1 - 16) 24 #define EXP_ADCCH2 (INT_ADCCH2 - 16) 25 #define EXP_ADCCH3 (INT_ADCCH3 - 16) 26 #define EXP_WDT (INT_WDT - 16) 27 #define EXC_GPIOA0 0 /* (INT_GPIOA0 - 16) = (16-16) */ [all …]
|
/Zephyr-Core-2.7.6/subsys/portability/cmsis_rtos_v2/ |
D | wrapper.h | 22 char name[16]; 32 char name[16]; 39 char name[16]; 45 char name[16]; 52 char name[16]; 59 char name[16]; 66 char name[16];
|
/Zephyr-Core-2.7.6/drivers/clock_control/ |
D | Kconfig.stm32f0_f3 | 12 range 1 16 17 Allowed values: 1 - 16. 23 range 1 16 29 Allowed values: 1 - 16. 35 range 2 16 37 PLL multiplier, allowed values: 2-16.
|
D | Kconfig.stm32h7 | 27 allowed values: 1, 2, 4, 8, 16, 64, 128, 256, 512. 34 hclk prescaler, allowed values: 1, 2, 4, 8, 16, 64, 128, 256, 512. 39 range 1 16 41 APB1 clock (rcc_pclk1) prescaler, allowed values: 1, 2, 4, 8, 16 46 range 1 16 48 APB2 clock (rcc_pclk2) prescaler, allowed values: 1, 2, 4, 8, 16 53 range 1 16 55 APB3 clock (rcc_pclk3) prescaler, allowed values: 1, 2, 4, 8, 16 60 range 1 16 62 APB4 clock (rcc_pclk4) prescaler, allowed values: 1, 2, 4, 8, 16
|
/Zephyr-Core-2.7.6/tests/lib/cmsis_dsp/statistics/src/ |
D | q15.c | 38 DEFINE_TEST_VARIANT3(arm_max_q15, 16, in_com1, 1, 16); 59 DEFINE_TEST_VARIANT3(arm_min_q15, 16, in_com1, 1, 16); 80 DEFINE_TEST_VARIANT3(arm_absmax_q15, 16, in_absminmax, 1, 16); 101 DEFINE_TEST_VARIANT3(arm_absmin_q15, 16, in_absminmax, 1, 16); 134 DEFINE_TEST_VARIANT3(arm_mean_q15, 16, in_com2, 1, 16); 167 DEFINE_TEST_VARIANT3(arm_power_q15, 16, in_com1, 1, 16); 200 DEFINE_TEST_VARIANT3(arm_rms_q15, 16, in_com1, 1, 16); 233 DEFINE_TEST_VARIANT3(arm_std_q15, 16, in_com1, 1, 16); 266 DEFINE_TEST_VARIANT3(arm_var_q15, 16, in_com1, 1, 16);
|
/Zephyr-Core-2.7.6/drivers/interrupt_controller/ |
D | intc_arcv2_irq_unit.c | 12 * The ARCv2 interrupt unit has 16 allocated exceptions associated with 13 * vectors 0 to 15 and 240 interrupts associated with vectors 16 to 255. 45 uint8_t irq_config[CONFIG_NUM_IRQS - 16]; 71 for (irq = 16; irq < CONFIG_NUM_IRQS; irq++) { in arc_v2_irq_unit_init() 109 for (irq = 16U; irq < CONFIG_NUM_IRQS; irq++) { in arc_v2_irq_unit_suspend() 111 ctx.irq_config[irq - 16] = in arc_v2_irq_unit_suspend() 113 ctx.irq_config[irq - 16] |= in arc_v2_irq_unit_suspend() 115 ctx.irq_config[irq - 16] |= in arc_v2_irq_unit_suspend() 143 for (irq = 16U; irq < CONFIG_NUM_IRQS; irq++) { in arc_v2_irq_unit_resume() 147 ctx.irq_config[irq - 16] >> 2 | in arc_v2_irq_unit_resume() [all …]
|
/Zephyr-Core-2.7.6/subsys/bluetooth/common/ |
D | rpa.c | 41 static int internal_encrypt_le(const uint8_t key[16], const uint8_t plaintext[16], in internal_encrypt_le() argument 42 uint8_t enc_data[16]) in internal_encrypt_le() argument 54 static int ah(const uint8_t irk[16], const uint8_t r[3], uint8_t out[3]) in ah() argument 56 uint8_t res[16]; in ah() 59 BT_DBG("irk %s", bt_hex(irk, 16)); in ah() 83 bool bt_rpa_irk_matches(const uint8_t irk[16], const bt_addr_t *addr) in bt_rpa_irk_matches() argument 88 BT_DBG("IRK %s bdaddr %s", bt_hex(irk, 16), bt_addr_str(addr)); in bt_rpa_irk_matches() 100 int bt_rpa_create(const uint8_t irk[16], bt_addr_t *rpa) in bt_rpa_create() argument 121 int bt_rpa_create(const uint8_t irk[16], bt_addr_t *rpa) in bt_rpa_create() argument
|
/Zephyr-Core-2.7.6/tests/crypto/rand32/ |
D | testcase.yaml | 4 min_ram: 16 8 min_ram: 16 13 min_ram: 16 18 min_ram: 16
|
/Zephyr-Core-2.7.6/tests/bluetooth/uuid/src/ |
D | main.c | 27 /* Compare UUID 16 bits */ in test_uuid_cmp() 35 /* Compare UUID 16 bits with UUID 128 bits */ in test_uuid_cmp() 39 /* Compare different UUID 16 bits */ in test_uuid_cmp() 58 /* Create UUID from LE 16 bit byte array */ in test_uuid_create() 62 /* Compare UUID 16 bits */ in test_uuid_create() 70 /* Compare swapped UUID 16 bits */ in test_uuid_create() 74 /* Create UUID from BE 16 bit byte array */ in test_uuid_create() 78 /* Compare UUID 16 bits */ in test_uuid_create() 86 /* Compare swapped UUID 16 bits */ in test_uuid_create()
|
/Zephyr-Core-2.7.6/include/sys/ |
D | byteorder.h | 21 #define __bswap_24(x) ((uint32_t) ((((x) >> 16) & 0xff) | \ 23 (((x) & 0xff) << 16))) 44 * @brief Convert 16-bit integer from little-endian to host endianness. 46 * @param val 16-bit integer in little-endian format. 48 * @return 16-bit integer in host endianness. 52 * @brief Convert 16-bit integer from host endianness to little-endian. 54 * @param val 16-bit integer in host endianness. 56 * @return 16-bit integer in little-endian format. 108 * @brief Convert 16-bit integer from big-endian to host endianness. 110 * @param val 16-bit integer in big-endian format. [all …]
|
/Zephyr-Core-2.7.6/tests/lib/cmsis_dsp/support/src/ |
D | f16.c | 52 DEFINE_TEST_VARIANT2(arm_copy_f16, 16, ref_f16, 16); 79 DEFINE_TEST_VARIANT1(arm_fill_f16, 16, 16); 104 DEFINE_TEST_VARIANT3(arm_f16_to_q15, 16, ref_f16, ref_q15, 16); 130 DEFINE_TEST_VARIANT3(arm_f16_to_float, 16, ref_f16, ref_f32, 16); 156 DEFINE_TEST_VARIANT3(arm_q15_to_f16, 16, ref_q15, ref_f16, 16); 182 DEFINE_TEST_VARIANT3(arm_float_to_f16, 16, ref_f32, ref_f16, 16); 211 DEFINE_TEST_VARIANT2(arm_weighted_sum_f16, 16, 1, 16);
|
D | q15.c | 42 DEFINE_TEST_VARIANT2(arm_copy_q15, 16, in_q15, 16); 69 DEFINE_TEST_VARIANT1(arm_fill_q15, 16, 16); 95 DEFINE_TEST_VARIANT3(arm_q15_to_float, 16, in_q15, ref_f32, 16); 121 DEFINE_TEST_VARIANT3(arm_q15_to_q31, 16, in_q15, ref_q31, 16); 146 DEFINE_TEST_VARIANT3(arm_q15_to_q7, 16, in_q15, ref_q7, 16);
|
/Zephyr-Core-2.7.6/tests/net/lib/mqtt_publisher/ |
D | prj_tls.conf | 12 CONFIG_NET_PKT_RX_COUNT=16 13 CONFIG_NET_PKT_TX_COUNT=16 14 CONFIG_NET_BUF_RX_COUNT=16 15 CONFIG_NET_BUF_TX_COUNT=16
|
/Zephyr-Core-2.7.6/tests/lib/cmsis_dsp/filtering/src/ |
D | misc_q15.c | 52 DEFINE_CORRELATE_TEST(14, 16); 57 DEFINE_CORRELATE_TEST(15, 16); 61 DEFINE_CORRELATE_TEST(16, 15); 62 DEFINE_CORRELATE_TEST(16, 16); 63 DEFINE_CORRELATE_TEST(16, 17); 64 DEFINE_CORRELATE_TEST(16, 18); 65 DEFINE_CORRELATE_TEST(16, 33); 67 DEFINE_CORRELATE_TEST(17, 16); 72 DEFINE_CORRELATE_TEST(32, 16); 109 DEFINE_CONV_TEST(14, 16); [all …]
|
/Zephyr-Core-2.7.6/dts/bindings/sensor/ |
D | bosch,bmp388.yaml | 23 1.563 - 25/16 - 640ms 59 1 sample, 16-bit, 2.64 Pa 63 16 samples, 20-bit, 0.17 Pa 71 - 16 80 1 sample, 16-bit, .0050 C (default; chip reset value) 84 16 samples, 20-bit, .0003 C 92 - 16
|