Searched refs:pad_len (Results 1 – 4 of 4) sorted by relevance
186 int i, pad_len; in osdp_encrypt_data() local190 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() local212 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 …]
87 uint8_t pad_len = 32 - test_huffman_codes[index].bitlen; in test_huffman_code_prepare() local93 *buf <<= pad_len; in test_huffman_code_prepare()94 *buf |= (1UL << pad_len) - 1UL; in test_huffman_code_prepare()
357 pad_len = 0359 pad_len = PLD_GRANULARITY - (indata_len % PLD_GRANULARITY)361 padding = PLD_PAD_BYTE * pad_len364 indata_len += pad_len
1758 int pad_len = 0; in z_cbvprintf_impl() local1827 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()