Home
last modified time | relevance | path

Searched refs:output_len (Results 1 – 9 of 9) sorted by relevance

/net-tools-3.5.0/mbedtls-2.4.0/library/
Dpkcs11.c135 size_t input_len, output_len; in mbedtls_pkcs11_decrypt() local
143 output_len = input_len = ctx->len; in mbedtls_pkcs11_decrypt()
150 input_len, NULL, &output_len ) != CKR_OK ) in mbedtls_pkcs11_decrypt()
155 if( output_len > output_max_len ) in mbedtls_pkcs11_decrypt()
159 input_len, output, &output_len ) != CKR_OK ) in mbedtls_pkcs11_decrypt()
163 *olen = output_len; in mbedtls_pkcs11_decrypt()
Dctr_drbg.c333 unsigned char *output, size_t output_len, in mbedtls_ctr_drbg_random_with_add() argument
344 if( output_len > MBEDTLS_CTR_DRBG_MAX_REQUEST ) in mbedtls_ctr_drbg_random_with_add()
367 while( output_len > 0 ) in mbedtls_ctr_drbg_random_with_add()
381 use_len = ( output_len > MBEDTLS_CTR_DRBG_BLOCKSIZE ) ? MBEDTLS_CTR_DRBG_BLOCKSIZE : in mbedtls_ctr_drbg_random_with_add()
382 output_len; in mbedtls_ctr_drbg_random_with_add()
388 output_len -= use_len; in mbedtls_ctr_drbg_random_with_add()
398 int mbedtls_ctr_drbg_random( void *p_rng, unsigned char *output, size_t output_len ) in mbedtls_ctr_drbg_random() argument
408 ret = mbedtls_ctr_drbg_random_with_add( ctx, output, output_len, NULL, 0 ); in mbedtls_ctr_drbg_random()
Dcipher.c459 static void add_pkcs_padding( unsigned char *output, size_t output_len, in add_pkcs_padding() argument
462 size_t padding_len = output_len - data_len; in add_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()
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()
546 output[output_len - 1] = (unsigned char) padding_len; in add_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()
/net-tools-3.5.0/mbedtls-2.4.0/include/mbedtls/
Dctr_drbg.h227 unsigned char *output, size_t output_len,
244 unsigned char *output, size_t output_len );
Dhmac_drbg.h233 unsigned char *output, size_t output_len,
/net-tools-3.5.0/mbedtls-2.4.0/programs/test/
Dselftest.c115 size_t output_len = 0; in create_entropy_seed_file() local
128 &output_len ); in create_entropy_seed_file()
132 if( MBEDTLS_ENTROPY_BLOCK_SIZE != output_len ) in create_entropy_seed_file()
/net-tools-3.5.0/mbedtls-2.4.0/tests/suites/
Dtest_suite_pkcs1_v15.function66 size_t output_len;
97 …kcs1_decrypt( &ctx, &rnd_pseudo_rand, &rnd_info, MBEDTLS_RSA_PRIVATE, &output_len, message_str, ou…
Dtest_suite_pkcs1_v21.function66 size_t output_len;
97 …kcs1_decrypt( &ctx, &rnd_pseudo_rand, &rnd_info, MBEDTLS_RSA_PRIVATE, &output_len, message_str, ou…
Dtest_suite_rsa.function327 size_t output_len;
356 output_len = 0;
358 …pkcs1_decrypt( &ctx, rnd_pseudo_rand, &rnd_info, MBEDTLS_RSA_PRIVATE, &output_len, message_str, ou…