/Zephyr-Core-3.7.0/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-3.7.0/subsys/bluetooth/crypto/ |
D | bt_crypto.c | 24 int bt_crypto_f4(const uint8_t *u, const uint8_t *v, const uint8_t *x, uint8_t z, uint8_t res[16]) in bt_crypto_f4() argument 26 uint8_t xs[16]; in bt_crypto_f4() 32 LOG_DBG("x %s z 0x%x", bt_hex(x, 16), z); in bt_crypto_f4() 47 sys_memcpy_swap(xs, x, 16); in bt_crypto_f4() 54 sys_mem_swap(res, 16); in bt_crypto_f4() 56 LOG_DBG("res %s", bt_hex(res, 16)); in bt_crypto_f4() 64 static const uint8_t salt[16] = {0x6c, 0x88, 0x83, 0x91, 0xaa, 0xf5, 0xa5, 0x38, in bt_crypto_f5() 75 uint8_t t[16], ws[32]; in bt_crypto_f5() 79 LOG_DBG("n1 %s", bt_hex(n1, 16)); in bt_crypto_f5() 80 LOG_DBG("n2 %s", bt_hex(n2, 16)); in bt_crypto_f5() [all …]
|
/Zephyr-Core-3.7.0/tests/kernel/fpu_sharing/generic/src/ |
D | float_regs_arm64_gcc.h | 37 "ldp q0, q1, [x0, #(16 * 0)]\n\t" in _load_all_float_registers() 38 "ldp q2, q3, [x0, #(16 * 2)]\n\t" in _load_all_float_registers() 39 "ldp q4, q5, [x0, #(16 * 4)]\n\t" in _load_all_float_registers() 40 "ldp q6, q7, [x0, #(16 * 6)]\n\t" in _load_all_float_registers() 41 "ldp q8, q9, [x0, #(16 * 8)]\n\t" in _load_all_float_registers() 42 "ldp q10, q11, [x0, #(16 * 10)]\n\t" in _load_all_float_registers() 43 "ldp q12, q13, [x0, #(16 * 12)]\n\t" in _load_all_float_registers() 44 "ldp q14, q15, [x0, #(16 * 14)]\n\t" in _load_all_float_registers() 45 "ldp q16, q17, [x0, #(16 * 16)]\n\t" in _load_all_float_registers() 46 "ldp q18, q19, [x0, #(16 * 18)]\n\t" in _load_all_float_registers() [all …]
|
/Zephyr-Core-3.7.0/subsys/bluetooth/controller/crypto/ |
D | crypto.c | 23 int bt_encrypt_le(const uint8_t key[16], const uint8_t plaintext[16], in bt_encrypt_le() argument 24 uint8_t enc_data[16]) in bt_encrypt_le() argument 26 LOG_DBG("key %s", bt_hex(key, 16)); in bt_encrypt_le() 27 LOG_DBG("plaintext %s", bt_hex(plaintext, 16)); in bt_encrypt_le() 31 LOG_DBG("enc_data %s", bt_hex(enc_data, 16)); in bt_encrypt_le() 36 int bt_encrypt_be(const uint8_t key[16], const uint8_t plaintext[16], in bt_encrypt_be() argument 37 uint8_t enc_data[16]) in bt_encrypt_be() argument 39 LOG_DBG("key %s", bt_hex(key, 16)); in bt_encrypt_be() 40 LOG_DBG("plaintext %s", bt_hex(plaintext, 16)); in bt_encrypt_be() 44 LOG_DBG("enc_data %s", bt_hex(enc_data, 16)); in bt_encrypt_be()
|
/Zephyr-Core-3.7.0/tests/net/lib/lwm2m/interop/pytest/ |
D | test_portfolio.py | 15 * Portfolio Object (ID 16) [1600-1699] 29 resp = leshan.discover(endpoint, '16/0') 30 expected_keys = ['/16/0', '/16/0/0'] 33 assert int(resp['/16/0/0']['dim']) == 4 38 assert leshan.create_obj_instance(endpoint, '16/1', resources)['status'] == 'CREATED(201)' 39 resp = leshan.discover(endpoint, '16/1') 40 assert int(resp['/16/1/0']['dim']) == 2 41 resp = leshan.read(endpoint, '16') 43 16: {0: {0: {0: 'Host Device ID #1', 51 shell.exec_command('lwm2m delete /16/1') [all …]
|
/Zephyr-Core-3.7.0/subsys/bluetooth/host/ |
D | crypto_psa.c | 58 int bt_encrypt_le(const uint8_t key[16], const uint8_t plaintext[16], in bt_encrypt_le() argument 59 uint8_t enc_data[16]) in bt_encrypt_le() argument 65 uint8_t tmp[16]; in bt_encrypt_le() 71 LOG_DBG("key %s", bt_hex(key, 16)); in bt_encrypt_le() 72 LOG_DBG("plaintext %s", bt_hex(plaintext, 16)); in bt_encrypt_le() 74 sys_memcpy_swap(tmp, key, 16); in bt_encrypt_le() 80 if (psa_import_key(&attr, tmp, 16, &key_id) != PSA_SUCCESS) { in bt_encrypt_le() 85 sys_memcpy_swap(tmp, plaintext, 16); in bt_encrypt_le() 87 status = psa_cipher_encrypt(key_id, PSA_ALG_ECB_NO_PADDING, tmp, 16, in bt_encrypt_le() 88 enc_data, 16, &out_len); in bt_encrypt_le() [all …]
|
D | aes_ccm.c | 41 static int ccm_calculate_X0(const uint8_t key[16], const uint8_t *aad, uint8_t aad_len, in ccm_calculate_X0() argument 42 size_t mic_size, uint16_t msg_len, uint8_t b[16], in ccm_calculate_X0() argument 43 uint8_t X0[16]) in ccm_calculate_X0() argument 67 while (aad_len > 16) { in ccm_calculate_X0() 71 } while (i < 16); in ccm_calculate_X0() 73 aad_len -= 16; in ccm_calculate_X0() 86 for (i = aad_len; i < 16; i++) { in ccm_calculate_X0() 99 static int ccm_auth(const uint8_t key[16], uint8_t nonce[13], in ccm_auth() argument 103 uint8_t b[16], Xn[16], s0[16]; in ccm_auth() 107 last_blk = msg_len % 16; in ccm_auth() [all …]
|
D | crypto_tc.c | 114 int bt_encrypt_le(const uint8_t key[16], const uint8_t plaintext[16], in bt_encrypt_le() argument 115 uint8_t enc_data[16]) in bt_encrypt_le() argument 118 uint8_t tmp[16]; in bt_encrypt_le() 124 LOG_DBG("key %s", bt_hex(key, 16)); in bt_encrypt_le() 125 LOG_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 LOG_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-3.7.0/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-3.7.0/subsys/mgmt/osdp/src/ |
D | osdp_sc.c | 16 static const uint8_t osdp_scbk_default[16] = { 40 for (i = 8; i < 16; i++) { in osdp_compute_scbk() 43 osdp_encrypt(master_key, NULL, scbk, 16); in osdp_compute_scbk() 50 uint8_t scbk[16]; in osdp_compute_session_keys() 53 memcpy(scbk, osdp_scbk_default, 16); in osdp_compute_session_keys() 58 memcpy(scbk, pd->sc.scbk, 16); in osdp_compute_session_keys() 62 memset(pd->sc.s_enc, 0, 16); in osdp_compute_session_keys() 63 memset(pd->sc.s_mac1, 0, 16); in osdp_compute_session_keys() 64 memset(pd->sc.s_mac2, 0, 16); in osdp_compute_session_keys() 79 osdp_encrypt(scbk, NULL, pd->sc.s_enc, 16); in osdp_compute_session_keys() [all …]
|
/Zephyr-Core-3.7.0/subsys/bluetooth/mesh/ |
D | crypto.h | 23 int bt_mesh_encrypt(const struct bt_mesh_key *key, const uint8_t plaintext[16], 24 uint8_t enc_data[16]); 35 uint8_t mac[16]); 37 int bt_mesh_aes_cmac_raw_key(const uint8_t key[16], struct bt_mesh_sg *sg, size_t sg_len, 38 uint8_t mac[16]); 43 int bt_mesh_s1(const char *m, size_t m_len, uint8_t salt[16]); 45 static inline int bt_mesh_s1_str(const char *m, uint8_t salt[16]) in bt_mesh_s1_str() argument 52 int bt_mesh_k1(const uint8_t *ikm, size_t ikm_len, const uint8_t salt[16], const char *info, 53 uint8_t okm[16]); 55 int bt_mesh_k2(const uint8_t n[16], const uint8_t *p, size_t p_len, uint8_t net_id[1], [all …]
|
D | keys.h | 18 int bt_mesh_key_import(enum bt_mesh_key_type type, const uint8_t in[16], struct bt_mesh_key *out); 19 int bt_mesh_key_export(uint8_t out[16], const struct bt_mesh_key *in); 22 int bt_mesh_key_compare(const uint8_t raw_key[16], const struct bt_mesh_key *mesh_key); 26 static inline int bt_mesh_key_import(enum bt_mesh_key_type type, const uint8_t in[16], in bt_mesh_key_import() argument 29 memcpy(out, in, 16); in bt_mesh_key_import() 33 static inline int bt_mesh_key_export(uint8_t out[16], const struct bt_mesh_key *in) in bt_mesh_key_export() argument 35 memcpy(out, in, 16); in bt_mesh_key_export() 49 static inline int bt_mesh_key_compare(const uint8_t raw_key[16], const struct bt_mesh_key *mesh_key) in bt_mesh_key_compare() argument 51 return memcmp(mesh_key, raw_key, 16); in bt_mesh_key_compare()
|
/Zephyr-Core-3.7.0/samples/boards/nrf/mesh/onoff_level_lighting_vnd_app/src/mesh/ |
D | publisher.c | 103 bt_mesh_model_msg_init(root_models[16].pub->msg, in publish() 106 net_buf_simple_add_le16(root_models[16].pub->msg, LEVEL_U25); in publish() 109 net_buf_simple_add_le16(root_models[16].pub->msg, 0x0320); in publish() 111 net_buf_simple_add_le16(root_models[16].pub->msg, 0x0000); in publish() 112 net_buf_simple_add_u8(root_models[16].pub->msg, tid++); in publish() 113 err = bt_mesh_model_publish(&root_models[16]); in publish() 115 bt_mesh_model_msg_init(root_models[16].pub->msg, in publish() 118 net_buf_simple_add_le16(root_models[16].pub->msg, LEVEL_U25); in publish() 121 net_buf_simple_add_le16(root_models[16].pub->msg, 0x0320); in publish() 123 net_buf_simple_add_le16(root_models[16].pub->msg, 0x0000); in publish() [all …]
|
/Zephyr-Core-3.7.0/dts/arm/ti/ |
D | cc32xx.dtsi | 19 /* which are offset by 16: */ 20 #define EXP_UARTA0 (INT_UARTA0 - 16) 21 #define EXP_UARTA1 (INT_UARTA1 - 16) 22 #define EXP_I2CA0 (INT_I2CA0 - 16) 23 #define EXP_ADCCH0 (INT_ADCCH0 - 16) 24 #define EXP_ADCCH1 (INT_ADCCH1 - 16) 25 #define EXP_ADCCH2 (INT_ADCCH2 - 16) 26 #define EXP_ADCCH3 (INT_ADCCH3 - 16) 27 #define EXP_WDT (INT_WDT - 16) 28 #define EXC_GPIOA0 0 /* (INT_GPIOA0 - 16) = (16-16) */ [all …]
|
/Zephyr-Core-3.7.0/tests/subsys/display/cfb/basic/src/ |
D | print_rectspace1016.c | 49 if (font_width == 10 && font_height == 16) { in cfb_test_before() 72 zassert_true(verify_image_and_bg(0, 0, rectspace1016, 10, 16, 0)); in ZTEST() 80 zassert_true(verify_image_and_bg(1, 1, rectspace1016, 10, 16, 0)); in ZTEST() 91 zassert_true(verify_image_and_bg(9, 15, rectspace1016, 10, 16, 0)); in ZTEST() 96 zassert_ok(cfb_print(dev, " ", 10, 16)); in ZTEST() 99 zassert_true(verify_image_and_bg(10, 16, rectspace1016, 10, 16, 0)); in ZTEST() 107 zassert_true(verify_image_and_bg(11, 17, rectspace1016, 10, 16, 0)); in ZTEST() 119 zassert_true(verify_image_and_bg(0, 0, kerning_3_2rectspace1016, 23, 16, 0)); in ZTEST() 128 zassert_true(verify_image_and_bg(1, 1, kerning_3_2rectspace1016, 23, 16, 0)); in ZTEST() 137 zassert_true(verify_image_and_bg(9, 15, kerning_3_2rectspace1016, 23, 16, 0)); in ZTEST() [all …]
|
D | draw_text_rectspace1016.c | 49 if (font_width == 10 && font_height == 16) { in cfb_test_before() 72 zassert_true(verify_image_and_bg(0, 0, rectspace1016, 10, 16, 0)); in ZTEST() 80 zassert_true(verify_image_and_bg(1, 1, rectspace1016, 10, 16, 0)); in ZTEST() 91 zassert_true(verify_image_and_bg(9, 15, rectspace1016, 10, 16, 0)); in ZTEST() 96 zassert_ok(cfb_draw_text(dev, " ", 10, 16)); in ZTEST() 99 zassert_true(verify_image_and_bg(10, 16, rectspace1016, 10, 16, 0)); in ZTEST() 107 zassert_true(verify_image_and_bg(11, 17, rectspace1016, 10, 16, 0)); in ZTEST() 119 zassert_true(verify_image_and_bg(0, 0, kerning_3_2rectspace1016, 23, 16, 0)); in ZTEST() 128 zassert_true(verify_image_and_bg(1, 1, kerning_3_2rectspace1016, 23, 16, 0)); in ZTEST() 137 zassert_true(verify_image_and_bg(9, 15, kerning_3_2rectspace1016, 23, 16, 0)); in ZTEST() [all …]
|
/Zephyr-Core-3.7.0/include/zephyr/dt-bindings/pinctrl/renesas/ |
D | pinctrl-r8a77951.h | 45 #define PIN_A16 RCAR_GP_PIN(1, 16) 105 #define PIN_SD3_DATA7 RCAR_GP_PIN(4, 16) 123 #define PIN_HRTS0 RCAR_GP_PIN(5, 16) 149 #define PIN_SSI_SDATA6 RCAR_GP_PIN(6, 16) 184 #define PIN_DU_DOTCLKIN0 RCAR_NOGP_PIN(16) 225 #define FUNC_AVB_AVTP_MATCH_A IPSR(0, 16, 0) 226 #define FUNC_MSIOF2_RXD_C IPSR(0, 16, 2) 227 #define FUNC_CTS4_N_A IPSR(0, 16, 3) 228 #define FUNC_FSCLKST2_N_A IPSR(0, 16, 5) 271 #define FUNC_PWM0 IPSR(1, 16, 0) [all …]
|
D | pinctrl-r8a77961.h | 46 #define PIN_A16 RCAR_GP_PIN(1, 16) 106 #define PIN_SD3_DATA7 RCAR_GP_PIN(4, 16) 124 #define PIN_HRTS0 RCAR_GP_PIN(5, 16) 150 #define PIN_SSI_SDATA6 RCAR_GP_PIN(6, 16) 185 #define PIN_DU_DOTCLKIN0 RCAR_NOGP_PIN(16) 226 #define FUNC_AVB_AVTP_MATCH_A IPSR(0, 16, 0) 227 #define FUNC_MSIOF2_RXD_C IPSR(0, 16, 2) 228 #define FUNC_CTS4_N_A IPSR(0, 16, 3) 270 #define FUNC_PWM0 IPSR(1, 16, 0) 271 #define FUNC_AVB_AVTP_PPS IPSR(1, 16, 1) [all …]
|
/Zephyr-Core-3.7.0/tests/bluetooth/bt_crypto/src/ |
D | test_bt_crypto.c | 34 uint8_t res[16]; in ZTEST() 37 zassert_mem_equal(res, exp_mac1, 16); in ZTEST() 39 bt_crypto_aes_cmac(key, M, 16, res); in ZTEST() 40 zassert_mem_equal(res, exp_mac2, 16); in ZTEST() 43 zassert_mem_equal(res, exp_mac3, 16); in ZTEST() 46 zassert_mem_equal(res, exp_mac4, 16); in ZTEST() 57 uint8_t x[16] = {0xab, 0xae, 0x2b, 0x71, 0xec, 0xb2, 0xff, 0xff, in ZTEST() 61 uint8_t exp_res[16] = {0x2d, 0x87, 0x74, 0xa9, 0xbe, 0xa1, 0xed, 0xf1, in ZTEST() 63 uint8_t res[16]; in ZTEST() 66 zassert_mem_equal(res, exp_res, 16); in ZTEST() [all …]
|
/Zephyr-Core-3.7.0/tests/bluetooth/host/crypto/bt_encrypt_be/src/ |
D | test_suite_invalid_inputs.c | 29 const uint8_t plaintext[16] = {0}; in ZTEST() 30 uint8_t enc_data[16] = {0}; in ZTEST() 48 const uint8_t key[16] = {0}; in ZTEST() 49 uint8_t enc_data[16] = {0}; in ZTEST() 67 const uint8_t key[16] = {0}; in ZTEST() 68 const uint8_t plaintext[16] = {0}; in ZTEST() 86 const uint8_t key[16] = {0}; in ZTEST() 87 const uint8_t plaintext[16] = {0}; in ZTEST() 88 uint8_t enc_data[16] = {0}; in ZTEST() 110 const uint8_t key[16] = {0}; in ZTEST() [all …]
|
/Zephyr-Core-3.7.0/tests/bluetooth/host/crypto/bt_encrypt_le/src/ |
D | test_suite_invalid_inputs.c | 29 const uint8_t plaintext[16] = {0}; in ZTEST() 30 uint8_t enc_data[16] = {0}; in ZTEST() 48 const uint8_t key[16] = {0}; in ZTEST() 49 uint8_t enc_data[16] = {0}; in ZTEST() 67 const uint8_t key[16] = {0}; in ZTEST() 68 const uint8_t plaintext[16] = {0}; in ZTEST() 86 const uint8_t key[16] = {0}; in ZTEST() 87 const uint8_t plaintext[16] = {0}; in ZTEST() 88 uint8_t enc_data[16] = {0}; in ZTEST() 110 const uint8_t key[16] = {0}; in ZTEST() [all …]
|
/Zephyr-Core-3.7.0/subsys/portability/cmsis_rtos_v2/ |
D | wrapper.h | 26 char name[16]; 36 char name[16]; 43 char name[16]; 49 char name[16]; 56 char name[16]; 63 char name[16]; 70 char name[16];
|
/Zephyr-Core-3.7.0/dts/bindings/display/ |
D | nxp,dcnano-lcdif.yaml | 27 - "16-bit-config1" # 16 bit configuration 1. RGB565: XXXXXXXX_RRRRRGGG_GGGBBBBB 28 - "16-bit-config2" # 16 bit configuration 2. RGB565: XXXRRRRR_XXGGGGGG_XXXBBBBB 29 - "16-bit-config3" # 16-bit configuration 3. RGB565: XXRRRRRX_XXGGGGGG_XXBBBBBX
|
/Zephyr-Core-3.7.0/samples/modules/cmsis_dsp/moving_average/ |
D | sample.yaml | 33 - "Input\\[16\\]: 7 8 9 10 11 12 13 14 15 16 | Output\\[16\\]: 11.50" 34 - "Input\\[17\\]: 8 9 10 11 12 13 14 15 16 17 | Output\\[17\\]: 12.50" 35 - "Input\\[18\\]: 9 10 11 12 13 14 15 16 17 18 | Output\\[18\\]: 13.50" 36 - "Input\\[19\\]: 10 11 12 13 14 15 16 17 18 19 | Output\\[19\\]: 14.50" 37 - "Input\\[20\\]: 11 12 13 14 15 16 17 18 19 20 | Output\\[20\\]: 15.50" 38 - "Input\\[21\\]: 12 13 14 15 16 17 18 19 20 21 | Output\\[21\\]: 16.50" 39 - "Input\\[22\\]: 13 14 15 16 17 18 19 20 21 22 | Output\\[22\\]: 17.50" 40 - "Input\\[23\\]: 14 15 16 17 18 19 20 21 22 23 | Output\\[23\\]: 18.50" 41 - "Input\\[24\\]: 15 16 17 18 19 20 21 22 23 24 | Output\\[24\\]: 19.50" 42 - "Input\\[25\\]: 16 17 18 19 20 21 22 23 24 25 | Output\\[25\\]: 20.50"
|
/Zephyr-Core-3.7.0/include/zephyr/sys/ |
D | crc.h | 73 * @brief Generic function for computing a CRC-16 without input or output 76 * Compute CRC-16 by passing in the address of the input, the input length 83 * @param poly The polynomial to use omitting the leading x^16 94 * @brief Generic function for computing a CRC-16 with input and output 97 * Compute CRC-16 by passing in the address of the input, the input length 108 * - CRC-16/ANSI, CRC-16/MODBUS, CRC-16/USB, CRC-16/IBM 109 * https://reveng.sourceforge.io/crc-catalogue/16.htm#crc.cat.crc-16-modbus 112 * @param poly The polynomial to use omitting the leading x^16 114 * use 0xA001 instead of 0x8005 for CRC-16-MODBUS. 152 * - CRC-16/CCITT, CRC-16/CCITT-TRUE, CRC-16/KERMIT [all …]
|