Lines Matching refs:add_padding
590 if( ( ctx->operation == MBEDTLS_DECRYPT && NULL != ctx->add_padding && in mbedtls_cipher_update()
592 ( ctx->operation == MBEDTLS_DECRYPT && NULL == ctx->add_padding && in mbedtls_cipher_update()
641 NULL != ctx->add_padding) in mbedtls_cipher_update()
980 if( NULL == ctx->add_padding ) in mbedtls_cipher_finish()
988 ctx->add_padding( ctx->unprocessed_data, mbedtls_cipher_get_iv_size( ctx ), in mbedtls_cipher_finish()
997 if( NULL == ctx->add_padding && 0 == ctx->unprocessed_len ) in mbedtls_cipher_finish()
1053 ctx->add_padding = add_pkcs_padding; in mbedtls_cipher_set_padding_mode()
1059 ctx->add_padding = add_one_and_zeros_padding; in mbedtls_cipher_set_padding_mode()
1065 ctx->add_padding = add_zeros_and_len_padding; in mbedtls_cipher_set_padding_mode()
1071 ctx->add_padding = add_zeros_padding; in mbedtls_cipher_set_padding_mode()
1076 ctx->add_padding = NULL; in mbedtls_cipher_set_padding_mode()