Searched refs:input_len (Results 1 – 3 of 3) sorted by relevance
/net-tools-latest/mbedtls-2.4.0/library/ |
D | pkcs11.c | 135 size_t input_len, output_len; in mbedtls_pkcs11_decrypt() local 143 output_len = input_len = ctx->len; in mbedtls_pkcs11_decrypt() 145 if( input_len < 16 || input_len > output_max_len ) in mbedtls_pkcs11_decrypt() 150 input_len, NULL, &output_len ) != CKR_OK ) in mbedtls_pkcs11_decrypt() 159 input_len, output, &output_len ) != CKR_OK ) in mbedtls_pkcs11_decrypt()
|
D | cipher.c | 469 static int get_pkcs_padding( unsigned char *input, size_t input_len, in get_pkcs_padding() argument 478 padding_len = input[input_len - 1]; in get_pkcs_padding() 479 *data_len = input_len - padding_len; in get_pkcs_padding() 482 bad |= padding_len > input_len; in get_pkcs_padding() 487 pad_idx = input_len - padding_len; in get_pkcs_padding() 488 for( i = 0; i < input_len; i++ ) in get_pkcs_padding() 510 static int get_one_and_zeros_padding( unsigned char *input, size_t input_len, in get_one_and_zeros_padding() argument 521 for( i = input_len; i > 0; i-- ) in get_one_and_zeros_padding() 549 static int get_zeros_and_len_padding( unsigned char *input, size_t input_len, in get_zeros_and_len_padding() argument 558 padding_len = input[input_len - 1]; in get_zeros_and_len_padding() [all …]
|
/net-tools-latest/mbedtls-2.4.0/tests/suites/ |
D | test_suite_mpi.function | 62 size_t input_len; 66 input_len = unhexify( buf, input_X ); 68 TEST_ASSERT( mbedtls_mpi_read_binary( &X, buf, input_len ) == 0 );
|