Searched refs:add_padding (Results 1 – 2 of 2) sorted by relevance
577 if( ( ctx->operation == MBEDTLS_DECRYPT && NULL != ctx->add_padding && in mbedtls_cipher_update()579 ( ctx->operation == MBEDTLS_DECRYPT && NULL == ctx->add_padding && in mbedtls_cipher_update()628 NULL != ctx->add_padding) in mbedtls_cipher_update()969 if( NULL == ctx->add_padding ) in mbedtls_cipher_finish()977 ctx->add_padding( ctx->unprocessed_data, mbedtls_cipher_get_iv_size( ctx ), in mbedtls_cipher_finish()986 if( NULL == ctx->add_padding && 0 == ctx->unprocessed_len ) in mbedtls_cipher_finish()1044 ctx->add_padding = add_pkcs_padding; in mbedtls_cipher_set_padding_mode()1050 ctx->add_padding = add_one_and_zeros_padding; in mbedtls_cipher_set_padding_mode()1056 ctx->add_padding = add_zeros_and_len_padding; in mbedtls_cipher_set_padding_mode()1062 ctx->add_padding = add_zeros_padding; in mbedtls_cipher_set_padding_mode()[all …]
327 void (*add_padding)( unsigned char *output, size_t olen, size_t data_len ); member