def _get_output_stream_adapter(cc_primitive, aad, destination): """Implemented as a separate method to ensure correct error transform.""" return tink_bindings.new_cc_encrypting_stream( cc_primitive, aad, destination)
def _new_cc_encrypting_stream(cc_primitive, aad, destination): """Implemented as a separate function to ensure correct error transform.""" return tink_bindings.new_cc_encrypting_stream(cc_primitive, aad, destination)