Home
last modified time | relevance | path

Searched refs:dec (Results 1 – 12 of 12) sorted by relevance

/Zephyr-latest/lib/utils/
Dhex.c61 uint8_t dec; in hex2bin() local
69 if (char2hex(hex[0], &dec) < 0) { in hex2bin()
72 buf[0] = dec; in hex2bin()
79 if (char2hex(hex[2U * i], &dec) < 0) { in hex2bin()
82 buf[i] = dec << 4; in hex2bin()
84 if (char2hex(hex[2U * i + 1U], &dec) < 0) { in hex2bin()
87 buf[i] += dec; in hex2bin()
DCMakeLists.txt6 dec.c
/Zephyr-latest/subsys/mgmt/mcumgr/util/include/mgmt/mcumgr/util/
Dzcbor_bulk.h35 #define ZCBOR_MAP_DECODE_KEY_DECODER(k, dec, vp) \ argument
41 .decoder = (zcbor_decoder_t *)dec, \
62 #define ZCBOR_MAP_DECODE_KEY_VAL(k, dec, vp) \ argument
63 ZCBOR_MAP_DECODE_KEY_DECODER(STRINGIFY(k), dec, vp)
/Zephyr-latest/subsys/net/l2/ieee802154/
Dieee802154_security.c59 sec_ctx->dec.mode_params.ccm_info.tag_len = authtag_len; in ieee802154_security_setup_session()
68 sec_ctx->dec.key.bit_stream = sec_ctx->key; in ieee802154_security_setup_session()
69 sec_ctx->dec.keylen = sec_ctx->key_len; in ieee802154_security_setup_session()
79 ret = cipher_begin_session(sec_ctx->dec.device, &sec_ctx->dec, CRYPTO_CIPHER_ALGO_AES, in ieee802154_security_setup_session()
98 cipher_free_session(sec_ctx->dec.device, &sec_ctx->dec); in ieee802154_security_teardown_session()
154 ret = cipher_ccm_op(&sec_ctx->dec, &apkt, nonce); in ieee802154_decrypt_auth()
214 (void)memset(&sec_ctx->dec, 0, sizeof(struct cipher_ctx)); in ieee802154_security_init()
222 sec_ctx->dec.flags = crypto_query_hwcaps(dev); in ieee802154_security_init()
225 sec_ctx->dec.mode_params.ccm_info.nonce_len = 13U; in ieee802154_security_init()
228 sec_ctx->dec.device = dev; in ieee802154_security_init()
/Zephyr-latest/tests/kconfig/functions/
DKconfig78 default $(dec, 1)
82 default "$(dec, 1, 1)"
86 default "$(dec, $(dec, 1, 1))"
/Zephyr-latest/tests/unit/util/
DCMakeLists.txt12 ${ZEPHYR_BASE}/lib/utils/dec.c
18 set_source_files_properties(main.c ${ZEPHYR_BASE}/lib/utils/dec.c PROPERTIES LANGUAGE CXX)
/Zephyr-latest/include/zephyr/usb/
Dusb_ch9.h274 #define USB_DEC_TO_BCD(dec) ((((dec) / 10) << 4) | ((dec) % 10)) argument
/Zephyr-latest/include/zephyr/net/
Dieee802154.h196 struct cipher_ctx dec; member
/Zephyr-latest/subsys/net/lib/zperf/
Dzperf_shell.c89 uint32_t dec, radix; in print_number() local
101 dec = (value % *divisor) * 100U / *divisor; in print_number()
103 (dec < 10) ? "0" : "", dec, *unit); in print_number()
114 uint32_t dec; in print_number_64() local
127 dec = (value % *divisor) * 100U / *divisor; in print_number_64()
129 (dec < 10) ? "0" : "", dec, *unit); in print_number_64()
141 long dec; in parse_number() local
144 dec = strtoul(string, &suffix, 10); in parse_number()
152 return (*divisor == 0U) ? dec : dec * *divisor; in parse_number()
/Zephyr-latest/doc/build/kconfig/
Dpreprocessor-functions.rst87 $(dec,<value>[,value]...)
/Zephyr-latest/modules/hostap/
DCMakeLists.txt268 ${HOSTAP_SRC_BASE}/crypto/aes-internal-dec.c
/Zephyr-latest/doc/releases/
Drelease-notes-3.1.rst1772 * :github:`43016` - Self inc/dec works incorrectly with logging API.