Home
last modified time | relevance | path

Searched refs:pad_len (Results 1 – 4 of 4) sorted by relevance

/Zephyr-Core-3.7.0/subsys/mgmt/osdp/src/
Dosdp_sc.c186 int i, pad_len; in osdp_encrypt_data() local
190 pad_len = AES_PAD_LEN(length + 1); in osdp_encrypt_data()
191 if ((pad_len - length - 1) > 0) { in osdp_encrypt_data()
192 memset(data + length + 1, 0, pad_len - length - 1); in osdp_encrypt_data()
199 osdp_encrypt(pd->sc.s_enc, iv, data, pad_len); in osdp_encrypt_data()
201 return pad_len; in osdp_encrypt_data()
207 int pad_len; in osdp_compute_mac() local
212 pad_len = (len % 16 == 0) ? len : AES_PAD_LEN(len); in osdp_compute_mac()
224 if (pad_len > 16) { in osdp_compute_mac()
226 osdp_encrypt(pd->sc.s_mac1, iv, buf, pad_len - 16); in osdp_compute_mac()
[all …]
/Zephyr-Core-3.7.0/tests/net/lib/http_server/hpack/src/
Dmain.c87 uint8_t pad_len = 32 - test_huffman_codes[index].bitlen; in test_huffman_code_prepare() local
93 *buf <<= pad_len; in test_huffman_code_prepare()
94 *buf |= (1UL << pad_len) - 1UL; in test_huffman_code_prepare()
/Zephyr-Core-3.7.0/soc/microchip/mec/common/spigen/
Dmec_spi_gen.py357 pad_len = 0
359 pad_len = PLD_GRANULARITY - (indata_len % PLD_GRANULARITY)
361 padding = PLD_PAD_BYTE * pad_len
364 indata_len += pad_len
/Zephyr-Core-3.7.0/lib/os/
Dcbprintf_complete.c1758 int pad_len = 0; in z_cbvprintf_impl() local
1827 pad_len = conv->pad0_value; in z_cbvprintf_impl()
1829 while (pad_len-- > 0) { in z_cbvprintf_impl()
1840 while (pad_len-- > 0) { in z_cbvprintf_impl()
1850 pad_len = conv->pad0_pre_exp; in z_cbvprintf_impl()
1851 while (pad_len-- > 0) { in z_cbvprintf_impl()
1865 pad_len = conv->pad0_value; in z_cbvprintf_impl()
1866 while (pad_len-- > 0) { in z_cbvprintf_impl()