Lines Matching refs:data_len
460 size_t data_len ) in add_pkcs_padding() argument
462 size_t padding_len = output_len - data_len; in add_pkcs_padding()
466 output[data_len + i] = (unsigned char) padding_len; in add_pkcs_padding()
470 size_t *data_len ) in get_pkcs_padding() argument
475 if( NULL == input || NULL == data_len ) in get_pkcs_padding()
479 *data_len = input_len - padding_len; in get_pkcs_padding()
500 size_t output_len, size_t data_len ) in add_one_and_zeros_padding() argument
502 size_t padding_len = output_len - data_len; in add_one_and_zeros_padding()
505 output[data_len] = 0x80; in add_one_and_zeros_padding()
507 output[data_len + i] = 0x00; in add_one_and_zeros_padding()
511 size_t *data_len ) in get_one_and_zeros_padding() argument
516 if( NULL == input || NULL == data_len ) in get_one_and_zeros_padding()
520 *data_len = 0; in get_one_and_zeros_padding()
525 *data_len |= ( i - 1 ) * ( done != prev_done ); in get_one_and_zeros_padding()
539 size_t output_len, size_t data_len ) in add_zeros_and_len_padding() argument
541 size_t padding_len = output_len - data_len; in add_zeros_and_len_padding()
545 output[data_len + i - 1] = 0x00; in add_zeros_and_len_padding()
550 size_t *data_len ) in get_zeros_and_len_padding() argument
555 if( NULL == input || NULL == data_len ) in get_zeros_and_len_padding()
559 *data_len = input_len - padding_len; in get_zeros_and_len_padding()
579 size_t output_len, size_t data_len ) in add_zeros_padding() argument
583 for( i = data_len; i < output_len; i++ ) in add_zeros_padding()
588 size_t *data_len ) in get_zeros_padding() argument
593 if( NULL == input || NULL == data_len ) in get_zeros_padding()
596 *data_len = 0; in get_zeros_padding()
601 *data_len |= i * ( done != prev_done ); in get_zeros_padding()
615 size_t *data_len ) in get_no_padding() argument
617 if( NULL == input || NULL == data_len ) in get_no_padding()
620 *data_len = input_len; in get_no_padding()