Lines Matching refs:good
33 size_t good,
62 size_t good; in ssl3_cbc_remove_padding_and_mac() local
72 good = constant_time_ge_s(*reclen, padding_length + overhead); in ssl3_cbc_remove_padding_and_mac()
74 good &= constant_time_ge_s(block_size, padding_length + 1); in ssl3_cbc_remove_padding_and_mac()
75 *reclen -= good & (padding_length + 1); in ssl3_cbc_remove_padding_and_mac()
78 block_size, mac_size, good, libctx); in ssl3_cbc_remove_padding_and_mac()
107 size_t good = -1; in tls1_cbc_remove_padding_and_mac() local
129 good = constant_time_ge_s(*reclen, overhead + padding_length); in tls1_cbc_remove_padding_and_mac()
150 good &= ~(mask & (padding_length ^ b)); in tls1_cbc_remove_padding_and_mac()
157 good = constant_time_eq_s(0xff, good & 0xff); in tls1_cbc_remove_padding_and_mac()
158 *reclen -= good & (padding_length + 1); in tls1_cbc_remove_padding_and_mac()
162 block_size, mac_size, good, libctx); in tls1_cbc_remove_padding_and_mac()
189 size_t good, in ssl3_cbc_copy_mac() argument
223 if (good == 0) in ssl3_cbc_copy_mac()
288 out[j++] = constant_time_select_8((unsigned char)(good & 0xff), in ssl3_cbc_copy_mac()
304 out[i] = constant_time_select_8((unsigned char)(good & 0xff), out[i], in ssl3_cbc_copy_mac()