Lines Matching refs:input_len
605 static int get_pkcs_padding( unsigned char *input, size_t input_len, in get_pkcs_padding() argument
614 padding_len = input[input_len - 1]; in get_pkcs_padding()
615 *data_len = input_len - padding_len; in get_pkcs_padding()
618 bad |= padding_len > input_len; in get_pkcs_padding()
623 pad_idx = input_len - padding_len; in get_pkcs_padding()
624 for( i = 0; i < input_len; i++ ) in get_pkcs_padding()
646 static int get_one_and_zeros_padding( unsigned char *input, size_t input_len, in get_one_and_zeros_padding() argument
657 for( i = input_len; i > 0; i-- ) in get_one_and_zeros_padding()
685 static int get_zeros_and_len_padding( unsigned char *input, size_t input_len, in get_zeros_and_len_padding() argument
694 padding_len = input[input_len - 1]; in get_zeros_and_len_padding()
695 *data_len = input_len - padding_len; in get_zeros_and_len_padding()
698 bad |= padding_len > input_len; in get_zeros_and_len_padding()
702 pad_idx = input_len - padding_len; in get_zeros_and_len_padding()
703 for( i = 0; i < input_len - 1; i++ ) in get_zeros_and_len_padding()
723 static int get_zeros_padding( unsigned char *input, size_t input_len, in get_zeros_padding() argument
733 for( i = input_len; i > 0; i-- ) in get_zeros_padding()
750 static int get_no_padding( unsigned char *input, size_t input_len, in get_no_padding() argument
756 *data_len = input_len; in get_no_padding()