Lines Matching refs:data_len
596 size_t data_len ) in add_pkcs_padding() argument
598 size_t padding_len = output_len - data_len; in add_pkcs_padding()
602 output[data_len + i] = (unsigned char) padding_len; in add_pkcs_padding()
606 size_t *data_len ) in get_pkcs_padding() argument
611 if( NULL == input || NULL == data_len ) in get_pkcs_padding()
615 *data_len = input_len - padding_len; in get_pkcs_padding()
636 size_t output_len, size_t data_len ) in add_one_and_zeros_padding() argument
638 size_t padding_len = output_len - data_len; in add_one_and_zeros_padding()
641 output[data_len] = 0x80; in add_one_and_zeros_padding()
643 output[data_len + i] = 0x00; in add_one_and_zeros_padding()
647 size_t *data_len ) in get_one_and_zeros_padding() argument
652 if( NULL == input || NULL == data_len ) in get_one_and_zeros_padding()
656 *data_len = 0; in get_one_and_zeros_padding()
661 *data_len |= ( i - 1 ) * ( done != prev_done ); in get_one_and_zeros_padding()
675 size_t output_len, size_t data_len ) in add_zeros_and_len_padding() argument
677 size_t padding_len = output_len - data_len; in add_zeros_and_len_padding()
681 output[data_len + i - 1] = 0x00; in add_zeros_and_len_padding()
686 size_t *data_len ) in get_zeros_and_len_padding() argument
691 if( NULL == input || NULL == data_len ) in get_zeros_and_len_padding()
695 *data_len = input_len - padding_len; in get_zeros_and_len_padding()
715 size_t output_len, size_t data_len ) in add_zeros_padding() argument
719 for( i = data_len; i < output_len; i++ ) in add_zeros_padding()
724 size_t *data_len ) in get_zeros_padding() argument
729 if( NULL == input || NULL == data_len ) in get_zeros_padding()
732 *data_len = 0; in get_zeros_padding()
737 *data_len |= i * ( done != prev_done ); in get_zeros_padding()
751 size_t *data_len ) in get_no_padding() argument
753 if( NULL == input || NULL == data_len ) in get_no_padding()
756 *data_len = input_len; in get_no_padding()